Ciprian Hacman
661bd6dfbd
Add "owned" tag for all instance groups related resources
2020-03-02 10:39:50 +02:00
Justin SB
5d7fc87102
Update expected output to include v in github URLs
2020-02-05 20:58:03 -05:00
Peter Rifel
e0cebf30e5
Update terraform resource names to be 0.12 compatible.
...
According to the upgrade guide [0] resource names cannot start with digits.
Currently both routes and VPC CIDR associations start with digits, so this adds prefixes to them so that they are valid resource identifiers in 0.12.
This is a significant change because on its own, terraform will destroy and recreate the route which impact the cluster networking.
To avoid this, existing clusters this will require moving the resources within the terraform state prior to the next `apply`.
```
kops update cluster --target terraform --out ./
terraform state mv aws_route.0-0-0-0--0 aws_route.route-0-0-0-0--0 # repeat for all aws_route resources
terraform plan
terraform apply
```
The exact terraform state command may vary depending on how Kops' terraform output is used.
See the command documentation [1] for more details.
Always run a terraform plan first to ensure the `aws_route` and `aws_vpc_ipv4_cidr_block_association` resources are not getting recreated.
Due to the potential impact, this notice should be very prominant in the Kops release notes
[0] https://www.terraform.io/upgrade-guides/0-12.html
[1] https://www.terraform.io/docs/commands/state/mv.html
2020-01-17 07:51:39 -06:00
Kubernetes Prow Robot
63930904c3
Merge pull request #8269 from justinsb/ops_kops_writeable
...
Make /opt/kops writeable on COS
2020-01-06 01:33:34 -08:00
Kubernetes Prow Robot
e4da659509
Merge pull request #8196 from justinsb/dont_preload_unused_images
...
For dev, don't preload docker images on nodes
2020-01-04 16:15:40 -08:00
Justin Santa Barbara
6c41748640
Download nodeup into a writeable path on COS
...
/opt/ isn't writeable on COS, so we download to /var/lib/toolbox/kops
instead.
2020-01-04 18:16:08 -05:00
Kubernetes Prow Robot
78267482bf
Merge pull request #8212 from hakman/move-nodeup
...
Move nodeup to /opt/kops/bin
2020-01-04 14:49:40 -08:00
Justin SB
976724dfec
Update tests for leaner configuration
2020-01-04 14:25:21 -05:00
Peter Rifel
21c5a82ed3
Update mock kops version
2020-01-03 08:17:02 -06:00
Ciprian Hacman
474cb76827
Update tests
2019-12-28 22:17:16 +02:00
Ciprian Hacman
760c7b06b4
Use containerd 1.2.4 with Docker 18.09.3
2019-12-23 19:26:38 +02:00
Ciprian Hacman
f1ffd9a7f6
Rename config option contained.configFile to containerd.configOverride
2019-12-16 00:59:26 +02:00
Ciprian Hacman
1a4d8bf49c
Add support for containerd container runtime - tests
2019-12-15 21:37:57 +02:00
Gabriel Tiossi
35071ccaff
test: Volume integration in update_cluster/complex
...
Add rootVolumeDeleteOnTermination and deleteOnTermination to test if
volumes are being retained properly in direct, terraform and
cloudformation
2019-12-04 13:13:23 -03:00
Kubernetes Prow Robot
1bb829bb4a
Merge pull request #7378 from justinsb/add_artifacts_k8s_io
...
Add artifacts.k8s.io to mirror list
2019-10-12 11:18:37 -07:00
Justin SB
1a7bb9d21e
Update expected test output
2019-10-05 16:40:31 -04:00
Justin SB
4e1e596fc9
Add artifacts.k8s.io to mirror list
...
The official mirror is coming!
2019-09-30 12:03:53 -04:00
Justin SB
b094fc0f29
Add test for the float -> resource.Quantity switch
...
Check that we produce values that can still be parsed
2019-09-29 13:50:47 -04:00
Justin SB
e5d710616a
Add test for float args
...
We likely need to change from floats to resource.Quantity, so we need
to estabilsh more test coverage before we can safely make the change.
2019-09-29 13:14:21 -04:00
Justin SB
1580d4c82b
Update tests to use k8s >= 1.14
...
Where tests are using a version of k8s that is now really deprecated,
replace it with k8s 1.14.0.
2019-09-14 13:58:50 -04:00
Justin SB
21cb8ece06
Label AWS ASGs with kops.k8s.io/instancegroup
...
We will use this to map an AWS instance to the instance group.
2019-09-02 09:26:23 -07:00
Austin Moore
4485b115f4
Default CrossZoneLoadBalancing to false if not set
2019-07-26 12:21:43 -04:00
Justin SB
ba9a4afc43
apigroup -> kops.k8s.io: Tests & supporting changes
...
Autogenerated code, docs & test changes
Also a new test for the older "kops" apiGroup, to make sure that
continues to work.
2019-05-06 22:26:29 -04:00
mikesplain
d6c02d3d72
Fix tests
2019-03-29 13:29:11 -04:00
ryan-dyer
e131f67b39
Add additional tags to expected TF output
2019-03-20 10:19:10 -05:00
David Archer
36d2282d6b
AWS: Enable ICMP Type 3 Code 4 for API server ELBs
2019-01-12 07:20:17 -05:00
Rohith
2fc634c556
Revert "Apply cloud labels into ELB"
...
This reverts commit b52c945f9f .
2018-09-25 13:53:38 +01:00
k8s-ci-robot
c61fb537ac
Merge pull request #5593 from wingyplus/elb_cloud_labels
...
Apply cloud labels into ELB
2018-08-18 02:00:01 -07:00
Justin Santa Barbara
1c3949bdfe
Don't assume that we only have one subnet per AZ
...
I made a mistaken assumption in
dde2100a19 that we only had one subnet
per AZ, but as demonstrated in #5587 this was not the case.
What I was trying to achieve was not to include the cluster name, so
for the case of subnets this commit just uses the subnet name from the
cluster spec, which should be unique and stable. That is hopefully at
least as meaningful.
Thankfully we hadn't released a version with the erroneous naming.
Fix #5587
2018-08-13 13:15:03 -04:00
Thanabodee Charoenpiriyakij
b52c945f9f
Apply cloud labels into ELB
...
Fixes #2048
2018-08-11 00:43:19 +07:00
Christian Kampka
00cd85d73e
Add autoscaling group ids to terraform module output
2018-07-20 13:15:03 +02:00
Christian Kampka
978f66266c
Generate locals for terraform target
2018-07-13 22:28:27 +02:00
Justin Santa Barbara
e24aa79aa9
Updated terraform expected test output
2018-06-04 10:52:08 -07:00
k8s-ci-robot
5cda02ca2b
Merge pull request #4695 from vendrov/instnace_monitroing_support
...
Add support for instance monitoring
2018-03-25 14:17:01 -07:00
k8s-ci-robot
63225eb674
Merge pull request #4784 from justinsb/always_tag_volumes
...
Make sure volumes are tagged
2018-03-24 23:32:00 -07:00
Justin Santa Barbara
0ce7dbf4bd
Update tests for new volume tags
2018-03-25 00:08:24 -04:00
Justin Santa Barbara
0e22bf4ab5
Update tests for new security group tags
2018-03-24 22:19:59 -04:00
devops
d734f35126
Add support for instance monitoring
...
Add API backward comptability
Add api generated files
documenting detailed-monitoring
instance-group json typo
Update test expected result
to support enable_monitroing
Add instance-monitroing support to CF
Improve doc, test and rename InstanceMonitoring
Rename instnace-monitoring to fit the YAML kops form
typo detailedInstanceMonitoring
2018-03-21 23:06:38 +02:00
Justin Santa Barbara
650bd98ea2
Update integration tests with new tags
2018-03-15 20:11:54 -04:00
k8s-ci-robot
aa6e801e18
Merge pull request #3829 from mikesplain/suspendAZRebalance
...
Add Instance Group Suspend Processes
2018-02-25 22:20:52 -08:00
chrislovecnm
6e32329fb0
updating integration tests
2018-02-23 14:02:50 -07:00
Mike Splain
fdc2695fe1
Add suspendProcesses to IGs
2018-02-20 09:30:18 -05:00
Justin Santa Barbara
6e562e0742
Support updating autoscaling metrics
2018-02-20 00:53:24 -05:00
Johannes Würbach
02855fc13f
Enable metrics for AutoScalingGroups
...
Those metrics simplify monitoring the created ASGs and are free [0].
Enable them by default.
[0] https://aws.amazon.com/about-aws/whats-new/2016/08/free-auto-scaling-group-metrics-with-graphs/
2018-01-25 20:06:10 +01:00
Kashif Saadat
5850b434b4
Add SubnetType Tag to Subnets
2018-01-08 10:53:58 +00:00
Abdullah Almariah
22194c982d
Update kubernetes.tf for API loadbalancer
2017-12-13 01:29:16 +01:00
Abdullah Almariah
16ed8982e6
update_cluster complex integration test
2017-12-13 00:31:59 +01:00
Justin Santa Barbara
581e954062
Block etcd peer port from nodes
...
Ports 2380 & 2381 should not be exposed to nodes.
Fix #3746
2017-11-25 16:36:46 -05:00
Eric Hole
239199caed
Updates to test files
2017-10-22 11:47:54 -07:00
Justin Santa Barbara
3ab5264ee4
Fix update cluster integration test for bazel
...
Bazel doesn't like overlapping file paths; this is much cleaner anyway.
2017-10-03 20:51:00 -04:00