Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 883 Bytes

kuard-comprehensive-example.md

File metadata and controls

45 lines (31 loc) · 883 Bytes

Kubernetes Up and Running Daemon - Complex example

Create the PVC

kubectl apply -f comprehensive/pvc.yaml

Create the ConfigMap (File)

kubectl create configmap kuard-config-file --from-file=comprehensive/kuard-config.json
kubectl describe configmap kuard-config-file

Create the ConfigMap (EnvVar)

kubectl apply -f comprehensive/configmap-env.yaml

Create the Secret

kubectl create secret generic kuard-secret --from-file=comprehensive/kuard-secret.json
kubectl describe secret kuard-secret

Create the Deployment

kubectl apply -f comprehensive/deployment.yaml

Create the Service

kubectl apply -f comprehensive/service.yaml

Cleanup

kubectl delete service/kuard pvc/kuard configmap/kuard-config-env configmap/kuard-config-file secret/kuard-secret deploy/kuard