Skip to content

Commit

Permalink
Apply workaround for klog issue trying to write to /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
anguslees committed May 30, 2019
1 parent 6edc611 commit d2e56c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kube-system.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ local labelSelector(labels) = {
items+: [{key: "Corefile", path: "Corefile"}],
},
},
tmp: kube.EmptyDirVolume(),
},
containers_+: {
coredns: kube.Container("coredns") {
Expand All @@ -631,6 +632,9 @@ local labelSelector(labels) = {
},
volumeMounts_+: {
config: {mountPath: "/etc/coredns", readOnly: true},
// Workaround https://github.com/coredns/deployment/pull/138
// Remove on coredns >=1.4.0
tmp: {mountPath: "/tmp"},
},
ports_+: {
dns: {containerPort: 53, protocol: "UDP"},
Expand Down

0 comments on commit d2e56c1

Please sign in to comment.