Skip to content

Instantly share code, notes, and snippets.

View thomd's full-sized avatar

Thomas Dürr thomd

  • Hamburg, Germany
View GitHub Profile
@thomd
thomd / Jenkinsfile
Last active November 18, 2022 13:01 — forked from merikan/Jenkinsfile
List of Jenkinsfile examples #list #jenkins
Some Jenkinsfile examples
@thomd
thomd / Course-Kubernetes-Commands-and-YAML.txt
Created August 1, 2021 21:33 — forked from bugcy013/Course-Kubernetes-Commands-and-YAML.txt
Course-Kubernetes-Commands-and-YAML.txt
1.a- kubectl run
kubectl get pods
kubectl run first-deployment --image=nginx
kubectl get pods
(maybe one more time to show the state changed from container creation to Running)
(copy the pod name from get pods)
kubectl exec -it pod-name -- /bin/bash
echo Hello nginx! > /usr/share/nginx/html/index.html
apt-get update