Argo CD Setup on Google Kubernetes Engine Private Cluster

Published: 17 January 2022
on channel: Cloud Advocate
11,685
144

In this video you will learn how to setup Argo CD on Google Kubernetes Engine Private Cluster

Timestamps:
-----------
00:00 Intro
01:58 Enable internet to nodes (NAT router)
03:34 Installing Argo
04:54 Expose service as node port
06:04 IAP tunnel
07:09 Marker 3

Commands:
----------
Create GKE Private Cluster with Authorized Networks option enabled

gcloud container clusters create argo-cd --create-subnetwork name=my-subnet-2 --enable-master-authorized-networks --enable-ip-alias --enable-private-nodes --master-ipv4-cidr 192.168.0.0/28 --num-nodes=3

Create NAT router
gcloud compute routers create nat-router --network default
gcloud compute routers nats create nat-config --router nat-router --nat-all-subnet-ip-ranges --auto-allocate-nat-external-ips

Expose the service
kubectl patch svc argocd-server --type='json' -p '[{"op":"replace","path":"/spec/type","value":"NodePort"}]'

Access the Argo from browser
gcloud compute firewall-rules create allow-ingress-from-iap --direction=INGRESS --action=allow --rules=tcp:32147 --source-ranges=35.235.240.0/20
gcloud compute start-iap-tunnel gke-argo-cd-default-pool-683b0de0-fsst 32147 --local-host-port=localhost:8085 --zone=us-east1-b
----------
PLEASE SUBSCRIBE ➡️https://bit.ly/36x6qQy ❤️
If you like my work considering buying me ☕https://bit.ly/3lumyqx
----------
PLAYLISTS:
Associate Cloud Engineer Study Guide: https://bit.ly/37y1dYl
Google Cloud Playlist: https://bit.ly/37uMZal
----------
Questions? Thoughts? Disagreements? Tell us here in the comments.
----------
LETS CONNECT:
👍 Facebook:   / multicloudguy  
📸 Instagram -   / multicloudguy  
🐦 Twitter -   / multicloudguy  


Watch video Argo CD Setup on Google Kubernetes Engine Private Cluster online without registration, duration hours minute second in high quality. This video was added by user Cloud Advocate 17 January 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11,685 once and liked it 144 people.