https://github.com/tareqmonwer/nm-k8s
https://github.com/tareqmonwer/nm-k8s
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tareqmonwer/nm-k8s
- Owner: TareqMonwer
- Created: 2024-02-29T18:15:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T18:22:51.000Z (over 1 year ago)
- Last Synced: 2025-01-26T13:43:59.420Z (5 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
+ `kubectl config get-contexts` - to check all available contexts
+ `kubectl config use-context docker-desktop` - to switch to expected context
+ `kubectl apply -f platforms-depl.yaml` - create deployment (start containers)
+ `kubectl get deployments` - show deployment list
+ `kubectl get pods` - show pods
+ `kubectl delete deployment platforms-depl` - delete deployment (stop all containers)
+ `kubectl apply -f platforms-nodeport-srvc.yaml` - route external traffic on NodePort to the pods running the
platformservice Deployment on port 80.
+ `kubectl get services` - show services and returned ports.
+ `kubectl delete service platformsnodportservice` - delete deployment (stop all containers)