Skip to content

Commit 12e6e2e

Browse files
authored
Merge pull request #8268 from hakman/compare-examples
azure: Make it easier to compare examples
2 parents 8f9a24a + 20a59a9 commit 12e6e2e

File tree

7 files changed

+37
-37
lines changed

7 files changed

+37
-37
lines changed

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-aks.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ data:
125125
ClientID: <base64-encoded-client-id>
126126
ClientSecret: <base64-encoded-client-secret>
127127
ResourceGroup: <base64-encoded-resource-group>
128-
SubscriptionID: <base64-encode-subscription-id>
128+
SubscriptionID: <base64-encoded-subscription-id>
129129
TenantID: <base64-encoded-tenant-id>
130130
VMType: QUtTCg==
131131
kind: Secret
@@ -152,17 +152,7 @@ spec:
152152
spec:
153153
serviceAccountName: cluster-autoscaler
154154
containers:
155-
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
156-
imagePullPolicy: Always
157-
name: cluster-autoscaler
158-
resources:
159-
limits:
160-
cpu: 100m
161-
memory: 300Mi
162-
requests:
163-
cpu: 100m
164-
memory: 300Mi
165-
command:
155+
- command:
166156
- ./cluster-autoscaler
167157
- --v=3
168158
- --logtostderr=true
@@ -200,4 +190,14 @@ spec:
200190
secretKeyRef:
201191
key: VMType
202192
name: cluster-autoscaler-azure
193+
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
194+
imagePullPolicy: Always
195+
name: cluster-autoscaler
196+
resources:
197+
limits:
198+
cpu: 100m
199+
memory: 300Mi
200+
requests:
201+
cpu: 100m
202+
memory: 300Mi
203203
restartPolicy: Always

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-autodiscover.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ subjects:
123123
apiVersion: v1
124124
data:
125125
ResourceGroup: <base64-encoded-resource-group>
126-
SubscriptionID: <base64-encode-subscription-id>
126+
SubscriptionID: <base64-encoded-subscription-id>
127127
Deployment: <base64-encoded-azure-initial-deploy-name>
128128
VMType: c3RhbmRhcmQ=
129129
kind: Secret

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard-msi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ subjects:
123123
apiVersion: v1
124124
data:
125125
ResourceGroup: <base64-encoded-resource-group>
126-
SubscriptionID: <base64-encode-subscription-id>
126+
SubscriptionID: <base64-encoded-subscription-id>
127127
Deployment: <base64-encoded-azure-initial-deploy-name>
128128
VMType: c3RhbmRhcmQ=
129129
kind: Secret

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-standard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ data:
125125
ClientID: <base64-encoded-client-id>
126126
ClientSecret: <base64-encoded-client-secret>
127127
ResourceGroup: <base64-encoded-resource-group>
128-
SubscriptionID: <base64-encode-subscription-id>
128+
SubscriptionID: <base64-encoded-subscription-id>
129129
TenantID: <base64-encoded-tenant-id>
130130
Deployment: <base64-encoded-azure-initial-deploy-name>
131131
VMType: c3RhbmRhcmQ=

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-control-plane.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ data:
125125
ClientID: <base64-encoded-client-id>
126126
ClientSecret: <base64-encoded-client-secret>
127127
ResourceGroup: <base64-encoded-resource-group>
128-
SubscriptionID: <base64-encode-subscription-id>
128+
SubscriptionID: <base64-encoded-subscription-id>
129129
TenantID: <base64-encoded-tenant-id>
130130
VMType: dm1zcw==
131131
kind: Secret
@@ -159,10 +159,7 @@ spec:
159159
nodeSelector:
160160
kubernetes.io/role: control-plane
161161
containers:
162-
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
163-
imagePullPolicy: Always
164-
name: cluster-autoscaler
165-
command:
162+
- command:
166163
- ./cluster-autoscaler
167164
- --v=3
168165
- --logtostderr=true
@@ -201,6 +198,9 @@ spec:
201198
secretKeyRef:
202199
key: VMType
203200
name: cluster-autoscaler-azure
201+
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
202+
imagePullPolicy: Always
203+
name: cluster-autoscaler
204204
resources:
205205
limits:
206206
cpu: 100m

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss-msi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ subjects:
123123
apiVersion: v1
124124
data:
125125
ResourceGroup: <base64-encoded-resource-group>
126-
SubscriptionID: <base64-encode-subscription-id>
126+
SubscriptionID: <base64-encoded-subscription-id>
127127
VMType: dm1zcw==
128128
kind: Secret
129129
metadata:
@@ -157,10 +157,7 @@ spec:
157157
nodeSelector:
158158
kubernetes.io/role: control-plane
159159
containers:
160-
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
161-
imagePullPolicy: Always
162-
name: cluster-autoscaler
163-
command:
160+
- command:
164161
- ./cluster-autoscaler
165162
- --v=3
166163
- --logtostderr=true
@@ -186,6 +183,9 @@ spec:
186183
secretKeyRef:
187184
key: VMType
188185
name: cluster-autoscaler-azure
186+
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
187+
imagePullPolicy: Always
188+
name: cluster-autoscaler
189189
resources:
190190
limits:
191191
cpu: 100m

cluster-autoscaler/cloudprovider/azure/examples/cluster-autoscaler-vmss.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ data:
125125
ClientID: <base64-encoded-client-id>
126126
ClientSecret: <base64-encoded-client-secret>
127127
ResourceGroup: <base64-encoded-resource-group>
128-
SubscriptionID: <base64-encode-subscription-id>
128+
SubscriptionID: <base64-encoded-subscription-id>
129129
TenantID: <base64-encoded-tenant-id>
130130
VMType: dm1zcw==
131131
kind: Secret
@@ -152,17 +152,7 @@ spec:
152152
spec:
153153
serviceAccountName: cluster-autoscaler
154154
containers:
155-
- image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
156-
imagePullPolicy: Always
157-
name: cluster-autoscaler
158-
resources:
159-
limits:
160-
cpu: 100m
161-
memory: 300Mi
162-
requests:
163-
cpu: 100m
164-
memory: 300Mi
165-
command:
155+
- command:
166156
- ./cluster-autoscaler
167157
- --v=3
168158
- --logtostderr=true
@@ -201,6 +191,16 @@ spec:
201191
secretKeyRef:
202192
key: VMType
203193
name: cluster-autoscaler-azure
194+
image: registry.k8s.io/autoscaling/cluster-autoscaler:{{ ca_version }}
195+
imagePullPolicy: Always
196+
name: cluster-autoscaler
197+
resources:
198+
limits:
199+
cpu: 100m
200+
memory: 300Mi
201+
requests:
202+
cpu: 100m
203+
memory: 300Mi
204204
volumeMounts:
205205
- mountPath: /etc/ssl/certs/ca-certificates.crt
206206
name: ssl-certs

0 commit comments

Comments
 (0)