Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
Update ceph ansible with some changes for the upstream. (#155)
Browse files Browse the repository at this point in the history
1. fix a container name
2. Fix mds networking parameters.
3. Make rgw not a host network container.
  • Loading branch information
galthaus authored and alanmeadows committed Jan 29, 2017
1 parent f4e3d82 commit 0cf9463
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ceph/templates/deployment-mds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
secret:
secretName: ceph-bootstrap-rgw-keyring
containers:
- name: ceph-mon
- name: ceph-mds
image: {{ .Values.images.daemon }}
imagePullPolicy: {{ .Values.images.pull_policy }}
ports:
Expand Down
6 changes: 3 additions & 3 deletions ceph/templates/deployment-moncheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ spec:
value: MON_HEALTH
- name: KV_TYPE
value: k8s
- name: NETWORK_AUTO_DETECT
value: "4"
- name: MON_IP_AUTO_DETECT
value: "1"
- name: CLUSTER
value: ceph
volumeMounts:
Expand All @@ -61,4 +61,4 @@ spec:
cpu: {{ .Values.resources.mon_check.requests.cpu | quote }}
limits:
memory: {{ .Values.resources.mon_check.limits.memory | quote }}
cpu: {{ .Values.resources.mon_check.limits.cpu | quote }}
cpu: {{ .Values.resources.mon_check.limits.cpu | quote }}
1 change: 0 additions & 1 deletion ceph/templates/deployment-rgw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ spec:
app: ceph
daemon: rgw
spec:
hostNetwork: true
nodeSelector:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
serviceAccount: default
Expand Down

0 comments on commit 0cf9463

Please sign in to comment.