How to deploy Kubernetes using Terraform?
This tutorial will show how to use Terraform in Visual Studio Code to deploy Kubernetes resources.
We're so excited to announce that the our 2 bestseller courses on udemy i.e., OpenStack and NFV (TelcoCloud) and Kubernetes in NFV (TelcoCloud) is out now!!!
Use Coupon code to get 81% discount - CLOUDGURU
https://www.udemy.com/course/openstack-telcocloud-asad/?couponCode=CLOUDGURU
https://www.udemy.com/course/kubernetes-in-nfv-telcocloud/?couponCode=CLOUDGURU
Note: This coupon will be valid for a month. If you want a new coupon code contact us on YouTube or in Facebook.
- Define the Terraform provider file and specify the kubernetes host address.
- Define the Terraform deployment file to define the Kubernetes Deployment resource.
- Deploy the kubernetes resources by using Terraform
- Destroy the kubernetes resources by using Terraform
Timestamps:
00:00 - Introduction
00:57 - What tools we use
01:33 - Project Overview
04:00 - Advertisement-*
04:37 - Create the Kubernetes Cluster
06:18 - Deploy Software on Kubernetes
08:27 - Deploy Traefik and Cert-Manager
10:45 - Deploy DNS and Certificates
11:31 - Deploy a test application
13:42 - Summarize and test
Source code:
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld
spec:
selector:
matchLabels:
app: helloworld
replicas: 1 # tells deployment to run 1 pods matching the template
template: # create pods using pod definition in this template
metadata:
labels:
app: helloworld
spec:
containers:
- name: helloworld
image: karthequian/helloworld:latest
ports:
- containerPort: 80
#Terraform #Kubernetes #DevOps
Видео How to deploy Kubernetes using Terraform? автора Питоновый руководитель
Видео How to deploy Kubernetes using Terraform? автора Питоновый руководитель
Информация
4 декабря 2023 г. 4:46:17
00:13:49
Похожие видео



















