https://kubernetes.io/docs/home/
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
- VS Code Plugins:
- vscode-helm
- helm extras
- docker
- aws toolkit
cd config
kubectl create configmap --from-file=app.properties file-conf --dry-run=client -o yaml >> file-conf.yaml
kubectl create configmap env-conf --from-literal=OS_VAR=VALUE --dry-run=client -o yaml >> env-conf.yaml
kubectl create secret generic --from-file=secretfile.yaml=app.yaml --dry-run=client -o yaml >> secret-file.yaml
kubectl create secret generic env-conf --from-literal=OS_VAR=VALUE --dry-run=client -o yaml >> secret-env.yaml
kubectl create secret docker-registry my-secret --docker-server=DOCKER_REGISTRY_SERVER --docker-username=DOCKER_USER --docker-password=DOCKER_PASSWORD --docker-email=DOCKER_EMAIL --dry-run=client -o yaml >> docker-secret.yaml
kubectl create deployment --dry-run=client --image=nginx:stable test -o yaml
kubectl create cronjob my-job --image=busybox --schedule="*/1 * * * *" -- date
kubectl create service clusterip cluster-service --tcp=8080:80 --dry-run=client -o yaml >> clusterService.yaml
kubectl create service nodeport nodeport-service --tcp=8080:80 --node-port=31000 --dry-run=client -o yaml >> nodeportService.yaml
helm create <FolderName>
helm create example
helm upgrade --install --dry-run <ReleaseName> -f values.yaml -f values-<env>.yaml ./
# Usefull command for generating the structure to know if there isnt any syntax error or missplacement
helm template --debug