Created
June 1, 2025 12:26
-
-
Save tomaszprasolek/057fa5b80a6ed255fb6eb1fea9910510 to your computer and use it in GitHub Desktop.
kubectl commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl config get-contexts | |
kubectl config use-context aks_asadfs_tst | |
----------------------------------------------------------- | |
kubectl get svc | |
kubectl get pods | |
kubectl port-forward svc/asai-template 8888:80 | |
kubectl logs asai-template-d6d74fc89-z8pn9 | |
kubectl delete pod minio-8cd95f466-6r65g | |
----------------------------------------------------------- | |
Workloads >> deployments >> asai-custmer >> scale >> 1 | |
workload >> pods >> asai-customer >> terminal | |
kubectl edit deploy asai-customer | |
----------------------------------------------------------- | |
to zaciągnie na serwer curla (a jak wyjdziesz z kontenera, to go usunie) | |
kubectl run -it --rm curl --image=curlimages/curl --restart=Never -- /bin/sh | |
curl http://transact-web.t24.test.asa-international.com/BrowserWeb/servlet/BrowserServlet | |
curl -I http://10.25.0.4:9091/ASAICustomer/api/v1.0.0/party/asai/cust/details?mobileNumber=147147 | |
curl -v https://selfie.imsgh.org:2035/skyface/ | |
------------------------------------------------------------- | |
kubectl config set-context --current --namespace=default | |
----------------------------------------------------------- | |
kubectl cp ./create-topics-for-DFS.sh kafka-0:/opt/bitnami/kafka/bin | |
chmod +x create-topics-for-DFS.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment