Commit Graph

1082 Commits

Author SHA1 Message Date
AkiraFukushima 184bfb8ca4 Disable some flags in kube-controller-manager and kube-scheduler when logging-format is not text
Disable these flags because these are not accepted.
* --logtostderr
* --alsologtostderr
* --log-file
2022-08-12 19:46:56 +03:00
Eric Bailey e00f9153e1 Add support for setting mode field on file assets 2022-06-10 07:16:41 +03:00
Ciprian Hacman 33fe78171b Remove unused DNS logic from Protokube 2022-05-28 09:07:18 +03:00
Peter Rifel 4d15f0d2aa
Re-add net.bridge settings for flannel
This was originally only set on Centos 7 / RHEL 7 but we're experiencing similar issues on Amazon Linux 2
2022-04-29 06:29:54 -05:00
Vivek Jain de52686f78 use suggested changes
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-03 06:42:04 +02:00
Vivek Jain 24efcaf089 check if UsePolicyConfigMap flag is true 2022-03-03 06:42:04 +02:00
Kubernetes Prow Robot d498834b14
Merge pull request #13273 from johngmyers/rbn-22-22
Cherry-pick of #13268: Enable RBN with AWS CCM 1.22.0-alpha.1
2022-02-17 01:01:36 -08:00
John Gardiner Myers a4e41d47f3 Enable RBN with AWS CCM 1.22.0-alpha.1 2022-02-16 23:08:44 -08:00
AkiraFukushima 4bc9ea1225 Disable some flags in kube-apiserver when logging-format is not text
Disable these flags because these are not accepted.
* --logtostderr
* --alsologtostderr
* --log-file
2022-02-17 08:59:11 +02:00
Ciprian Hacman 52ac8d6bf8 Install contained from the release package
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-14 14:59:34 +02:00
Ole Markus With 28f0f39671 update expected 2022-02-14 09:38:46 +01:00
Ole Markus With 409e2e4c24 Fix nilpointer when graceful shutdown is not configured 2022-02-14 09:16:06 +01:00
Ciprian Hacman f4a860dfa8 Install runc from opencontainers/runc
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-13 12:24:00 +02:00
Ole Markus With a286c35441 hack update-expected 2022-02-12 07:27:05 +01:00
Ole Markus With 1157f31fbc Add support for graceful node shutdown
Update docs/cluster_spec.md

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2022-02-12 07:25:22 +01:00
Ole Markus With 6fee599d02 Fix CSI migration feature gates
We had a bug for KCM feature gate, and the scheuler and apiserver gate was missing entirely.
2022-02-04 15:19:26 +01:00
Ciprian Hacman 8b3c48f7d2 Update pause image to v3.6
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-26 07:59:45 +02:00
Kubernetes Prow Robot a4cc5af9b5
Merge pull request #13042 from olemarkus/automated-cherry-pick-of-#13038-origin-release-1.23
Automated cherry pick of #13038: Kube components log to stdout
2021-12-27 23:18:18 -08:00
Ole Markus With 4b541e44dc Kube components log to stdout 2021-12-28 06:48:06 +01:00
Ole Markus With 8148161d4d Add managed-by label to static kube-proxy pods 2021-12-28 06:47:27 +01:00
Kai Lueke d93033ae75 Simplify Flatcar containerd exec command
The containerd command used in
https://github.com/kubernetes/kops/pull/12177 is a modification from
the torcx containerd unit. However, how torcx starts containerd is a
implementation detail and it's better to not hardcode torcx in case it
isn't used anymore.
Change the ExecStard command to use /usr/bin/containerd directly,
making it simpler and more future-proof.
2021-12-06 14:07:39 +01:00
Kubernetes Prow Robot f7e66049d6
Merge pull request #12862 from johngmyers/instanceid-nodename
Use instance ID as node name when AWS CCM supports it
2021-12-05 14:58:32 -08:00
justinsb 4cf52d0e51 GCE: Support kops-controller, including in gossip mode
We discover the kops-controller in gossip mode using seeding code that
calls into the GCE API, just like gossip itself does.

We refactor the gossip code into a shared gcediscovery library with
minimal dependencies.
2021-12-04 11:51:41 -05:00
Kubernetes Prow Robot 576dc1946a
Merge pull request #12883 from hakman/k8s-1.23.0-rc.0
Update k8s dependencies to v1.23.0-rc.0
2021-12-03 20:48:33 -08:00
Ciprian Hacman 1f5a814d3a Replace Handler with ProbeHandler for container probes 2021-12-03 22:57:43 +02:00
Ciprian Hacman e19a1bbad9 Remove support for RHEL/CentOS 7 2021-12-03 21:40:10 +02:00
Ciprian Hacman 45094241f6 Remove support for Ubuntu 16.04 2021-12-03 21:28:12 +02:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
John Gardiner Myers 73f164e229 Use instance ID as node name when AWS CCM supports it 2021-11-30 17:54:54 -08:00
Ole Markus With f2f9b9dcbb Determine hostnameOverride entirely in nodeup instead of passing in cloud placeholders from cloudup 2021-11-30 13:29:54 +01:00
Ole Markus With 91b40385e6 Remove redundant evaluation of hostnameOverride
The override is already resolved in upup/pkg/fi/nodeup/command.go
2021-11-30 11:22:02 +01:00
John Gardiner Myers ef754ce71f Make requests and limits be *resource.Quantity 2021-11-29 22:50:31 -08:00
Kubernetes Prow Robot 2b059a06d3
Merge pull request #12844 from bwagner5/metadata-hostname
Use AWS metadata to retrieve local-hostname in nodeup
2021-11-27 07:10:41 -08:00
Brandon 652eea951c update bazel 2021-11-26 23:33:51 -06:00
Brandon 4bc48fc7b6 use metadata to retrieve instance hostname in nodeup 2021-11-26 19:24:04 -06:00
John Gardiner Myers e4bad43098 Reverse the sense of hook enablement in v1alpha3 2021-11-25 18:45:13 -08:00
Kubernetes Prow Robot 0e56286aa3
Merge pull request #12816 from johngmyers/rename-fields-2
Rename fields to fit acronym conventions
2021-11-24 23:14:33 -08:00
John Gardiner Myers 03157c5894 hack/update-expected.sh 2021-11-24 17:46:00 -08:00
Kubernetes Prow Robot a8289da46e
Merge pull request #12789 from WeTransfer/dnsopt
Add support for --dns flag in Docker config
2021-11-24 08:18:20 -08:00
John Gardiner Myers b9ac79ec6e Rename fields in v1alpha3 networking API to fit acronym convention 2021-11-22 08:07:55 -08:00
John Gardiner Myers f4d2cb0437 Rename fields in v1alpha3 keyset API to fit acronym convention 2021-11-22 08:07:55 -08:00
John Gardiner Myers f65ba3d9cd Rename fields in v1alpha3 componentconfig API to fit acronym convention 2021-11-21 16:16:32 -08:00
John Gardiner Myers 5a42c10fd3 Rename fields in v1alpha3 cluster API to fit acronym convention 2021-11-21 16:16:32 -08:00
Jeff Wolski a9ecfa47b5 Add support for --dns flag in Docker config
This commit adds support for the --dns flag which is provided as a
Docker daemon startup flag. The flag is used to set the IP address of
the DNS server that the daemon injects into containers. Multiple --dns
flags are supported.
2021-11-19 10:02:12 +01:00
Kubernetes Prow Robot 6c6ea761b0
Merge pull request #12712 from rifelpet/kube-proxy-go-runner
Migrate kube-proxy manifest to use go-runner for logging
2021-11-18 06:15:02 -08:00
Kubernetes Prow Robot 2c9183509d
Merge pull request #12699 from zetaab/hostnamesuffix
Add ingress hostname suffix configurable to kOps
2021-11-16 07:13:27 -08:00
Ole Markus With bb490decb5 Do not return error when there is no error checking for cgroupfs 2021-11-15 11:15:55 +01:00
Kubernetes Prow Robot 0176f079e7
Merge pull request #12726 from johngmyers/revert-leader-migration
Revert leader migration
2021-11-12 22:50:48 -08:00
John Gardiner Myers 561b562a65 Revert "Update automatically generated files"
This reverts commit 3d5d5b38d6.
2021-11-12 22:07:18 -08:00
Eng Zer Jun 425173ae9f
refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-12 15:37:18 +08:00