Closed quantum-fusion closed 6 years ago
The problem:
Docker arguments will pass from command line:
Reference Kubernetes specification (https://github.com/kubernetes/website/issues/6615)
docker run -it -p 8080:8080 joethecoder2/spring-boot-web -Dcassandra_ip=127.0.0.1 -Dcassandra_port=9042
However, Kubernetes POD arguments will not pass from singlePod.yaml file, when I do: kubectl create -f ./singlePod.yaml
apiVersion: v1 kind: Pod metadata: name: spring-boot-web-demo labels: purpose: demonstrate-spring-boot-web spec: containers:
Google states that Pods do not support argument configuration.
The problem:
Docker arguments will pass from command line:
Reference Kubernetes specification (https://github.com/kubernetes/website/issues/6615)
docker run -it -p 8080:8080 joethecoder2/spring-boot-web -Dcassandra_ip=127.0.0.1 -Dcassandra_port=9042
However, Kubernetes POD arguments will not pass from singlePod.yaml file, when I do: kubectl create -f ./singlePod.yaml
apiVersion: v1 kind: Pod metadata: name: spring-boot-web-demo labels: purpose: demonstrate-spring-boot-web spec: containers: