i have a shopping card app with server and client side and i want to deploy it using Minikube and Kubernetes
should we create two Yaml files for the server and the client or not ?
any ideas guys on how to create the Yaml files.
1 Answer
one for server and one for client
simple path
k8s
-values_production.yaml for production server
-value_staging.yaml for staging server
thats all
in yaml files you should store enviroment variables and parse them by prefixes it's most simple way
4 Comments
hajji
and how can i specify the yaml file for the client and the server ?
frankegoesdown
one folder with k8s on client and one folder on server deploy them not together
hajji
I am new in deployment and using yaml... how to create it ?
frankegoesdown
@hajji just read the documents kubernetes.io/docs/concepts/workloads/controllers/deployment