Skip to content

Commit

Permalink
Exclude openshift-dns namespace in Globalnet
Browse files Browse the repository at this point in the history
In an OCP Cluster, openshift-dns namespace has dns-default
service and this is controlled by its operator.
When Globalnet is deployed on OCP, it was seen that globalip
annotation added to it is periodically getting deleted by the
operator, so Globalnet tries to re-add the annotation and this
goes on forever. This will cause Globalnet to consume CPU
unnecessarily and could affect user-experience with Submariner
Globalnet. We have plans to enhance Globalnet to improve its
scalability, but until then we can exclude annotating services
in openshift-dns namespace.

Signed-Off-by: Sridhar Gaddam <[email protected]>
  • Loading branch information
sridhargaddam authored and skitt committed Nov 18, 2020
1 parent 5407e97 commit 8f2bed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submariner/templates/globalnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
- name: SUBMARINER_CLUSTERID
value: '{{ .Values.submariner.clusterId }}'
- name: SUBMARINER_EXCLUDENS
value: 'submariner-operator,kube-system,operators,openshift-monitoring'
value: 'submariner-operator,kube-system,operators,openshift-monitoring,openshift-dns'
- name: SUBMARINER_NAMESPACE
value: '{{ .Release.Namespace }}'
securityContext:
Expand Down

0 comments on commit 8f2bed6

Please sign in to comment.