-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c…
….tgz coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/README.md coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/main.yaml coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/values.schema.json
- Loading branch information
1 parent
4476150
commit f18c1df
Showing
5 changed files
with
144 additions
and
1 deletion.
There are no files selected for viewing
Binary file added
BIN
+1.51 KB
coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz
Binary file not shown.
74 changes: 74 additions & 0 deletions
74
...ns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/giantswarm/coredns-extensions-app/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/giantswarm/coredns-extensions-app/tree/main) | ||
|
||
# coredns-extensions chart | ||
|
||
Giant Swarm offers a coredns-extensions App which can be installed in workload clusters. | ||
Here, we define the coredns-extensions chart with its templates and default configuration. | ||
|
||
**What is this app?** | ||
|
||
The app provides complementary resources to the [coredns-app](https://github.com/giantswarm/coredns-app) such as VerticalPodAutoscaler CR. | ||
|
||
## Installing | ||
|
||
There are several ways to install this app onto a workload cluster. | ||
|
||
- [Using GitOps to instantiate the App](https://docs.giantswarm.io/tutorials/continuous-deployment/apps/add-appcr/) | ||
- By creating an [App resource](https://docs.giantswarm.io/reference/platform-api/crd/apps.application.giantswarm.io) using the platform API as explained in [Getting started with App Platform](https://docs.giantswarm.io/tutorials/fleet-management/app-platform/). | ||
|
||
## Configuring | ||
|
||
### values.yaml | ||
|
||
**This is an example of a values file you could upload using our web interface.** | ||
|
||
```yaml | ||
# values.yaml | ||
|
||
vpa: | ||
maxAllowed: | ||
Cpu: 2 | ||
Memory: 1Gb | ||
|
||
``` | ||
|
||
### Sample App CR for the management cluster | ||
|
||
If you have access to the Kubernetes API on the management cluster, you could create the App CR directly. | ||
|
||
Here is an example that would install the app to workload cluster `abc12`: | ||
|
||
```yaml | ||
# appCR.yaml | ||
|
||
apiVersion: application.giantswarm.io/v1alpha1 | ||
kind: App | ||
metadata: | ||
labels: | ||
giantswarm.io/cluster: <cluster_id> | ||
name: <cluster_id>-coredns-extensions | ||
namespace: <org_namespace> | ||
spec: | ||
catalog: giantswarm-playground | ||
kubeConfig: | ||
inCluster: false | ||
name: coredns-extensions | ||
namespace: kube-system | ||
version: "0.1.0" | ||
``` | ||
See our [full reference on how to configure apps](https://docs.giantswarm.io/tutorials/fleet-management/app-platform/app-configuration/) for more details. | ||
## Limitations | ||
This app requires disabling the HorizontalPodAutoscaler memory target of CoreDNS. Add this block to your cluster userconfig before installing it: | ||
```yaml | ||
global: | ||
apps: | ||
coreDns: | ||
values: | ||
hpa: | ||
targetMemoryUtilizationPercentage: 0 | ||
``` | ||
11 changes: 11 additions & 0 deletions
11
coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/main.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
annotations: | ||
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/main.yaml | ||
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/README.md | ||
application.giantswarm.io/team: cabbage | ||
application.giantswarm.io/values-schema: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/values.schema.json | ||
chartApiVersion: v2 | ||
chartFile: coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz | ||
dateCreated: '2025-01-29T08:50:59.362202Z' | ||
digest: 69a968b951142f166c5e26bdcb2758884fcba701aaac81798d2664d4e5012036 | ||
home: https://github.com/giantswarm/coredns-extensions-app | ||
icon: https://s.giantswarm.io/app-icons/coredns/1/dark.svg |
40 changes: 40 additions & 0 deletions
40
...dns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz-meta/values.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "http://json-schema.org/schema#", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"serviceType": { | ||
"type": "string" | ||
}, | ||
"vpa": { | ||
"type": "object", | ||
"properties": { | ||
"controlledResources": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"enabled": { | ||
"type": "boolean" | ||
}, | ||
"maxAllowed": { | ||
"type": "object" | ||
}, | ||
"minAllowed": { | ||
"type": "object", | ||
"properties": { | ||
"Cpu": { | ||
"type": "string" | ||
}, | ||
"Memory": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters