LEC 53 NOTES
=======================================================
Install Docker
$ sudo apt update && apt -y install docker.io
Install kubectl
$ curl -LO https://storage.googleapis.com/kubern... -s https://storage.googleapis.com/kubern... && chmod +x ./kubectl && sudo mv ./kubectl /usr/local/bin/kubectl
Install Minikube
$ curl -Lo minikube https://storage.googleapis.com/miniku... && chmod +x minikube && sudo mv minikube /usr/local/bin/
Start Minikube
$ apt install conntrack
$ minikube start --vm-driver=none
$ minikube status
configmap
====================================================================
apiVersion: v1
kind: Pod
metadata:
name: myvolconfig
spec:
containers:
name: c1
image: centos
command: ["/bin/bash", "-c", "while true; do echo Technical-Guftgu; sleep 5 ; done"]
volumeMounts:
name: testconfigmap
mountPath: "/tmp/config" # the config files will be mounted as ReadOnly by default here
volumes:
name: testconfigmap
configMap:
name: mymap # this should match the config map name created in the first step
items:
key: sample.conf
path: sample.conf
==============================================================================
apiVersion: v1
kind: Pod
metadata:
name: myenvconfig
spec:
containers:
name: c1
image: centos
command: ["/bin/bash", "-c", "while true; do echo Technical-Guftgu; sleep 5 ; done"]
env:
name: MYENV # env name in which value of the key is stored
valueFrom:
configMapKeyRef:
name: mymap # name of the config created
key: sample.conf
=========================================================
apiVersion: v1
kind: Pod
metadata:
name: myvolsecret
spec:
containers:
name: c1
image: centos
command: ["/bin/bash", "-c", "while true; do echo Technical-guftgu; sleep 5 ; done"]
volumeMounts:
name: testsecret
mountPath: "/tmp/mysecrets" # the secret files will be mounted as ReadOnly by default here
volumes:
name: testsecret
secret:
secretName: mysecret
========================================================
Now you can Donate us via Paypal or Google Pay
Paypal link : https://www.paypal.me/technicalguftgu
GooglePay/PhonePe/BHIM App UPI ID : bhupinderccs@okaxis
Visit Our Website for all the Courses- www.technicalguftgu.in
Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL : / technicalguftgu
Here are direct links of My All the Playlist: MUST CHECK
IPv6 Complete Tutorial for beginners Link : • IP Version 6 Tutorials in hindi/Urdu ...
Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK : • Microsoft Azure Tutorial for Beginner...
Cloud computing tutorials For beginners Link : • Cloud Computing Tutorial for Beginner...
AWS Solution Architect-Associate complete Tutorials Link : • AWS Solution Architect & Sysops Tutor...
Devops tutorials in Hindi:-
• What are the Pre-requisite for Devops...
CCNA Complete Tutorials /Computer Networking Link : • CCNA Full course in Hindi/Urdu | Comp...
This is the best channel for AWS Tutorials, Microsoft Azure tutorials, 2G,3G, LTE, CCNA, Cloud computing and for others topics related to cloud and computer networking. Technical Guftgu is the only platform, which provides you entire training on white board, so that you feels that, you are taking real time training.
Bhupinder Rajput Sir is having 8 Years of Experience in the field of technical trainings in entire india.
NOTE : If you would like to organise Bhupinder Rajput Sir workshop in your College or University, write mail to us.
Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team