Example k8s Commands
Example k8s Commands
RELEASE
kubectl get rs
kubectl get rs -o wide
kubectl set image deployment hello-world-rest-api hello-world-rest-
api=DUMMY_IMAGE:TEST
kubectl get rs -o wide
kubectl get pods
kubectl describe pod hello-world-rest-api-85995ddd5c-msjsm
kubectl get events --sort-by=.metadata.creationTimestamp
kubectl get ns
kubectl get nodes
kubectl get no
kubectl get po
docker-compose --version
docker-compose up
apiVersion: v1
data:
RDS_DB_NAME: todos
RDS_HOSTNAME: mysql
RDS_PORT: "3306"
RDS_USERNAME: todos-user
kind: ConfigMap
metadata:
name: todo-web-application-config
namespace: default
cd /in28Minutes/git/kubernetes-crash-course/04-currency-exchange-microservice-basic
mvn clean install
docker push in28min/currency-exchange:0.0.1-RELEASE
kubectl apply -f deployment.yaml
curl 34.67.103.178:8000/currency-exchange/from/USD/to/INR