Ciprian Hacman
689b76d0ff
Mark control-plane node for update when etcd manager config changes
2021-05-02 08:50:42 +03:00
Ciprian Hacman
d64cfba365
Mark control-plane node for update when etcd volume size changes
...
etcd-manager expands the data volume on restart to the max available.
2021-05-01 12:06:22 +03:00
Kubernetes Prow Robot
4507be8e13
Merge pull request #10469 from justinsb/boot_nodes_from_kops_controller
...
Boot nodes without state store access
2021-02-08 11:28:19 -08:00
Justin SB
1d76a15f69
Set the tcp_rmem sysctl in bootstrap script
...
This ensures that we're using our settings for downloading nodeup
itself and any assets that nodeup downloads. This is a workaround for
reported problems with the initial download on some kernels otherwise.
Issue #10206
2021-01-24 21:50:45 -05:00
Ole Markus With
4d2eca199f
Remove node-authorization
2021-01-11 18:59:45 +01:00
Justin SB
4ac9d5c17b
Boot nodes without state store access
...
kops-controller can now serve the instance group & cluster config to
nodes, as part of the bootstrap process.
This enables nodes to boot without access to the state
store (i.e. without S3 / GCS / etc permissions)
Feature-flagged behind the KopsControllerStateStore feature-flag.
2021-01-09 13:08:48 -05:00
Ciprian Hacman
c02434269f
Fix cluster setup when KOPS_ARCH is set
2020-12-23 17:08:20 +02:00
Kenji Kaneda
a61caea8d2
Add Azure support
...
This commit contains all changes required to support Azure
(https://github.com/kubernetes/kops/issues/3957 ).
2020-12-21 08:27:54 -08:00
Justin SB
7d9ff3ba96
Refactor MirroredAsset into mirrors package
...
This means we can use MirroredAsset for nodeup without circular
dependencies. Also removes a duplicate constant that was declared
twice.
2020-12-19 18:39:09 -05:00
Justin SB
45d11ba12c
Replace (some) deprecated ResourceHolder with Resource
...
This removes more of the deprecated type, but it also simplifies
refactoring the GCE InstanceTemplate.
2020-12-19 09:51:43 -05:00
Ole Markus With
4fa6f56ecd
Use the kubernetes-sigs version of yaml
2020-12-15 10:38:01 +01:00
Rodrigo Menezes
3fb12c66ae
gzip and base64 encode the heredocs in the nodeup.sh portion of user-data
2020-12-04 10:46:18 -08:00
Ole Markus With
6efb91a15b
Don't write application credentials to cloud config unless external CCM is enabled
2020-09-15 09:45:09 +02:00
Ole Markus With
94833faca5
Only add OS variables if they are needed
2020-08-18 20:58:54 +02: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
Ole Markus With
a708a96c05
Adds support for using OS application credentials
...
Application credentials allows you to export a purpose-specific set of
credentials for a user instead of exposing user login credentials.
Especially useful when using LDAP or similar for Openstack users.
Also lets you rotate credentials more easily since multiple application
credentials can be provisioned per user.
Update pkg/model/bootstrapscript.go
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2020-08-07 14:26:47 +02: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
John Gardiner Myers
f4f4763dc2
Refactor more certs to be issued by nodeup
2020-06-28 23:12:13 -07:00
John Gardiner Myers
44fb283e3f
Move NodeLabels into the NodeupConfig
2020-06-28 18:52:03 -07:00
John Gardiner Myers
1ba0f0d463
Move Taints into the NodeupConfig
2020-06-28 18:51:42 -07:00
John Gardiner Myers
5e5f25703d
Move KubeletConfig into the NodeupConfig
2020-06-28 18:51:16 -07:00
John Gardiner Myers
013f9bf914
Create bootstrap script in a Task
2020-06-26 19:11:40 -07:00
John Gardiner Myers
cef5b175c7
Rename BootstrapScript to BootstrapScriptBuilder
2020-06-26 10:57:36 -07:00
John Gardiner Myers
304476cebf
Refactor BootstrapScript
2020-06-18 22:17:39 -07:00
Ciprian Hacman
602cb825e7
ARM64 support - Update bootstrap script for multi-arch
2020-06-19 04:42:11 +03:00
John Gardiner Myers
2d98e5609c
Remove/fix more CoreOS references
2020-05-22 20:54:41 -07:00
Nicolas Vanheuverzwijn
7041a43982
issue-8330: return empty nodeup template when calculating bastion userdata without additionaluserdata
2020-01-13 14:50:50 -05:00
Kubernetes Prow Robot
2711ed3f11
Merge pull request #8247 from bittopaz/fix-env-vars
...
Stabilize sequence of "export xx=xxx" statements
2020-01-11 07:29:37 -08:00
Kubernetes Prow Robot
be1eea3474
Merge pull request #7772 from zadowsmash/fix-rhel-yum-config
...
fixed yum proxy configuration
2020-01-04 19:39:40 -08:00
Xiaoyu Zhong
9b3d690141
Stabilize sequence of "export xx=xxx" statements
2020-01-03 11:14:28 +08:00
Ciprian Hacman
42b73b877d
Add support for containerd container runtime
2019-12-15 21:37:57 +02:00
hwdef
b0c63b4cd9
pkg: fix static check
2019-10-24 14:16:41 +08:00
Ash Rohde
6b9d5d24f0
fixed yum proxy configuration
2019-10-11 14:23:31 +11:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin SB
9f213c515b
Protect against nil derefence
2019-04-29 21:05:09 -07:00
Kubernetes Prow Robot
9ecabb9159
Merge pull request #6628 from AliyunContainerService/flags
...
add ALI flags
2019-03-25 09:23:09 -07:00
Derek Lemon (delemon)
b09bb9eb37
Openstack environment escaping
2019-03-21 15:56:57 -06:00
Lily
e4cbd3c17c
add ALI flags
2019-03-16 17:26:44 +08:00
Eric Greer
478f464dfb
fixing nil reference
2019-02-22 09:23:19 -08:00
Eric Greer
31a4c40131
merge conflict resolution
2019-02-21 15:20:05 -08:00
Eric Greer
8362b1260e
etcd memory requests can now be specified
2019-02-21 15:14:51 -08:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco)
4e752ca62d
Openstack Environment Variable Mapping
2019-01-15 14:21:41 -07:00
Mike Splain
547bf470a0
Not required
2018-07-23 20:44:37 -04:00
k8s-ci-robot
2dbb6e84f6
Merge pull request #5077 from yancl/master
...
change gossip dns conn limit by ENV
2018-07-19 21:40:52 -07:00
Rohith
79cff25eb4
- fixing up on the comments raised by on the review
2018-07-06 20:14:35 +01:00
Rohith
338a6d721c
Changes
...
- including the config only when there is something to include i.e. no nulls please
- fixing up the pod security policies for system:nodes groups, needs a mapping to permit manifests
2018-07-06 20:14:35 +01:00
Rohith
304d0ce8a9
- consuming the node authorization api spec in nodeup binary
...
- adding the options builder to fill in the model
- adding the spec into the bootstrap config
2018-07-06 20:14:35 +01:00
liang
ebfb3c241b
change gossip dns conn limit by ENV
2018-04-28 15:50:19 +00:00
Justin Santa Barbara
e158f84e9f
Set AWS_REGION into bootstrapscript
...
Fix #4451
2018-04-12 17:39:24 -04:00
andrewsykim
27e8902016
digitalocean: add nodeup support
2018-04-01 10:11:07 -04:00
k8s-ci-robot
0ff7d4de99
Merge pull request #4452 from duboisf/support-bastion-user-data
...
Add support for bastion aws user-data
2018-02-28 03:54:45 -08:00
Mike Splain
fdc2695fe1
Add suspendProcesses to IGs
2018-02-20 09:30:18 -05:00
Fred Dubois
6b38b2c3a6
Add support for bastion aws user-data
...
Fixes #4444
2018-02-19 08:52:10 -05:00
Kashif Saadat
ac25853cd5
- Add etcdClusterSpec Image & Version in bootstrap data for Master nodes
...
- Reuse execWithTee fn for ETCD Command (tee & mkfifo in different path for newer image versions)
2018-02-10 12:14:36 +00:00
Justin Santa Barbara
ec8db8b78c
Initial implementation of bundle command
...
The bundle command will support enrollment of a machine via SSH.
2018-01-04 18:55:28 -05:00
Kashif Saadat
f0c3ed8965
Include encryptionConfig setting within userdata for masters.
2017-11-16 15:58:59 +00:00
Rodrigo Menezes
ef24cec62b
Fixing naming convention and adding running API machinery.
2017-11-09 14:30:48 -08:00
Rodrigo Menezes
3cfa67c3e6
Merge remote-tracking branch 'upstream/master' into extra_user-data
2017-11-08 22:20:54 -08:00
Kashif Saadat
43f193e6ea
Bugfix for bootstrapscript repeatedly generating different content when HookSpecs have ExecContainerAction defined.
2017-11-07 18:17:26 +00:00
Rodrigo Menezes
1fe56a1603
Move user-data to IG spec
2017-11-06 23:25:37 -08:00
Rodrigo Menezes
75aa120f43
Merge remote-tracking branch 'upstream/master' into extra_user-data
2017-10-15 17:17:12 -07:00
Rodrigo Menezes
e77cda1af1
Allow passing in extra user-data to cloud-init
2017-10-15 17:10:03 -07:00
Kashif Saadat
c78790f902
Modified OS detection logic when updating http proxy settings.
2017-10-13 19:08:47 +01:00
Kashif Saadat
e4919d0c39
Add file assets to node user data scripts, fingerprint sections of the
...
hooks and fileAssets specs.
2017-09-01 15:25:04 +01:00
Rohith
293292173a
Inline Conponent Configuration
...
The current implementation does not ignore any possible interpolation of bash in the content. This PR wrapped the various spec content in 'EOF' to ignore all.
- updated the tests to reflect the changes
- wrapped the component configuration in 'eof' to ensure interpolation is ignored
2017-08-25 00:36:06 +01:00
Kashif Saadat
fb3e8308f1
Add hooks to bootstrapscript output
2017-08-14 18:22:48 +01:00
Kashif Saadat
e0461b92a9
Add ability to store partial cluster and instancegroup spec in userdata,
...
so component config changes are detected and causes nodes to be updated
2017-08-09 14:15:02 +01:00
Derek VerLee
ffa95b8112
Add support for cluster using http forward proxy
2017-08-07 14:30:42 -04:00
Rohith
b5066c967b
Vetting / Formating / Cleanup
...
- fixed any of the vettting / formatting issues that i'm came across on the update
- removed the commented out lines from the componentconfig as it make its increasingly difficult to find what is supported, what is not and the difference between them.
- added SerializeImagePulls, RegisterSchedulable to kubelet (by default they are ignored)
- added FeatureGates to the kube-proxy
Out of interest can someone point me to where these multi-versioned componentconfig are being used?
2017-07-28 17:16:11 +01:00
Hanfei Shen
fc50984f09
support china region
2017-07-16 00:57:38 +08:00
Miao Luo
22c49e76cb
Fix user-defined s3 endpoint support.
...
Address review feedbacks and remove unintended space.
2017-04-19 23:46:05 -07:00
Miao Luo
76437a77d4
Support user-defined s3 endpoint.
2017-04-18 11:27:07 -07:00
Justin Santa Barbara
b9204e9911
Initial Container-Optimized OS support
...
Add initial support for google's container-optimized OS (available on
GCE).
2017-03-20 23:47:37 -04:00
Justin Santa Barbara
645f330dad
Re-enable GCE support
...
We move everything to the models. We feature-flag it, because we
probably want to change the names etc, and we aren't going to be able to
offer smooth upgrades until that is done.
2017-02-28 20:08:03 -05:00