Question: Deploy voting app on Kubernetes
please read your question details carefully
Sample Answer:
#To create the deployments, and services it's a good practice to create the YAML file using the given details in the question.
check below github link for the sample deployments and services yaml files for this task.
#please note that I have created separate files for each steps for better understand and learning but these can be done via a single YAML file.
#hope you prepared the YAML file from the above steps NOW let's do the task
#create the namespace
kubectl create ns <namespace name from your question>
#deploy the yaml file one by one to create the pods and services
kubectl apply -f <filename> -n < namespace_name>
Note: Commands are correct but based on your question the server, user name, and other details might differ, so please do check.
*Please comment on this post if you have any questions or facing any issues in the above steps, also provide your feedback in the comments :)
check below video too for how to do the task (i have done a sample task on Ubuntu OS)
@Hemapriya
ReplyDeleteThank you for your comments.
Please Do check below channel and give your support.
https://www.youtube.com/channel/UCR-Y4S4fIFe4FedFwDDUIag