Skip to content

Working with Kubernetes on miniKube - scripts and configs of various Kubernetes objects including pods, deployments, services, clusterIP, ingress, Persistent volume claim among others

myrachanto/kubernetes-scripts-and-configurations

Repository files navigation

kubernetes scripts and configurations

apply changes to minicube

kubectl apply -f

applying a single file to minikube

kubectl apply -f <filename.yaml>

to check for deploments in the minikube

kubectl get deplopments

to check serives

kubectl get services

to check pods

kubectl get pods

createing secretes in k8s -password

kubectl create secret generic pgpassword --from-literal PGPASSWORD=chantos7

verify if the secrets are saved

kubectl get secrets

to delete a config

kubectl delete -f <filename.yaml>

to delete a deployment

kubectl delete deployment

to delete a service

kubectl delete service

to update a deployment

first tag the new image and push it to docker hub the use the new inage with the tag

kubectl set image deployment/client-deployment client=myrachanto/ddd:v5

About

Working with Kubernetes on miniKube - scripts and configs of various Kubernetes objects including pods, deployments, services, clusterIP, ingress, Persistent volume claim among others

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published