Skip to content

Commit

Permalink
Reduce default log level to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
wongma7 committed Apr 27, 2021
1 parent ba2b561 commit a65585c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
5 changes: 3 additions & 2 deletions charts/aws-efs-csi-driver/values.yaml
Expand Up @@ -49,7 +49,7 @@ node:
podAnnotations: {}
tolerations: []

logLevel: 5
logLevel: 2

hostAliases:
{}
Expand Down Expand Up @@ -83,7 +83,8 @@ serviceAccount:
controller:
create: true
# Add additional tags to access points
tags: {}
tags:
{}
# environment: prod
# region: us-east-1
# Enable if you want the controller to also delete the
Expand Down
7 changes: 3 additions & 4 deletions deploy/kubernetes/base/controller-deployment.yaml
Expand Up @@ -37,9 +37,8 @@ spec:
args:
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
# Uncomment below line to allow access point root directory to be deleted by controller.
#- --delete-access-point-root-dir
- --v=2
- --delete-access-point-root-dir=false
env:
- name: CSI_ENDPOINT
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
Expand All @@ -62,7 +61,7 @@ spec:
image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v2.1.1-eks-1-18-2
args:
- --csi-address=$(ADDRESS)
- --v=5
- --v=2
- --feature-gates=Topology=true
- --leader-election
env:
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/base/controller-serviceaccount.yaml
Expand Up @@ -47,7 +47,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: efs-csi-controller-sa
namespace: sample
namespace: default
roleRef:
kind: ClusterRole
name: efs-csi-external-provisioner-role
Expand Down
6 changes: 3 additions & 3 deletions deploy/kubernetes/base/node-daemonset.yaml
Expand Up @@ -43,7 +43,7 @@ spec:
args:
- --endpoint=$(CSI_ENDPOINT)
- --logtostderr
- --v=5
- --v=2
env:
- name: CSI_ENDPOINT
value: unix:/csi/csi.sock
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
args:
- --csi-address=$(ADDRESS)
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
- --v=5
- --v=2
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -96,7 +96,7 @@ spec:
args:
- --csi-address=/csi/csi.sock
- --health-port=9809
- --v=5
- --v=2
volumeMounts:
- name: plugin-dir
mountPath: /csi
Expand Down

0 comments on commit a65585c

Please sign in to comment.