https://github.com/stackworx/charts
https://github.com/stackworx/charts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stackworx/charts
- Owner: stackworx
- Created: 2018-02-15T18:39:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T10:08:56.000Z (over 3 years ago)
- Last Synced: 2025-01-17T12:40:00.755Z (over 1 year ago)
- Language: Mustache
- Size: 906 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Read Me
## Deployment
After making any changes to the repo run `./scripts/update.sh` and then push the changes
Any changes should include a chart version bump
## Sample Chart
Sample `requirements.yaml`.
## Debugging Chart
helm install ./ --name debug --dry-run --debug --namespace default > debug.yaml
This contains a frontend, backend, scheduler, postgres database and redis instance
dependencies:
- name: app
version: "0.1.0"
repository: "https://raw.githubusercontent.com/stackworx/charts/master"
alias: app-backend
- name: app
version: "0.1.0"
repository: "https://raw.githubusercontent.com/stackworx/charts/master"
alias: app-frontend
- name: app
version: "0.1.0"
repository: "https://raw.githubusercontent.com/stackworx/charts/master"
alias: app-scheduler
- name: redis
version: "3.3.2"
repository: "https://kubernetes-charts.storage.googleapis.com"
- name: postgresql
version: "0.13.1"
repository: "https://kubernetes-charts.storage.googleapis.com"
Sample `values.yaml`
app-backend:
image:
repository: registry.gitlab.com/stackworx.io/
tag: develop
pullPolicy: IfNotPresent
imageCredentials:
registry: registry.gitlab.com
service:
enabled: true
type: ClusterIP
externalPort: 80
internalPort: 80
ingress:
enabled: true
hosts:
-
annotations:
kubernetes.io/ingress.class: traefik
resources: {}
probes: {
enabled: true,
liveness: {
path: /health
},
readiness: {
path: /health
}
}
migration:
enabled: true
# If custom image is required
# image: ""
command: ['yarn']
args: ['migrate']
env: {}
nodeSelector:
type: apps
app-scheduler:
image:
repository: registry.gitlab.com/stackworx.io/
tag: develop
pullPolicy: IfNotPresent
imageCredentials:
registry: registry.gitlab.com
service:
enabled: false
ingress:
enabled: false
resources: {}
probes: {
enabled: false
}
env: {}
nodeSelector:
type: apps
app-frontend:
image:
repository: registry.gitlab.com/stackworx.io/
tag: develop
pullPolicy: IfNotPresent
imageCredentials:
registry: registry.gitlab.com
service:
enabled: true
type: ClusterIP
externalPort: 80
internalPort: 80
ingress:
enabled: true
hosts:
-
annotations:
kubernetes.io/ingress.class: traefik
resources: {}
env: {}
nodeSelector:
type: apps
postgresql:
imageTag: 9.6.2
postgresUser: postgres
postgresDatabase: postgres
postgresInitdbArgs: --data-checksums
persistence:
size: 2Gi
metrics:
enabled: true
nodeSelector:
type: apps
redis:
tag: 4.0.6-r1
# TODO enable password
usePassword: false
persistence:
size: 1Gi
metrics:
enabled: true
nodeSelector:
type: apps
When the values.yaml set is finished run the following command:
helm install ./ --namespace --name