Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable critical addon feature #326

Merged
merged 1 commit into from Jul 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions chart/voyager/templates/deployment.yaml
Expand Up @@ -14,15 +14,10 @@ spec:
labels:
app: "{{ template "name" . }}"
release: "{{ .Release.Name }}"
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
{{- if .Values.rbac.install }}
serviceAccountName: {{ template "fullname" . }}
{{- end }}
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
containers:
- name: operator
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
Expand Down
4 changes: 2 additions & 2 deletions docs/user-guide/README.md
Expand Up @@ -21,12 +21,12 @@ $ export CLOUD_CONFIG=<path> # The path to the cloud provider configu
# Voyager uses this to connect to cloud provider api.

# Install without RBAC roles
$ curl https://raw.githubusercontent.com/appscode/voyager/3.1.0/hack/deploy/voyager-without-rbac.yaml \
$ curl https://raw.githubusercontent.com/appscode/voyager/3.1.0/hack/deploy/without-rbac.yaml \
| envsubst \
| kubectl apply -f -

# Install with RBAC roles
$ curl https://raw.githubusercontent.com/appscode/voyager/3.1.0/hack/deploy/voyager-with-rbac.yaml \
$ curl https://raw.githubusercontent.com/appscode/voyager/3.1.0/hack/deploy/with-rbac.yaml \
| envsubst \
| kubectl apply -f -
```
Expand Down
Expand Up @@ -96,8 +96,6 @@ spec:
metadata:
labels:
app: voyager
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
serviceAccountName: voyager-operator
containers:
Expand All @@ -121,17 +119,14 @@ spec:
- hostPath:
path: /etc/kubernetes
name: cloudconfig
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
---
apiVersion: v1
kind: Service
metadata:
labels:
app: voyager
name: voyager-operator
namespace: kube-system
namespace: kube-system
spec:
ports:
- name: http
Expand Down
Expand Up @@ -11,8 +11,6 @@ spec:
metadata:
labels:
app: voyager
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
containers:
- name: voyager
Expand All @@ -34,17 +32,14 @@ spec:
- hostPath:
path: /etc/kubernetes
name: cloudconfig
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
---
apiVersion: v1
kind: Service
metadata:
labels:
app: voyager
name: voyager-operator
namespace: kube-system
namespace: kube-system
spec:
ports:
- name: http
Expand Down