Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (19 sloc) 496 Bytes
apiVersion: kubeadm.k8s.io/v1beta1
kind: JoinConfiguration
discovery:
bootstrapToken:
<% if cluster.ha? %>
apiServerEndpoint: <%= cluster.lb.ip %>:6443
<% else %>
apiServerEndpoint: <%= cluster.init_master.ip %>:6443
<% end %>
token: <%= cluster.token %>
unsafeSkipCAVerification: true
nodeRegistration:
kubeletExtraArgs:
node-ip: <%= machine.ip %>
<% if machine.master? %>
controlPlane:
localAPIEndpoint:
advertiseAddress: <%= machine.advertise_address %>
<% end %>
You can’t perform that action at this time.