kubernetes run a shell within a container in a pod

  Рет қаралды 6,238

SMAC Academy

SMAC Academy

Күн бұрын

Create a pod with single container and run a shell within that container to install curl packages and update the content when the container was running.
Command used:
kubectl apply -f k8s.io/example...
kubectl get pod shell-demo
kubectl exec --stdin --tty shell-demo -- /bin/bash
echo 'Hello shell demo' _ /usr/share/nginx/html/index.html
cat /usr/share/nginx/html/index.html
apt-get update
apt-get install curl
curl localhost/

Пікірлер: 2
Kubernetes kubectl watch command
1:51
SMAC Academy
Рет қаралды 2,5 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 21 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 137 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 119 МЛН
[ Kube 11 ] Jobs & Cronjobs in Kubernetes Cluster
36:36
Just me and Opensource
Рет қаралды 41 М.
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 183 М.
Never install locally
5:45
Coderized
Рет қаралды 1,8 МЛН
10 Must-Have Kubernetes Tools
18:53
DevOps Toolkit
Рет қаралды 39 М.
Easy K3s Kubernetes tools WITH K3sup and Kube-VIP
14:40
VirtualizationHowto
Рет қаралды 9 М.
Using Rancher For Creating And Managing Kubernetes Clusters
27:29
DevOps Toolkit
Рет қаралды 62 М.
Xargs Should Be In Your Command Line Toolbag
16:24
DistroTube
Рет қаралды 99 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 298 М.
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН