Categories
docker gcp Kubernetes Linux

Install Minikube on GCP CentosOS 7

Enable nested virtualization on an instance https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances Create a boot disk. gcloud compute disks create disk1 –image-project centos-cloud –image-family centos-7 –zone us-central1-a Create image with License. Note: This may take a minute. gcloud compute images create nested-vm-image –source-disk=disk1 –source-disk-zone=us-central1-a –licenses=https://www.googleapis.com/compute/v1/projects/vm-options/global/licenses/enable-vmx Delete source disk, as it is no longer needed. gcloud compute disks delete disk1 –zone […]

Categories
General Linux

Auto-Renew Let’s Encrypt Wildcard Certificate using Google Cloud DNS

Let’s go over how to create a Wildcard Certificate that also auto-renews. Wildcards are challenged by DNS-01. This challenge asks you to prove that you control the DNS for your domain name by putting a specific value in a TXT record under that domain name. This requires DNS access, especially when you are automating the […]

Categories
docker Kubernetes Linux

Create a Kubernetes Cluster using kubeadm on CentOS 7

Requirements I’m writing the requirements here, but will go through all the steps below. https://kubernetes.io/docs/setup/independent/install-kubeadm/ Operating System: CentOS 7 2 GB or more of RAM per machine (any less will leave little room for your apps) 2 CPUs or more Full network connectivity between all machines in the cluster (public or private network is fine) […]

Categories
Linux

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

This can happen if you have created a new server with an IP address you had previously used on a different server. ssh 35.227.177.194 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is […]

Categories
DNS gcp Linux

PowerDNS Recursor

I ran into an issue where I was setting up a VPN to a GCP VPC and noticed that DNS was not working correctly. DNS worked flawlessly within any instance inside the GCP VPC itself, but not from my laptop. I should be able to ssh into any instance from my laptop. I also want […]