From 6027abb96369a30e6ccd3f747f4029e36232c0af Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Thu, 9 Sep 2021 11:24:45 -0700 Subject: Fix KubeVirt and SR-IOV addon interaction SR-IOV wants to drain the nodes during reconciliation of SriovNetwork resources, while KubeVirt wants to keep at least one instance running at all times via a PodDisruptionBudget. KubeVirt's behavior is not customizable, so split the addons into different composite apps that allow finer control of the instantiation order. Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: I15c5cec3ef524b0b1d60dc201e04157272cbe376 --- kud/deployment_infra/emco/examples/01-cluster.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kud/deployment_infra/emco/examples/01-cluster.yaml') diff --git a/kud/deployment_infra/emco/examples/01-cluster.yaml b/kud/deployment_infra/emco/examples/01-cluster.yaml index 6f7ce4ba..18d05f73 100644 --- a/kud/deployment_infra/emco/examples/01-cluster.yaml +++ b/kud/deployment_infra/emco/examples/01-cluster.yaml @@ -9,14 +9,14 @@ resourceContext: metadata : name: {{ .ClusterProvider }} -{{- range $index, $cluster := .Clusters }} +{{- range $clusterName, $cluster := .Clusters }} --- #creating cluster version: emco/v2 resourceContext: anchor: cluster-providers/{{ $.ClusterProvider }}/clusters metadata : - name: {{ $cluster.Name }} + name: {{ $clusterName }} file: {{ $cluster.KubeConfig }} @@ -24,6 +24,6 @@ file: #Add label cluster version: emco/v2 resourceContext: - anchor: cluster-providers/{{ $.ClusterProvider }}/clusters/{{ $cluster.Name }}/labels + anchor: cluster-providers/{{ $.ClusterProvider }}/clusters/{{ $clusterName }}/labels label-name: {{ $.ClustersLabel }} -{{- end }} \ No newline at end of file +{{- end }} -- cgit 1.2.3-korg