Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 837 Bytes

File metadata and controls

65 lines (45 loc) · 837 Bytes

Deploying the Service Proxy

node1

gcloud compute ssh node1

Download the kube-proxy unit file:

sudo curl https://kuar.io/kube-proxy.service \
  -o /etc/systemd/system/kube-proxy.service

Get your project name:

gcloud config list project

Edit the kube-proxy unit file and configure the master flag:

sudo vim /etc/systemd/system/kube-proxy.service
--master=http://node0.c.PROJECT_NAME.internal:8080

Start the kube-proxy service:

sudo systemctl daemon-reload
sudo systemctl enable kube-proxy
sudo systemctl start kube-proxy

Verify:

sudo systemctl status kube-proxy

Check iptables

sudo iptables -vL -n -t nat

node2

gcloud compute ssh node2

Repeat the steps from above.

node3

gcloud compute ssh node3

Repeat the steps from above.