

Untitled Lesson
Presentation
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Alex Ewings
FREE Resource
12 Slides • 8 Questions
1
TKG Secrets Review
Where to find secrets
& how to login to the nodes that contain them
Recap of Franklyns workshop on Secrets
2
Multiple Choice
What node(s) do you want to retrieve the secret/password for,
so that you can ultimately look at logs pertaining to the problematic apps that your kubernetes environment is running ?
Controlplane Node
Worker Node
Both
3
What node do you ultimately want to retrieve the secret/password for, so that you can look at logs pertaining to problematic apps your kubernetes environment is running ?
Both the supervisor control plane node and the worker nodes secrets need to be retrieved for you to ultimately get the logs
4
Whats the process of getting those secrets
Which of the following is the correct 1st step ?
SSH into the control plane node
SSH into vSphere
SSH into the worker node
5
Multiple Choice
Which of the following is the correct 1st step ?
SSH into the control plane node
SSH into vSphere
SSH into a worker node
6
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere
here you will find the secret to ssh into the _____ node
7
Multiple Choice
The secret found in vSphere will allow you to ssh into which node ?
Worker node
Controlplane node
8
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere
here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
whats the path of this directory?
9
Multiple Choice
Whats the full path (in vSphere) of the directory containing the login secret to ssh into controlplane node ?
(whats the most accurate example)
/etc/vmware/wcp/encryption-config.yaml
/registry/secrets/ns1/wl1-22-ssh-password
10
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere
here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
11
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, then SSH into it using the "pwd"
12
Multiple Choice
Which of the following can be used to locate the IP address of your controlpane VM's
Vcenter
traceroute
13
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, then SSH into it using the "pwd"
the ip address can be found in vCenter
14
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, so you can SSH to it using the "pwd"
the ip address can be found in vCenter
Step 4 - SSH to the control plane vm
Step 5 - Then we run the command to get the secret to ssh into the worker node
what is the command to get the secret ?
15
Multiple Choice
What is the command to get the secret ?
kubectl get secrets wl1-22-ssh-password -o json
kubectl get secrets -n <namespace> wl1-22-ssh-secret -o json
kubectl get secrets -n <namespace> wl1-22-ssh-password -o json
16
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, so you can SSH to it using the "pwd"
the ip address can be found in vCenter
Step 4 - SSH into the control plane vm
Step 5 - Then we run the command to get the secret that will allows us to ssh into the worker node
--> kubectl get secrets -n <namespace> wl1-22-ssh-password -o json
Step 6 - Decode the "ssh-password" secret so that it can be used to ssh into a worker node
Q: How would the secret be decoded, whats the command to do this ?
17
Fill in the Blanks
18
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, so you can SSH to it using the "pwd"
the ip address can be found in vCenter
Step 4 - SSH into the control plane vm
Step 5 - Then we run the command to get the secret that will allows us to ssh into the worker node
--> kubectl get secrets -n <namespace> wl1-22-ssh-password -o json
Step 6 - Decode the "ssh-passwordkey" secret so that it can be used to ssh into a worker node
Q: How would the secret be decoded, whats the command to do this ?
19
Fill in the Blanks
20
Whats the process of getting the secrets/passwords to nodes
Step 1 - you'll first SSH into vSphere ...here you will find the password to ssh into the controlplane node
Step 2 - navigate to the directory with the controlplane node secret
path: /usr/lib/vmware-wcp/decryptK8Pwd.py
note: you will use "pwd" to then ssh into the controlplane
Step 3 - get the ip address of the controlplane VM, so you can SSH to it using the "pwd"
the ip address can be found in vCenter
Step 4 - SSH into the control plane vm
Step 5 - Then we run the command to get the secret that will allows us to ssh into the worker node
--> kubectl get secrets -n <namespace> wl1-22-ssh-password -o json
Step 6 - Decode the "ssh-passwordkey" secret so that it can be used to ssh into a worker node
--> echo "haJhaijXhiasndhaij" | base64 -d
Step 7 - ssh into one of the worker nodes (with an worker node ip from Vcenter) using the decoded secret from above
TKG Secrets Review
Where to find secrets
& how to login to the nodes that contain them
Recap of Franklyns workshop on Secrets
Show answer
Auto Play
Slide 1 / 20
SLIDE
Similar Resources on Wayground
15 questions
Passive Voice
Presentation
•
Professional Development
16 questions
Effective Goal-Setting
Presentation
•
Professional Development
16 questions
Present Perfect vs Present Perfect Continuous
Presentation
•
Professional Development
17 questions
CoComelon
Presentation
•
KG - Professional Dev...
15 questions
ML Week 5
Presentation
•
Professional Development
13 questions
K.2 Pause for People
Presentation
•
KG
18 questions
Plants
Presentation
•
6th - 8th Grade
15 questions
Software Class
Presentation
•
University
Popular Resources on Wayground
10 questions
Factors 4th grade
Quiz
•
4th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Block Buster Movies
Quiz
•
10th Grade - Professi...
20 questions
90s Cartoons
Quiz
•
Professional Development
15 questions
Trivia
Quiz
•
Professional Development
10 questions
Imperfect Subjunctive
Quiz
•
12th Grade - Professi...
34 questions
US National Parks
Quiz
•
Professional Development
20 questions
Disney characters
Quiz
•
KG - Professional Dev...
20 questions
car logos
Quiz
•
KG - Professional Dev...
20 questions
Sports trivia
Quiz
•
Professional Development