Skip to content

Commit

Permalink
add coredns-extensions-0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c…
Browse files Browse the repository at this point in the history
….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
catalogbot committed Jan 29, 2025
1 parent 4476150 commit f18c1df
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-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
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 @@ -4364,6 +4364,24 @@ entries:
urls:
- https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.1-b275579d499bdf65f1921795abf71066e1854c92.tgz
version: 0.1.1-b275579d499bdf65f1921795abf71066e1854c92
- 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
apiVersion: v2
appVersion: 0.0.1
created: "2025-01-29T08:51:04.7087694Z"
description: Extra resources for CoreDNS
digest: 69a968b951142f166c5e26bdcb2758884fcba701aaac81798d2664d4e5012036
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-89a50729b962e62aaa17c7a3754595335dc45c7c.tgz
version: 0.1.1-89a50729b962e62aaa17c7a3754595335dc45c7c
- annotations:
application.giantswarm.io/metadata: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.0-fe930977aa2517a0446cce1a89e3f915ba491c27.tgz-meta/main.yaml
application.giantswarm.io/readme: https://giantswarm.github.io/giantswarm-test-catalog/coredns-extensions-0.1.0-fe930977aa2517a0446cce1a89e3f915ba491c27.tgz-meta/README.md
Expand Down Expand Up @@ -21673,4 +21691,4 @@ entries:
urls:
- https://giantswarm.github.io/giantswarm-test-catalog/zot-2.0.1-0e14abfd878d83639c1853526778e188e9110c5d.tgz
version: 2.0.1-0e14abfd878d83639c1853526778e188e9110c5d
generated: "2025-01-29T08:50:52.800586469Z"
generated: "2025-01-29T08:51:04.708130503Z"

0 comments on commit f18c1df

Please sign in to comment.