Skip to content

Commit

Permalink
setup dns on linux box
Browse files Browse the repository at this point in the history
  • Loading branch information
jayunit100 committed Oct 28, 2022
1 parent abf9a28 commit ecac008
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions sync/linux/controlplane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ echo "Using $kubernetes_version as the Kubernetes version"
# Installing packages

# Add GPG keys and repository for Kubernetes
sudo apt-get update -y
sudo apt-get install ca-certificates -y
echo "Setting up internet connectivity to /etc/resolv.conf"
sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf

echo "now curling to add keys..."
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
cat << EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list
Expand Down
4 changes: 2 additions & 2 deletions variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ kubernetes_version: "1.25"
build_from_source: "false"

## Linux settings
k8s_linux_kubelet_nodeip: "192.168.56.100"
windows_node_ip: "192.168.56.200"
k8s_linux_kubelet_nodeip: "10.20.30.10"
windows_node_ip: "10.20.30.11"
windows_ram: 6048
linux_ram: 4096
linux_cpus: 2
Expand Down

0 comments on commit ecac008

Please sign in to comment.