Skip to content

Commit

Permalink
Set TerminationMessagePolicy to FallbackToLogsOnError (kubernetes-sig…
Browse files Browse the repository at this point in the history
  • Loading branch information
kishen-v authored Jun 7, 2024
1 parent b6cc368 commit 5bc0de9
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 21 deletions.
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ spec:
requests:
cpu: 100m
memory: 20Mi
terminationMessagePolicy: FallbackToLogsOnError
terminationGracePeriodSeconds: 10
serviceAccountName: manager
7 changes: 4 additions & 3 deletions templates/addons/crs-powervs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,16 @@ data:
env:
- name: ENABLE_VPC_PUBLIC_ENDPOINT
value: "true"
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibmpowervs-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibmpowervs-config-volume
Expand Down
7 changes: 4 additions & 3 deletions templates/addons/crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,16 @@ data:
- --cloud-provider=ibm
- --cloud-config=/etc/cloud/ibm.conf
- --use-service-account-credentials=true
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibm-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibm-config-volume
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template-powervs-cloud-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -539,15 +539,16 @@ data:
env:
- name: ENABLE_VPC_PUBLIC_ENDPOINT
value: "true"
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibmpowervs-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibmpowervs-config-volume
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template-powervs-clusterclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -549,15 +549,16 @@ data:
env:
- name: ENABLE_VPC_PUBLIC_ENDPOINT
value: "true"
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibmpowervs-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibmpowervs-config-volume
Expand Down
1 change: 1 addition & 0 deletions templates/cluster-template-powervs-create-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ data:
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
hostNetwork: true
volumes:
- name: ibmpowervs-config-volume
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template-vpc-clusterclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398,15 +398,16 @@ data:
- --cloud-provider=ibm
- --cloud-config=/etc/cloud/ibm.conf
- --use-service-account-credentials=true
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibm-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibm-config-volume
Expand Down
7 changes: 4 additions & 3 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,16 @@ data:
- --cloud-provider=ibm
- --cloud-config=/etc/cloud/ibm.conf
- --use-service-account-credentials=true
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibm-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibm-config-volume
Expand Down
7 changes: 4 additions & 3 deletions test/e2e/data/templates/cluster-template-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,16 @@ data:
- --cloud-provider=ibm
- --cloud-config=/etc/cloud/ibm.conf
- --use-service-account-credentials=true
resources:
requests:
cpu: 200m
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/cloud
name: ibm-config-volume
readOnly: true
- mountPath: /etc/ibm-secret
name: ibm-secret
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- name: ibm-config-volume
Expand Down

0 comments on commit 5bc0de9

Please sign in to comment.