Justin SB
b158ffab04
Refactor: KopsModelContext embeds IAMModelContext
...
go syntax makes this an annoying change, unfortunately.
2020-08-25 11:22:34 -04:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Kubernetes Prow Robot
96ab8423b1
Merge pull request #9566 from hakman/arm64-images
...
Add ARM64 support for masters
2020-08-14 20:46:17 -07:00
John Gardiner Myers
2472e75bbf
Remove unused tags functionality
2020-08-14 14:29:30 -07:00
Ciprian Hacman
331d223043
ARM64 support - Side-load multi-arch images
2020-08-10 13:47:07 +03:00
Ciprian Hacman
cd74b9d1a6
ARM64 support - Don't generate Protokube assets for mock
2020-08-10 12:05:24 +03:00
Ole Markus With
48a72467c2
When channel is unavailable, don't try to validate things from it
...
Update upup/pkg/fi/cloudup/apply_cluster.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-08-04 09:00:16 +02:00
Ciprian Hacman
e439684445
Refactor networking assets finder
2020-08-02 22:36:33 +03:00
Kubernetes Prow Robot
2fbef78143
Merge pull request #9650 from johngmyers/update-notag
...
Remove tags from NodeupConfig
2020-07-31 02:27:08 -07:00
John Gardiner Myers
c2cb6646af
Remove tags from NodeupConfig
2020-07-29 17:24:39 -07:00
John Gardiner Myers
2e7101a1a6
Remove unused functionality from TreeWalker
2020-07-29 14:18:31 -07:00
John Gardiner Myers
3201cc4dd8
Require extra flag when updating cluster with downgraded kops version
2020-07-17 11:11:12 -07:00
Kubernetes Prow Robot
b11e055db2
Merge pull request #9539 from hintofbasil/lyft-hash-environment-variable
...
Add lyft hash environment variable
2020-07-09 11:04:33 -07:00
William Hutcheson
acebce5b26
Add lyft hash environment variable
2020-07-09 13:57:05 +01:00
Ciprian Hacman
9b77f372f1
Fix typo in function name
2020-07-09 10:45:50 +03:00
Ciprian Hacman
827d8c041f
Update mock version to 1.19.0-alpha.1
2020-07-08 18:31:18 +03:00
Kubernetes Prow Robot
0c62641dad
Merge pull request #9354 from johngmyers/refactor-certs-2
...
Continue refactoring certs into nodeup
2020-07-06 17:13:57 -07:00
Ciprian Hacman
a7c8d2087c
Use github.com/blang/semver/v4
2020-07-01 08:54:42 +03:00
John Gardiner Myers
f4f4763dc2
Refactor more certs to be issued by nodeup
2020-06-28 23:12:13 -07:00
Kubernetes Prow Robot
d461bfddaf
Merge pull request #9449 from johngmyers/userdata-task
...
Refactor BootstrapScript into a Task
2020-06-28 16:40:14 -07:00
Kubernetes Prow Robot
679b9db9a1
Merge pull request #9422 from johngmyers/trim-loader
...
Remove dead cloudup code
2020-06-28 13:42:14 -07:00
John Gardiner Myers
cef5b175c7
Rename BootstrapScript to BootstrapScriptBuilder
2020-06-26 10:57:36 -07:00
Kubernetes Prow Robot
07dc255559
Merge pull request #9402 from johngmyers/refactor-userdata
...
Prepatory refactoring of BootstrapScript
2020-06-26 05:23:31 -07:00
John Gardiner Myers
a76a1cd127
Remove unused model options
2020-06-21 22:37:16 -07:00
John Gardiner Myers
51c5d1e66d
Remove dead code in cloudup.Loader
2020-06-21 22:13:37 -07:00
Xiaoyu Zhong
709e7ef33c
Refactor Alicloud LoadBalancerWhiteList to LoadBalancerACL
2020-06-22 09:32:21 +08:00
John Gardiner Myers
99c8c4b8fc
Move apply logic down into pkg for import use
2020-06-19 23:51:41 -07:00
John Gardiner Myers
f539e2937e
Build assets, etc. earlier
2020-06-18 22:30:04 -07:00
John Gardiner Myers
304476cebf
Refactor BootstrapScript
2020-06-18 22:17:39 -07:00
Ciprian Hacman
de6f6e9677
ARM64 support - Generate multi-arch config for assets
2020-06-19 04:42:11 +03:00
Kubernetes Prow Robot
88b53ca046
Merge pull request #9390 from justinsb/cleanup_bootstrap_context
...
Refactor to clean up TemplateFunctions
2020-06-17 23:36:04 -07:00
Justin SB
af09f50fef
Refactor to clean up TemplateFunctions
...
We had some fields that were duplicated; this was confusing and seemed
likely to cause (subtle) bugs.
2020-06-17 23:39:16 -04:00
John Gardiner Myers
a5f5acc09d
Move the instancegroup role into NodeupConfig
2020-06-17 09:05:15 -07:00
John Gardiner Myers
0d74344a43
Remove the baremetal cloud provider
2020-06-14 10:38:29 -07:00
Justin SB
6334da47b6
Refactor BootstrapChannelBuilder to use a KopsModelContext
...
Cleaner, and preparation for ServiceAccount IAM support.
2020-06-11 21:29:16 -04:00
Peter Rifel
bc074e857c
Use ec2.DescribeInstanceTypes in awsup.GetMachineTypeInfo
...
This requires passing a cloud object in additional places throughout the validation package and originating mostly from cmd/kops
This means that some kops commands now require valid cloud provider credentials, but I don't think this is an issue because the vast majority of use-cases already require the same cloud provider credentials in order to interact with the state store.
2020-06-09 10:13:01 -05:00
ZouYu
2fc52ec6be
fix some go-lint warning
...
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-06-09 08:52:50 +08:00
John Gardiner Myers
e88e0cf7ec
Remove code supporting dropped k8s versions
2020-06-04 12:11:51 -07:00
John Gardiner Myers
07f5e58cac
Bump supported and recommended k8s versions for kops 1.19
2020-06-04 12:11:51 -07:00
Ciprian Hacman
c0b62a74ca
Remove all traces of utils.tar.gz
2020-06-03 09:55:45 +03:00
Ole Markus With
7342525872
Remove vsphere from kops files
2020-05-30 13:36:55 +02:00
Kubernetes Prow Robot
6830cf6d44
Merge pull request #9065 from johngmyers/remove-distro
...
Remove support for CoreOS and Jessie
2020-05-27 23:22:01 -07:00
Kubernetes Prow Robot
bfd65ae589
Merge pull request #9157 from olemarkus/networking-cleanup
...
Networking cleanup
2020-05-24 07:03:10 -07:00
liranp
23c0cdab36
feat(spotinst): new hybrid mode
2020-05-23 21:39:04 +03:00
John Gardiner Myers
2d98e5609c
Remove/fix more CoreOS references
2020-05-22 20:54:41 -07:00
Ole Markus With
d1ff25bb4e
Remove some rather long networking nil checks
2020-05-22 08:08:58 +02:00
Justin Santa Barbara
7e710e85d9
DNS: Apply should be a no-op when empty
...
Document the contract a bit more, change the signature by adding a
context arg and following through to make sure we honor the contract
everywhere.
2020-05-17 16:45:08 -04:00
Justin SB
75fd939a62
kube-apiserver: healthcheck via sidecar container
...
kube-apiserver doesn't expose the healthcheck via a dedicated
endpoint, instead relying on anonyomous-access being enabled. That
has previously forced us to enable the unauthenticated endpoint on
127.0.0.1:8080.
Instead we now run a small sidecar container, which
proxies /healthz and /readyz requests (only) adding appropriate
authentication using a client certificate.
This will also enable better load balancer checks in future, as these
have previously been hampered by the custom CA certificate.
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-05-07 08:06:52 -04:00
John Gardiner Myers
126c4c8d37
Allow cluster maintenance when channel is unavailable
2020-05-03 13:48:15 -07:00
Justin Santa Barbara
31bb16d4d1
Add context.Context to most signatures
...
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory. Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00