Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Fix application-apply of stx-openstack on simplex
Browse files Browse the repository at this point in the history
The application-apply of the stx-openstack application on
simplex configurations has been failing since the barbican
chart was added to the application. The failure was due
to lost node status messages from the kubelet to the
kube-apiserver, which causes the node to be marked
NotReady and endpoints to be removed.

The root cause is the kubernetes bug here:
kubernetes/kubernetes#74412

In short, the addition of the barbican chart added enough
new secrets/configmaps that the kubelet hit the limit of
http2-max-streams-per-connection. As done upstream, the
fix is to change the following kubelet config:
configMapAndSecretChangeDetectionStrategy (from Watch to
Cache).

Change-Id: Ic816a91984c4fb82546e4f43b5c83061222c7d05
Closes-bug: 1820928
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
  • Loading branch information
Bart Wensley committed Apr 2, 2019
1 parent 416dbdd commit 0d61ade
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ imageRepository: "<%= @k8s_registry %>"
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
# Workaround for the following issue:
# https://github.com/kubernetes/kubernetes/issues/74412
configMapAndSecretChangeDetectionStrategy: Cache
nodeStatusUpdateFrequency: "4s"
failSwapOn: false
featureGates:
Expand Down

0 comments on commit 0d61ade

Please sign in to comment.