Kubernetes Basic Lohika Course
Create a secret imperatively:
kubectl create secret generic my-creds --from-literal='username=msashkin' --from-literal='password=P@ssw0rd'
Create a configmap imperatively:
kubectl create configmap my-configmap-v1 --from-file=configmaps/v1/
Apply all resources from folder:
kubectl apply -f ./
Delete all resources from folder:
kubectl delete -f ./