The Kubernetes Service Orchestrator (KSO) is a powerful service deployment solution. This service enables interaction with the Kubernetes API and facilitates the effortless deployment of other services within a Kubernetes cluster.
- Automated deployment of services in Kubernetes clusters.
- User-friendly Vue-based interface for easy configuration and monitoring.
- Handling of Kubernetes API calls and resource management.
- Option for custom configurations and adaptations.
For a complete set of options see link
ingress:
className: nginx
enabled: true
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: chart-example-tls
hosts:
- chart-example.local
deployment:
# Valid values: development, production
environment: ""
# You need to provide a MySQL database
database:
host: ""
name: ""
user: ""
pass: ""
# The default url is "https://kubernetes.default.svc.cluster.local".
# But it can be different depending on provider
kubernetes:
remoteClusterUrl: "https://kubernetes.default.svc.cluster.local"
config:
defaults:
imagePullSecretName: ""
certManagerIssuerName: ""
# Enable email features. Used for "forgot password". This is optional.
# email:
# host: ""
# port: ""
# user: ""
# pass: ""
# sender: ""
env: [ ]
# env:
# - name: ""
# value: ""
resources:
limits:
cpu: 500m
memory: 896Mi
requests:
cpu: 100m
memory: 128Mi
helm upgrade --install kso 4spacesdk/kso --values=values.yaml --namespace kso --create-namespace
helm repo update
helm upgrade --install kso 4spacesdk/kso --values=values.yaml --namespace kso
helm delete kso
Deploying with helm will automatically start a migration job. A init container is added to wait for the migration to finish.
- Run database migration from inside a pod:
cd /var/www/html/ci4 && php spark migrate
- If you have multiple pods running this application, you need to clear ORM cache in every pod
cd /var/www/html/ci4 && php spark orm:clear:cache