Skip to content

Commit

Permalink
Merge pull request #10861 from hakman/automated-cherry-pick-of-#10700-#…
Browse files Browse the repository at this point in the history
…10856-upstream-release-1.19

Automated cherry pick of #10700: Fix rendering issue created by #10414 #10856: Add liveness probe for calico-kube-controllers
  • Loading branch information
k8s-ci-robot authored Feb 17, 2021
2 parents 98fa781 + 778234f commit c7f131c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
10 changes: 8 additions & 2 deletions upup/models/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,7 @@ spec:
name: calico-typha
protocol: TCP
{{- if .Networking.Calico.TyphaPrometheusMetricsEnabled }}
- containerPort: {{- or .Networking.Calico.TyphaPrometheusMetricsPort "9093" }}
- containerPort: {{ or .Networking.Calico.TyphaPrometheusMetricsPort "9093" }}
name: metrics
protocol: TCP
{{- end }}
Expand Down Expand Up @@ -3976,7 +3976,7 @@ spec:
periodSeconds: 10
{{- if .Networking.Calico.PrometheusMetricsEnabled }}
ports:
- containerPort: {{- or .Networking.Calico.PrometheusMetricsPort "9091" }}
- containerPort: {{ or .Networking.Calico.PrometheusMetricsPort "9091" }}
name: metrics
protocol: TCP
{{- end }}
Expand Down Expand Up @@ -4112,6 +4112,12 @@ spec:
command:
- /usr/bin/check-status
- -r
livenessProbe:
exec:
command:
- /usr/bin/check-status
- -r
failureThreshold: 10

---

Expand Down
2 changes: 1 addition & 1 deletion upup/pkg/fi/cloudup/bootstrapchannelbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.ModelBuilderContext) (*chann
"k8s-1.7": "2.6.12-kops.1",
"k8s-1.7-v3": "3.8.0-kops.2",
"k8s-1.12": "3.9.6-kops.2",
"k8s-1.16": "3.17.2-kops.1",
"k8s-1.16": "3.17.2-kops.2",
}

{
Expand Down

0 comments on commit c7f131c

Please sign in to comment.