Commit Graph

12547 Commits

Author SHA1 Message Date
Peter Rifel df1e30182f
Fix cloudformation lint job
The dockerfile we were using in the cfn-python-lint repo wasn't actually pinned to the version associated with the git tag, it always installs the latest version.
A recent release consolidated error rules regarding invalid values.
We use an invalid "us-test-1" region and zones in much of our testing.
We used to be able to ignore this "invalid AZ" error, but now we would need to ignore all invalid values for all resource properties.
This pins cfn-python-lint to an older version but we'll have to figure out how we want to handle this longer term.
2020-11-17 20:03:40 -06:00
Kubernetes Prow Robot 6afa3024ac
Merge pull request #10247 from johngmyers/fix-ssd-upgrade
Fix version of storage-aws addon manifest
2020-11-16 19:16:04 -08:00
John Gardiner Myers d5ed8509fe Fix version of storage-aws addon manifest 2020-11-16 14:48:29 -08:00
Kubernetes Prow Robot 92911d7dcf
Merge pull request #10167 from olemarkus/cilium-ondelete
Make it possible to use OnDelete update strategy on addon daemonset
2020-11-16 12:38:03 -08:00
Kubernetes Prow Robot 953b9a1e5a
Merge pull request #10242 from justinsb/gce_instance_comparison
GCE: ignore (output-only) networkInterface.name
2020-11-16 11:10:06 -08:00
Ole Markus With f4e3dd3e26 Rename NeedUpdate struct to NeedsRollingUpdate 2020-11-16 19:48:18 +01:00
Kubernetes Prow Robot 55c5c5cf09
Merge pull request #10245 from johngmyers/remove-etcd-2
Remove more code specific to unsupported etcd v2
2020-11-16 00:15:05 -08:00
Ole Markus With 2659a30280 Make get instances respect needs-update annotation
Make it possible for addons to set needs-update annotation

Use onDelete update strategy for cilium and set needs-update annotation

Rename node roles
2020-11-16 08:26:17 +01:00
John Gardiner Myers 1165fd381e Remove more code specific to unsupported etcd v2 2020-11-15 22:21:24 -08:00
Kubernetes Prow Robot bdfa7855e4
Merge pull request #10241 from JoelBCarter/master
Add HPA Flags for `horizontal-pod-autoscaler-initial-readiness-delay` & `horizontal-pod-autoscaler-cpu-initialization-period`
2020-11-15 19:11:04 -08:00
Kubernetes Prow Robot 1bf5205aa3
Merge pull request #10237 from bharath-123/feature/pod-instance-group-mapping
Associate instance group to pod validation failures in cluster validation.
2020-11-15 15:35:04 -08:00
Justin SB 73b075d3b2 GCE: ignore (output-only) networkInterface.name
This field was causing spurious differences to be detected.

We probably should be comparing the values in the kops model, not the
GCE model.
2020-11-15 10:31:24 -05:00
Joel Carter d94f67097f Add generated CRDs 2020-11-15 08:57:37 -06:00
Joel Carter 9d760243de Add generated files
For `HorizontalPodAutoscalerInitialReadinessDelay` &
`HorizontalPodAutoscalerCPUInitializationPeriod`
2020-11-15 08:16:21 -06:00
Joel Carter da6b5d1bc4 Expose flags for HorizontalPodAutoscaler
Enable setting of the
`horizontal-pod-autoscaler-initial-readiness-delay` and
`horizontal-pod-autoscaler-cpu-initialization-period` flags
2020-11-15 07:53:58 -06:00
Ciprian Hacman f2a947275d Switch bacl ARM64 CI to regular CPU 2020-11-15 12:32:24 +02:00
Ciprian Hacman 8eb99e30fb Update Go to v1.15.5 2020-11-15 12:32:24 +02:00
Ciprian Hacman 924ab9effa Update Bazel rules for Go to v0.24.7 2020-11-15 12:32:24 +02:00
Ciprian Hacman 1fc24b884e Remove Bazel build steps for node-authorizer 2020-11-15 12:09:50 +02:00
Bharath Vedartham 208199ba85 instancegroups: Clear out the TODO comment
Now that we are  able to associate pod validation failures with the
instance groups. We can remove the TODO comment
2020-11-15 11:07:45 +05:30
Bharath Vedartham 424ab3734e validate_cluster_test: enhance validatePodFailure tests
We are now able to identify the instance group associated with a pod.

Add an extra layer to the validatePodFailure to the test where we
create a mock InstanceGroup and associate the pod failures with the
instance group to which the pod belongs to.
2020-11-15 11:07:21 +05:30
Bharath Vedartham 5c9b688984 validate_cluster: Create node to instance group mapping to get pod instance group
In the ValidationError struct, there is a field to identify the instance group to
which the ValidationError is associated with.

For pod related ValidationErrors, it is not straightforward to identify the
instance group to which the pod is associated with.

To acheive this, we create a node to instance group mapping in ValidateNodes.
This node to instance group mapping is used in collectPodFailures to identify the
pod instance group by using the pod's hostIp field.

We don't associate system-cluster-critical pods to instance groups as those pod
failures are cluster wide
2020-11-15 11:06:03 +05:30
Kubernetes Prow Robot 01b17be97e
Merge pull request #10221 from eddycharly/fix-validation
Fix cluster validation dependency on local kubeconfig
2020-11-14 14:17:03 -08:00
Kubernetes Prow Robot a1965855ab
Merge pull request #10238 from bharath-123/add-opt/docker-config
Add default runtime and runtimes fields in the docker config
2020-11-14 12:35:03 -08:00
John Gardiner Myers 046a64cb19 Use separate domain for kops-controller bootstrap 2020-11-14 12:14:34 -08:00
Bharath Vedartham c294e3df58 dockerconfig: Add default runtime and runtimes fields 2020-11-15 01:21:19 +05:30
Kubernetes Prow Robot 9e14b29867
Merge pull request #10235 from axpraka/update-kops-as-kOps
Update kops as kOps and remove extra spaces from .md files
2020-11-14 07:45:05 -08:00
Ciprian Hacman 3ca128d5ef make gen-cli-docs 2020-11-14 16:02:59 +02:00
axpraka ab05d1873b
Update cmd/kops/root.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-11-14 08:24:15 -05:00
axpraka cb53f89c22 kops as kOps for document
Updated kops as kOps for document.
2020-11-13 23:45:11 -05:00
Kubernetes Prow Robot 4baedc57ab
Merge pull request #10228 from karancode/fix-readme
Fix readme
2020-11-13 19:15:03 -08:00
Kubernetes Prow Robot de65803ceb
Merge pull request #10222 from johngmyers/prune-misc
Don't install the misc packages for k8s 1.20+
2020-11-13 17:47:06 -08:00
axpraka 3033caa5e7 Update kops as kOps and remove extra spaces from .md files
- Updated kops as kOps in .md files.
- Remove extra spaces from .md files
2020-11-13 20:09:51 -05:00
John Gardiner Myers 2ef4aa2dbb Move nfs packages to packages.go 2020-11-13 13:37:47 -08:00
karancode 3221aa0bad fix github readme
fix docs

fix

unify curl options

fix
2020-11-14 05:41:14 +09:00
Kubernetes Prow Robot 20cb30828b
Merge pull request #10231 from hakman/audit-logging
Update docs related to audit logging
2020-11-12 22:46:23 -08:00
John Gardiner Myers 77c4ad4092 Don't install the misc packages for k8s 1.20+ 2020-11-12 22:22:06 -08:00
Kubernetes Prow Robot b49f8575d6
Merge pull request #10230 from hakman/ci-arm64-graviton2
Switch ARM64 CI to Graviton2 CPU
2020-11-12 21:38:24 -08:00
Ciprian Hacman ee39733542 Update docs related to audit logging 2020-11-13 07:36:08 +02:00
Ciprian Hacman e7614fdabb Switch ARM64 CI to Graviton2 CPU 2020-11-13 06:47:44 +02:00
Kubernetes Prow Robot c8e6ceea17
Merge pull request #10217 from hakman/nits
Fix various nits
2020-11-12 14:54:25 -08:00
Kubernetes Prow Robot 0db65a8583
Merge pull request #10195 from MoShitrit/update-ubuntu-ami-version
Update Ubuntu ami to latest version
2020-11-12 12:34:24 -08:00
Kubernetes Prow Robot 048caa3b5b
Merge pull request #10227 from MoShitrit/update-k8s-versions-nov-2020
Update k8s versions nov 2020
2020-11-12 11:24:25 -08:00
MoShitrit 131aa43b46 Update stable with most recent ubuntu AMI version 2020-11-12 14:15:05 -05:00
Kubernetes Prow Robot db473a11cd
Merge pull request #10194 from elblivion/etcdmanager-logverbosity
Make etcd-manager log verbosity configurable
2020-11-12 10:39:07 -08:00
MoShitrit a021127233 Update 1.18 2020-11-12 13:13:49 -05:00
Ciprian Hacman c8de1d3042 Handle cluster cleanup more gracefully 2020-11-12 18:21:04 +02:00
Ciprian Hacman c946f16c32 Print changes also for consistency errors 2020-11-12 14:34:35 +02:00
Ciprian Hacman 4579a1bcdc Validate external IAM policies 2020-11-12 14:34:35 +02:00
Kubernetes Prow Robot 723cb6e6e1
Merge pull request #10225 from djablonski-moia/fix/cluster-autoscaler-docs
Fix cluster autoscaler docs
2020-11-12 03:26:50 -08:00