Skip to content

Commit

Permalink
add coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812…
Browse files Browse the repository at this point in the history
….tgz

coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/README.md
coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/main.yaml
coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/values.schema.json
  • Loading branch information
catalogbot committed Jan 29, 2025
1 parent 070b85a commit 4476150
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 1 deletion.
Binary file not shown.
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
```
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-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.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-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/values.schema.json
chartApiVersion: v2
chartFile: coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz
dateCreated: '2025-01-29T08:50:42.411646Z'
digest: 6a4eba6be4944ca7befc4d7ac53f339ce4091bbf47a8b24ca6f2f37cdf09214e
home: https://github.com/giantswarm/coredns-extensions-app
icon: https://s.giantswarm.io/app-icons/coredns/1/dark.svg
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"
}
}
}
}
}
}
}
20 changes: 19 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4328,6 +4328,24 @@ entries:
urls:
- https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-d0e98bcc7260bbfc2c85a34326c368bf95823661.tgz
version: 0.1.1-d0e98bcc7260bbfc2c85a34326c368bf95823661
- annotations:
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.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-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz-meta/values.schema.json
apiVersion: v2
appVersion: 0.0.1
created: "2025-01-29T08:50:52.801202801Z"
description: Extra resources for CoreDNS
digest: 6a4eba6be4944ca7befc4d7ac53f339ce4091bbf47a8b24ca6f2f37cdf09214e
home: https://github.com/giantswarm/coredns-extensions-app
icon: https://s.giantswarm.io/app-icons/coredns/1/dark.svg
name: coredns-extensions
sources:
- https://github.com/giantswarm/coredns-extensions-app
urls:
- https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812.tgz
version: 0.1.1-b2eb13cf5c3640634ee340449611aa44e5db5812
- annotations:
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b275579d499bdf65f1921795abf71066e1854c92.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b275579d499bdf65f1921795abf71066e1854c92.tgz-meta/README.md
Expand Down Expand Up @@ -21655,4 +21673,4 @@ entries:
urls:
- https://giantswarm.github.io/giantswarm-test-catalog/zot-2.0.1-0e14abfd878d83639c1853526778e188e9110c5d.tgz
version: 2.0.1-0e14abfd878d83639c1853526778e188e9110c5d
generated: "2025-01-29T07:10:35.232212818Z"
generated: "2025-01-29T08:50:52.800586469Z"

0 comments on commit 4476150

Please sign in to comment.