mirror of https://github.com/kubernetes/kops.git
Merge pull request #2165 from justinsb/remove_old_kope_routing
Remove old way of doing kope-routing
This commit is contained in:
commit
863956731c
|
@ -20,7 +20,3 @@ secret/system-monitoring:
|
||||||
|
|
||||||
secret/system-dns:
|
secret/system-dns:
|
||||||
name: "system:dns"
|
name: "system:dns"
|
||||||
|
|
||||||
{{ if HasTag "_kope_routing" }}
|
|
||||||
secret/kope-routing: {}
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
# kope-routing podspec
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Pod
|
|
||||||
metadata:
|
|
||||||
name: kope-routing
|
|
||||||
namespace: kube-system
|
|
||||||
spec:
|
|
||||||
hostNetwork: true
|
|
||||||
containers:
|
|
||||||
- name: kope-routing
|
|
||||||
image: kope/route-controller
|
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
# - /usr/bin/route-controller --boot-id=/var/lib/kope-routing/boot-id --kubeconfig=/var/lib/kope-routing/kubeconfig --healthz-port=10247 1>>/var/log/kope-routing.log 2>&1
|
|
||||||
- /usr/bin/route-controller --provider=gre --boot-id=/var/lib/kope-routing/boot-id --kubeconfig=/var/lib/kope-routing/kubeconfig --healthz-port=10247
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /etc/ssl/certs
|
|
||||||
name: ssl-certs-host
|
|
||||||
readOnly: true
|
|
||||||
# - mountPath: /var/log
|
|
||||||
# name: varlog
|
|
||||||
# readOnly: false
|
|
||||||
- mountPath: /var/lib/kope-routing/kubeconfig
|
|
||||||
name: kubeconfig
|
|
||||||
readOnly: true
|
|
||||||
- mountPath: /var/lib/kope-routing/boot-id
|
|
||||||
name: host-boot-id
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
|
||||||
- hostPath:
|
|
||||||
path: /usr/share/ca-certificates
|
|
||||||
name: ssl-certs-host
|
|
||||||
- hostPath:
|
|
||||||
path: /var/lib/kope-routing/kubeconfig
|
|
||||||
name: kubeconfig
|
|
||||||
- hostPath:
|
|
||||||
path: /proc/sys/kernel/random/boot_id
|
|
||||||
name: host-boot-id
|
|
||||||
# - hostPath:
|
|
||||||
# path: /var/log
|
|
||||||
# name: varlog
|
|
|
@ -1,17 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Config
|
|
||||||
users:
|
|
||||||
- name: kope-routing
|
|
||||||
user:
|
|
||||||
token: {{ GetToken "kope-routing" }}
|
|
||||||
clusters:
|
|
||||||
- name: local
|
|
||||||
cluster:
|
|
||||||
certificate-authority-data: {{ Base64Encode CACertificate.AsString }}
|
|
||||||
server: https://{{ .MasterInternalName }}
|
|
||||||
contexts:
|
|
||||||
- context:
|
|
||||||
cluster: local
|
|
||||||
user: kope-routing
|
|
||||||
name: service-account-context
|
|
||||||
current-context: service-account-context
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"mode": "0400"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"ifNotExists": true
|
|
||||||
}
|
|
Loading…
Reference in New Issue