Nginx – How to pass environment variables to kubectl create deployment command?
How to pass environment variables to kubectl create deployment command? I'm trying to pass environment variable to kubectl create deployment command with below syntax kubectl create deployment nginx-deployment --replicas=2 --env="HOSTNAME=dev.example.com" --env="KEY=randomkey1456" --env="PORT_NUMBER=5601" --image=nginx It's throwing below error message saying --env…