Justin Santa Barbara
8d9d65d004
Include error in message when we fail to query AZs
2016-12-03 09:45:03 -05:00
alok87
ef73285659
Connection settings loadbalancer
2016-12-03 02:38:22 +05:30
alok87
fd51303622
Check for topology nil and bastionMachineType empty handle
2016-12-02 13:20:06 +05:30
Kris Childress
c3d166805f
Merge pull request #1021 from DualSpark/weave-bump-version
...
bumping weave version
2016-12-01 20:43:29 -07:00
Zachary Adam Kaplan
8b91b71e34
adds more machine types
...
adds the following machine types:
* r4.large
* r4.xlarge
* r4.2xlarge
* r4.4xlarge
* r4.8xlarge
* r4.16xlarge
* t2.xlarge
* t2.2xlarge
2016-12-02 00:23:49 +00:00
chrislovecnm
517a81bb05
bug in my fix header script
2016-11-30 22:52:04 -07:00
chrislovecnm
3f29bc982e
updating header
2016-11-30 22:46:33 -07:00
chrislovecnm
1bbbe0b71d
bumping weave version
2016-11-30 22:06:12 -07:00
alok87
d4eccb2688
Made bastion as part of TopologySpec
2016-12-01 09:56:45 +05:30
Kris Childress
f452890a86
Merge pull request #995 from justinsb/messaging_waiting_for_nat_gateway
...
Refactor wait-for-NAT-gateway code & add log messages
2016-11-30 08:44:23 -07:00
alok87
fa18857b43
Auto generated fi tasks for loadbalancer attributes
2016-11-30 09:16:22 +05:30
alok87
179ef94174
Unmarshal json to go values for bastion
2016-11-30 08:37:56 +05:30
alok87
a413ea5ac3
Merge remote-tracking branch 'kopsrepo/master' into bastion_improvements
...
* kopsrepo/master:
gcs-upload: Use a no-clobber copy instead
gcs-upload: Fix cache-control on other files as well
changes from code review
doc updates
unit tests with fakes
it is working in alpha
working on the start of validate
Starting work on node lookup and validation
starting porting node code
Fix retries for AutoScalingGroup pending delete
Apply gofmt to pkg directory
Avoid tests hitting kubernetes stable.txt HTTP file
Fix printing of max size on instance group
Disable kubelet from starting until after volume mounts
Fix Cluster parsing error message
bumping stable channel to k8s 1.4.6
support more zones(cn-north-1a/b) for cloud provider guess
2016-11-30 07:58:41 +05:30
alok87
f0b80503c3
Configure LoadBalancer Attributes
2016-11-30 07:35:45 +05:30
Kris Childress
72c5868966
Merge pull request #707 from DualSpark/node-validation
...
New feature - node validation
2016-11-29 16:47:44 -07:00
Chris Love
44555739aa
Merge pull request #1004 from zmerlynn/wait-asg-pending
...
Fix retries for AutoScalingGroup pending delete
2016-11-28 19:19:04 -07:00
chrislovecnm
82cf2c2c0f
working on the start of validate
...
cluster validation seem to be working. Need to test more
documentation yo
refactoring to get rid of import cycle not allowed
2016-11-28 18:16:32 -07:00
chrislovecnm
3ffc4e91cb
Starting work on node lookup and validation
2016-11-28 18:16:31 -07:00
chrislovecnm
89ac0d24f8
starting porting node code
2016-11-28 18:16:31 -07:00
Zach Loafman
e60c36068f
Fix retries for AutoScalingGroup pending delete
...
This:
- reworks how retries are handled in fi/executor.go to a time-based scheme
- changes the single-task limit to 10m (from about 30s of no-progress)
- eliminates the inner IAM propagation retry for LaunchConfigurations,
because the task itself will just be redriven for a while. This also
eliminates any long-pole delay caused by this error (since task Run()
should be 'fast').
2016-11-28 17:04:02 -08:00
Justin Santa Barbara
fced564a8f
Refactor wait-for-NAT-gateway code & add log messages
...
So users know what is happening
2016-11-28 10:23:47 -05:00
Justin Santa Barbara
4901573a0c
Avoid tests hitting kubernetes stable.txt HTTP file
...
Fix #949
2016-11-28 02:09:04 -05:00
Justin Santa Barbara
ddfa3e467e
Merge pull request #963 from yancl/support-more-zones-for-cloud-provider-guess
...
support more zones(cn-north-1a/b) for cloud provider guess
2016-11-28 01:44:17 -05:00
Zach Loafman
1f657990b3
Disable kubelet from starting until after volume mounts
...
* Change protokube to do `systemctl start kubelet` every sync round
** .. which takes a change to the systemd unit for protokube to mount in D-Bus
* Don't start kubelet in nodeup
2016-11-23 11:30:19 -08:00
Zach Loafman
5b3da840d5
Fix Cluster parsing error message
2016-11-23 07:47:39 -08:00
alok87
edf22f3797
Bastion DNS as an option and not by default
2016-11-23 12:40:45 +05:30
alok87
6b17c27572
Bastion Improvements
2016-11-23 12:37:42 +05:30
alok87
6206bc711e
Separate configuration for bastion
2016-11-23 12:35:10 +05:30
chrislovecnm
a47e0ccc10
missed addons
2016-11-22 16:29:05 -05:00
chrislovecnm
6e9a88151a
starting work on limits
2016-11-22 13:20:57 -07:00
Kris Childress
6e12fcf449
Merge pull request #944 from emerlinsky/patch-2
...
Wait for NatGateway creation to complete
2016-11-21 15:50:48 -07:00
yancl
927aa2ba69
support more zones(cn-north-1a/b) for cloud provider guess
2016-11-21 11:04:27 +00:00
yancl
bc444fd535
fix the aws region that hardcoded to "us-east-1" which doesn't work in
...
some isolated regions(cn-north-1 and GovCloud, for example)
2016-11-21 08:53:45 +00:00
Justin Santa Barbara
6f20979790
Adapt unit tests to sets.String; convert node tags also
2016-11-19 16:23:51 -05:00
Justin Santa Barbara
c3fd29a0e9
Logging cleanup
2016-11-19 16:23:51 -05:00
Justin Santa Barbara
a3fa83ac34
Switch to use sets.String
2016-11-19 16:23:51 -05:00
Justin Santa Barbara
76dc86ff49
Apply gofmt
2016-11-19 15:01:06 -05:00
Justin Santa Barbara
a34adc9be3
Update for new mount API
2016-11-19 15:01:00 -05:00
emerlinsky
0c21860e49
Wait for NatGateway creation to complete
...
NatGateway creation in AWS is a long procedure. It can take up to 10 min for NatGateway to go from Pending to Available state.
We have to use WaitUntilNatGatewayAvailable function to make sure that NatGateway is fully up before trying to use it.
Without this change all my tests attempts to create or update (add nodes to) kubernetis cluster with private topology in us-east-1 region failed with error:
```
W1117 12:14:08.719010 51863 executor.go:100] error running task "route/private-us-east-1c.kubpriv.pink-ptdevcloud.com": error creating Route: InvalidNatGatewayID.NotFound: The natGateway ID 'nat-08be6e70ddffd44d4' does not exist
status code: 400, request id: 5adf5c0a-c12f-4d6b-8dfd-186c51efff9f
```
2016-11-18 10:18:15 -08:00
chrislovecnm
3cd825e1ab
removing logging
2016-11-17 00:10:55 -05:00
chrislovecnm
19ea96e387
working on weave
2016-11-16 23:41:50 -05:00
chrislovecnm
4ae70c4fba
why is this no worky
2016-11-16 21:11:12 -07:00
chrislovecnm
0657abfa2a
adding a test
2016-11-16 22:41:18 -05:00
chrislovecnm
a890390fbf
updating bugs
2016-11-16 20:05:27 -05:00
chrislovecnm
f8e10dc200
because these peeps do awesome code reviews
2016-11-16 16:39:35 -07:00
chrislovecnm
25ee1e4cdb
adding weave support
2016-11-16 15:48:32 -07:00
Chris Love
4be4069d7f
Merge pull request #898 from justinsb/krouton
...
Support for kopeio-networking
2016-11-16 12:43:55 -07:00
Justin Santa Barbara
ee44353cde
Add support for kopeio networking
2016-11-16 14:20:23 -05:00
Zach Loafman
6e96b10f37
Merge pull request #905 from zmerlynn/increase-client-retries
...
Bump retries up to ~6m for a request
2016-11-15 16:18:52 -08:00
Chris Love
b5646694a6
Merge pull request #807 from justinsb/master_resources
...
Reduce CPURequests, so we can run on 1 core machine
2016-11-15 13:34:49 -07:00
Zach Loafman
64e64df5de
Bump retries up to ~6m for a request
2016-11-15 11:09:38 -08:00
Justin Santa Barbara
551e7a1343
Remove dead code: upup/pkg/fi/options.go
2016-11-14 22:47:40 -05:00
Justin Santa Barbara
f709f909e4
Options through code
2016-11-14 12:26:42 -05:00
Chris Love
42874db44f
Merge pull request #888 from JuJu227/correct_import_for_asset
...
for whatever reason the import was missing for asset, which caused co…
2016-11-14 09:49:55 -07:00
Justin Santa Barbara
ae84beddb7
Use more api machinery when writing
2016-11-13 22:11:36 -05:00
Justin Santa Barbara
933506bdbb
Apply gofmt
2016-11-13 21:06:55 -05:00
Carl B. beethoven1110@gmail.com
2e91af9fbe
for whatever reason the import was missing for asset, which caused compile failures for api and examples
2016-11-13 12:01:54 -05:00
Chris Love
18879f7094
Merge pull request #861 from DualSpark/patch-single-node
...
Fixing conditional for our single node friends
2016-11-10 11:11:28 -08:00
alok87
839707debe
Comment should be inside the if block Fix for - https://github.com/kubernetes/kops/issues/862
2016-11-10 21:50:10 +05:30
Kris Childress
52f0190080
Fixing conditional for our single node friends
2016-11-09 15:28:09 -08:00
Kris Childress
8c41dad16d
Unit Tests
...
- Adding populateClusterSpec unit tests
- Topology happy/sad paths
- Fleshing out topology in the buildMinimalCluster() function
2016-11-08 15:16:41 -08:00
Kris Childress
b1febd9caf
Stubbing out tests
...
- Fixing build errors
- Missed a privatemasters reference
- Fixing the nil pointer problem in SG awstask
2016-11-08 15:16:41 -08:00
Kris Childress
6f78e0ca18
Flipping associatePublicIP bool for nodes/bastion/master in private topology
2016-11-08 15:16:41 -08:00
Kris Childress
95a8c59fbf
Fixing NP panic
2016-11-08 15:16:41 -08:00
Kris Childress
729598a4ae
Updating error message for invalid topology.
2016-11-08 15:16:41 -08:00
Kris Childress
b8d2301812
Header linter fix
2016-11-08 15:16:41 -08:00
Kris Childress
3c92c6a9de
Fixing verbage for AWS route awstask
2016-11-08 15:16:41 -08:00
Kris Childress
c1644cc4e7
Remove refs to `privatemasters`
2016-11-08 15:16:41 -08:00
Kris Childress
479c7782d6
Fixing DNS annotations on pods / Bumping failed iterations
...
- Adding template functions to nodeup
- Adding 30 -> 42 iteration boost for attempted iterations without progress
- Adding template to kube api manifest
2016-11-08 15:16:41 -08:00
Kris Childress
cc2e920008
Fix for https://github.com/kubernetes/kops/pull/694#issuecomment-258308027
2016-11-08 15:16:41 -08:00
Kris Childress
712882f080
K8s API
...
- Fixing Kubernetes API forwarding in the ELB
- Fixing DNS for kubectul
- Fixing Suggestions: output for bastion
2016-11-08 15:16:41 -08:00
Kris Childress
78ecdb2165
Moar YAML cleanup and putting finishing touches on k8s debugging for tomorrow - Oh etcd... <3
2016-11-08 15:16:41 -08:00
Kris Childress
3f4bc39d52
Yaml Docs cleanup
2016-11-08 15:16:41 -08:00
Kris Childress
37f5bb7d57
Working networking commit!
...
- Stick bastion in ASG
- ELBs for API and Bastion
2016-11-08 15:16:41 -08:00
Kris Childress
0857ed1732
Working Bastion with ELB - now time to start on the k8s API :) :) :)
2016-11-08 15:16:41 -08:00
Kris Childress
312621b0d0
Pushing up some last minute tweaks before asking for help and feedback from testing
2016-11-08 15:16:41 -08:00
Kris Childress
e962f9c5fd
Adding bastion support
2016-11-08 15:16:41 -08:00
Kris Childress
cebdde3fb4
Woo! Time to start playing with private networks in AWS!!
2016-11-08 15:16:41 -08:00
Kris Childress
cb3157935c
Fixing CI build and cluster tests to work with topologies
2016-11-08 15:16:41 -08:00
Kris Childress
835e24f788
Working EIP and NGW CRUD for private networking..
...
Next step.. lets piece them all together
2016-11-08 15:16:41 -08:00
Kris Childress
de79ca21b8
Now that is one fine elastic_ip.go file
2016-11-08 15:16:41 -08:00
Kris Childress
a3dd1257ce
Working ElasticIP associations on subnet. Delete and Create!
2016-11-08 15:16:41 -08:00
Kris Childress
c1e8dbe9d6
More work on the network and EIP things
2016-11-08 15:16:41 -08:00
Kris Childress
e90b5faf7e
fitask header fix
2016-11-08 15:16:41 -08:00
Kris Childress
d729596bca
fitask header fix
2016-11-08 15:16:41 -08:00
Kris Childress
0f8f2d1ba1
fitask header fix
2016-11-08 15:16:41 -08:00
Kris Childress
db693a6add
fitask header fix
2016-11-08 15:16:41 -08:00
Kris Childress
9bd9e30bdd
Adding another large commit after a make codegen
2016-11-08 15:16:41 -08:00
Kris Childress
a1c5c77b23
docs
2016-11-08 15:16:41 -08:00
Kris Childress
a1ca6b7a5b
More progress - getting out to Github so I can switch laptops... will be needing 8 cores today :D
2016-11-08 15:16:41 -08:00
Kris Childress
8f30225b32
Switching over branches
2016-11-08 15:16:41 -08:00
Kris Childress
8fba14b85b
Small refactor - getting ready to start YAML
2016-11-08 15:16:41 -08:00
Kris Childress
000e847af2
Topology Initial Commit
...
- Refactor private networking -> topology
- Define new topology models (no changes yet)
- Docs
- Create cluster --topology and -t
- New functions for topology templating
2016-11-08 15:16:41 -08:00
Chris Love
60054495b0
Merge pull request #823 from DualSpark/plane-docs
...
Work from 30k before kubecon - getting some notes into the tree for discussion points
2016-11-08 01:15:12 -08:00
Kris Childress
649aef3782
Merge pull request #825 from justinsb/fix_813
...
Fix bug in security group matching
2016-11-07 21:40:42 -08:00
Chris Love
abb86c3234
Merge pull request #826 from justinsb/redhat_fixes
...
Recognize redhat.com image-owner-alias, fix docs
2016-11-06 20:04:00 -08:00
Justin Santa Barbara
4eb918a9ae
apiserver needs /etc/pki/ca-trust, at least on RHEL
...
/etc/pki/ca-trust has the actual CA certs, on RHEL & derivatives, and
thus must be mounted by apiserver. It is used in the volume admission
controller, for example.
Fix #668
2016-11-06 22:15:28 -05:00
Justin Santa Barbara
3e2d89c6b0
Recognize redhat.com image-owner-alias, fix docs
2016-11-06 21:38:21 -05:00
Justin Santa Barbara
c02d5d38dc
Fix bug in security group matching
...
We were matching only by the name tag, instead of using the group-name
If users had an SG with the same Name in different VPCs we could have
matched SGs in both VPCs. This seems unlikely, and particularly tricky
to then get through the remaining sanity checks (even in the find
function itself).
Fix #813
2016-11-06 21:14:43 -05:00
Kris Childress
941ce272db
Commit from 30k feet before kubecon, adding information on fi/cloudup/nodeup
2016-11-06 15:33:29 -07:00
Chris Love
a2e66c2345
Merge pull request #814 from justinsb/fix_ineffassign
...
Fix some ineffective assign warnings from go-report-card
2016-11-05 08:14:54 -06:00
Justin Santa Barbara
c8fe442c86
Fix some ineffective assign warnings from go-report-card
2016-11-05 01:52:12 -04:00
Justin Santa Barbara
27fb687058
Fix typo: becasue -> because
2016-11-05 01:41:47 -04:00
Justin Santa Barbara
46e5b724cf
Reduce CPURequests, so we can run on 1 core machine
...
Fix #776
2016-11-04 00:41:51 -04:00
Justin Santa Barbara
205a027b8a
CNI: update version to latest
...
This isn't ideal, because it isn't versioned, but there is an important
bugfix - otherwise pods are allocated a .255 IP, which is reserved for
broadcast.
Issue #724
2016-10-26 11:27:20 -04:00
Kris Childress
f9b11b3c4f
Merge pull request #676 from justinsb/us_east_2
...
Add support for new us-east-2 region
2016-10-21 17:28:17 -06:00
Chris Love
8d4590c444
Merge pull request #696 from justinsb/fix_585
...
Check NS records as part of kops apply
2016-10-20 20:40:25 -06:00
Chris Love
5fcf8ec3cb
Merge pull request #701 from DualSpark/log-fix
...
Remove kubeconfig path from log
2016-10-20 20:39:39 -06:00
Justin Santa Barbara
37d3e9acd3
Add test for master machine type
2016-10-20 02:01:42 -04:00
Justin Santa Barbara
00775dadda
Update test to inject mock data
2016-10-20 02:00:55 -04:00
Justin Santa Barbara
3eb92e5fb5
Add tests for aws_utils zones
2016-10-20 02:00:55 -04:00
Justin Santa Barbara
2972646ae0
Default master to c4.large in us-east-2
...
us-east-2 doesn't support the m3 family; c4.large is the closest match
to m3.medium (price, memory, cpu)
2016-10-20 02:00:55 -04:00
Justin Santa Barbara
fdc245b53c
Add support for new us-east-2 region
...
Our defaulting logic didn't recognize the new us-east-2 AZs
2016-10-20 02:00:55 -04:00
Justin Santa Barbara
e8816f0643
Remove security group rules that match our filter
...
We configure a filter so that we only remove rules on port 22 & 443
Fix #478
2016-10-20 00:10:18 -04:00
Justin Santa Barbara
d780c8ee9b
Merge pull request #424 from tazjin/ig-subnets
...
Support for multiple admin access CIDRs
2016-10-20 00:08:20 -04:00
Justin Santa Barbara
8255dbf103
Merge pull request #621 from DualSpark/cni-networks
...
CNI networking installation support
2016-10-20 00:06:11 -04:00
Kris Childress
c12c4aa5d6
Adding first element from kubectl path to log message
2016-10-19 19:12:23 -06:00
Justin Santa Barbara
09bf32a555
Merge pull request #703 from zmerlynn/fix-cbr0
...
Move ConfigureCBR0 to classic only
2016-10-19 16:30:17 -04:00
Zach Loafman
be4284bc24
Move ConfigureCBR0 to classic only
...
Fixes #700
2016-10-19 13:27:17 -07:00
chrislovecnm
a91462695f
Documenation for the new stuff and cleaning up test
2016-10-19 09:20:39 -06:00
chrislovecnm
c85c5fdfec
go fmt and unit test fixed
...
more test cleanup
2016-10-19 09:20:38 -06:00
chrislovecnm
1e5e1806ed
Adding correct tag files for cni
2016-10-19 09:20:38 -06:00
chrislovecnm
6171f071c7
updating unit test to work with mock data
...
removing MTU options that we do not need
working on getting file structure up
2016-10-19 09:20:37 -06:00
chrislovecnm
54f72be03e
set network type
...
cleaning up TODOs
updated with a unit test
2016-10-19 09:20:37 -06:00
chrislovecnm
6e3bece0d0
adding model and options to handle cni networking
2016-10-19 09:20:36 -06:00
Kris Childress
aa4649b32f
Adding support for multiple kubeconfig paths.
...
- Just removing the `to` part of the log message. I don't think its a huge win to have that in the logs, and was causing problems This will close #670
2016-10-19 06:08:38 -06:00
Chris Love
653618aa41
Merge pull request #693 from justinsb/fix_672
...
Don't merge stdout & stderr when running kubectl
2016-10-18 22:28:32 -06:00
Justin Santa Barbara
621dec765d
Check NS records as part of kops apply
...
Issue #585
2016-10-19 00:16:38 -04:00
Justin Santa Barbara
626106ffbc
Move FindDNSHostedZone to utils
2016-10-19 00:16:38 -04:00
Chris Love
82d91db443
Merge pull request #691 from justinsb/some_tests_for_nodeup
...
A few tests for nodeup tasks
2016-10-18 21:50:00 -06:00
Chris Love
d4d174f2f8
Merge pull request #692 from justinsb/fix_684
...
Add unit test for imported cluster name
2016-10-18 21:48:57 -06:00
Justin Santa Barbara
1d239d9b09
Don't remove route tables tagged with another cluster
2016-10-18 22:21:39 -04:00
Justin Santa Barbara
6ec5da2827
Add unit test for deleting untagged route table
2016-10-18 22:16:05 -04:00
Justin Santa Barbara
ba8514d840
Delete route tables, even if untagged, if we are deleting the VPC
...
The route table cannot exist without a VPC; if we're deleting the VPC we
must delete the route table also.
This will help fix problems when we fail to tag the route-table.
Issue #597
2016-10-18 21:59:56 -04:00
Justin Santa Barbara
7542b8980c
Don't merge stdout & stderr when running kubectl
...
Issue #672
2016-10-18 21:35:34 -04:00
Justin Santa Barbara
60410eb95b
Add unit test for imported cluster name
...
Fix #684
2016-10-18 21:24:13 -04:00
Justin Santa Barbara
d6f86ca968
A few tests for nodeup tasks
2016-10-18 21:19:09 -04:00
Zach Loafman
21c479d5b3
nodeup: Add docker.service dep to LoadImageTask
...
Tested with manual build and NODEUP_URL
Fixes #685 , #686
2016-10-18 14:56:31 -07:00
Chris Love
0d78c65498
Merge pull request #660 from justinsb/fix_upgrade
...
Fix upgrade from kube-up
2016-10-18 10:39:33 -06:00
Chris Love
8dc7d2ad91
Merge pull request #682 from justinsb/issue_589
...
Tolerate empty LaunchConfigurationName
2016-10-18 08:32:23 -06:00
Chris Love
ed23e1a07b
Merge pull request #683 from justinsb/issue_591
...
Increase timeout for IAM instance propagation
2016-10-18 00:58:43 -06:00
Justin Santa Barbara
dfb2a40dd5
Increase timeout for IAM instance propagation
...
From 1 minute -> 5 minutes
Should help with issue #591
2016-10-18 02:15:31 -04:00
Justin Santa Barbara
3d6e2860fe
Tolerate empty LaunchConfigurationName
...
Ass seen in issue #589 , sometimes an AutoScalingGroup will not have a
LaunchConfigurationName. This should not be possible, AFAICT, but we
can still recover from it - we will simply try to set the correct
LaunchConfiguration.
Issue #589
2016-10-18 01:36:35 -04:00
Chris Love
bd33e8a289
Merge pull request #678 from justinsb/fix_673
...
Fix deletion logic to ignore terminated instances
2016-10-17 23:30:35 -06:00
Chris Love
fd8cf63b02
Merge pull request #677 from justinsb/fix_600
...
Avoid concurrent append to slices in DryRunTarget
2016-10-17 23:25:06 -06:00
Justin Santa Barbara
5568568094
Wait longer for eventual consistency convergence
...
We don't have a lot of choice here; also try to provide more status
feedback.
This is not a true fix, it merely extends the timeouts.
Issue #597
2016-10-18 00:37:47 -04:00
Justin Santa Barbara
d563d5589a
Fix deletion logic to ignore terminated instances
...
Silly mistake because golang case statements do not fall though
Fix #673
2016-10-18 00:30:31 -04:00
Justin Santa Barbara
472c443d1b
Avoid concurrent append to slices in DryRunTarget
...
Issue #600
2016-10-18 00:16:05 -04:00
Vincent Ambo
4e7914d159
AdminCIDR() no longer potentially returns errors
...
This template function now accurately reflects the type of the cluster
configuration and does not need to have an error return type anymore.
2016-10-16 12:27:24 +02:00
Vincent Ambo
c0dad70d1f
Support multiple admin access CIDRs
...
This modifies the templates to appropriately create resources for
different access CIDRs specified in the cluster configuration.
On AWS this leads to the creation of multiple security group rules which
will not currently be cleaned up if a CIDR is removed.
This issue is tracked in kubernetes/kops#145
Changes:
* change AdminCIDR() to return slice of configured CIDRs
* aws: change templates to create security group rule per CIDR
* gce: set 'sourceRanges' for firewall rule to configured CIDRs
2016-10-16 12:27:24 +02:00
Chris Love
6ceeb25d10
Merge pull request #654 from justinsb/govet_fixes
...
govet fixes; add govet makefile target
2016-10-15 21:00:36 -06:00
chrislovecnm
8fa2aac99f
fixing more headers
2016-10-15 19:20:56 -06:00
chrislovecnm
f3cd5b5312
adding validation scripts for vet, linting, and check headers
...
going to use k8s validator
updating runtest.sh
updating headers
fixing problem in bash
working on golang
2016-10-15 19:20:51 -06:00
Justin Santa Barbara
1b7db6a60b
Fix log message when adding a certificate
2016-10-15 14:18:30 -04:00
Justin Santa Barbara
2af1fde49d
Reuse the route table when importing
...
Not only is this lower-impact, but it also avoid a bug because the
subnets were considered "shared", and thus we would not manage the
route-table any more.
2016-10-15 14:18:30 -04:00
Justin Santa Barbara
3f54852497
govet fixes; add govet makefile target
2016-10-15 13:25:31 -04:00
Justin Santa Barbara
c933008006
Don't validate cluster name when importing kube-up clusters
2016-10-14 22:38:29 -04:00
Justin Santa Barbara
591a85056a
Merge pull request #631 from justinsb/move_apis_3
...
Experimental support for federation
2016-10-12 00:45:18 -04:00
Justin Santa Barbara
a16e45705a
Merge pull request #630 from justinsb/move_apis_2
...
Refactor CLI to match kubectl approach
2016-10-12 00:42:34 -04:00
Justin Santa Barbara
9bd8be67c3
Merge pull request #629 from justinsb/move_apis
...
Move API to pkg/apis/kops
2016-10-12 00:42:24 -04:00
Austin Moore
aaaf126f53
Handle exit code 100 from 'yum check-update'
2016-10-11 17:54:55 -04:00
Justin Santa Barbara
58a8daf63e
Experimental support for federation
...
Highly experimental right now, and has exposed some upstream issues (I
believe), but adding so that people can start playing.
2016-10-11 10:29:46 -04:00
Justin Santa Barbara
c284a181dc
Refactor CA/Key interface
...
We create a simplified interface for use in tasks, vs the CLI which has
more diagnostic functionality
2016-10-11 09:48:43 -04:00
Justin Santa Barbara
542f8fb4f2
Refactor CLI to match kubectl approach
...
We have an Options class for each command, and a Run function that can
be called directly.
2016-10-11 09:47:11 -04:00
Justin Santa Barbara
5ac44018d4
Move API to pkg/apis/kops
...
This is a breaking change for people using the API (sorry), but is
hopefully a simple search and replace:
"k8s.io/kops/upup/pkg/api"
-> api "k8s.io/kops/pkg/apis/kops"
"k8s.io/kops/upup/pkg/api/registry"
-> "k8s.io/kops/pkg/apis/kops/registry"
This is the "correct" place for it in the k8s API infrastructure - we
are working towards a versioned API here.
2016-10-11 08:52:54 -04:00
Justin Santa Barbara
5daba0258f
Populate MasterInternalName & MasterPublicName in code
...
Hopefully address template model issues
2016-10-11 00:34:17 -04:00
Justin Santa Barbara
7c37b096e3
remove _master_dns tag; we rely on DNS
2016-10-11 00:29:18 -04:00
Justin Santa Barbara
a5a066d9c4
Merge pull request #617 from ajohnstone/kube-proxy-add-label
...
add label to kube-proxy
2016-10-10 23:51:45 -04:00
Justin Santa Barbara
b470727d72
Merge pull request #622 from justinsb/bump_master_cidr_to_28
...
Increase the master CIDR to a /28
2016-10-10 23:48:12 -04:00
Justin Santa Barbara
c469efff73
Fix validation of kubelet CloudProvider in non-strict mode
2016-10-10 23:46:47 -04:00
Justin Santa Barbara
6eeb7bf596
Prepare for 1.4.1: bump nodeup; add docs
2016-10-10 10:55:48 -04:00
Justin Santa Barbara
64f293ea19
Increase the master CIDR to a /28
...
This should allow pods to run on the master until the real fix arrives
in 1.5.
2016-10-10 10:04:32 -04:00
Andrew Johnstone
61b2610819
add label to kube-proxy
2016-10-08 02:04:59 +01:00
Justin Santa Barbara
4bca0a37d1
Merge pull request #610 from justinsb/centos
...
Preliminary support for CentOS7 / RHEL7
2016-10-07 14:28:37 -04:00
Justin Santa Barbara
70696468e9
Package update support
2016-10-07 11:46:49 -04:00
Justin Santa Barbara
a47674d10c
Redhat/CentOS fixes per code review
...
* Always read /etc/redhat-release (symlinked on CentOS)
* Make _rhel_family the tag name, not _centos_family
* Add comment about writing to "system" systemd area
2016-10-07 09:43:04 -04:00
Justin Santa Barbara
d965f14e4b
Add apply to example
2016-10-07 02:27:41 -04:00
Justin Santa Barbara
bb99c11a2d
Fix erroneous import
2016-10-07 01:41:29 -04:00
Justin Santa Barbara
767c9a6416
Fix tests; don't hit s3 until we need to
2016-10-07 01:38:44 -04:00
Justin Santa Barbara
afa8682dac
Default ApplyClusterCmd to all the instance groups
...
Simpler, and ensures "one code path"
2016-10-07 01:13:26 -04:00
Justin Santa Barbara
5d255d17cb
API example
2016-10-07 01:13:26 -04:00
Justin Santa Barbara
f7fa324858
Initial k8s-style kops API
...
We try to emulate the k8s Clientset approach
2016-10-07 01:13:02 -04:00
Justin Santa Barbara
662025146c
Merge pull request #607 from justinsb/aws_verbose_credentials
...
Turn on verbose credentials error messages
2016-10-07 01:07:45 -04:00
Justin Santa Barbara
a6b53875d8
Merge pull request #593 from justinsb/fix_584
...
Configure dns-controller with ID of hosted zones
2016-10-07 01:07:39 -04:00
Justin Santa Barbara
9596b64121
Add RHEL7
2016-10-07 00:11:08 -04:00
Justin Santa Barbara
d86390c172
CentOS7 initial experimental support
2016-10-06 23:23:30 -04:00
Justin Santa Barbara
a529ffbb65
Configure dns-controller with ID of hosted zones
...
Fix #584
2016-10-06 13:12:27 -04:00
Justin Santa Barbara
ecf0e94484
Turn on verbose credentials error messages
...
Issue #605
2016-10-06 13:10:15 -04:00
Justin Santa Barbara
c234f20d05
Fix logging of instance ids
2016-10-05 23:11:54 -04:00
Justin Santa Barbara
5137e2546e
Tolerate InvalidInstanceID.NotFound when deleting instances
...
We treat as instance-already-deleted, i.e. not an error
Fix #592
2016-10-05 02:12:11 -04:00
Justin Santa Barbara
204d1364ac
Switch to image published under kope account
2016-10-01 17:30:52 -04:00
Justin Santa Barbara
146babbd27
Disable ingress DNS integration for 1.4.0
...
There are still some problems with the default nginx controller
2016-10-01 17:25:11 -04:00
Justin Santa Barbara
90a075f50e
Refactor Channel FindImage
...
Also fixes an issue where `kops upgrade` can't find the latest image in
the manifest.
2016-10-01 15:46:07 -04:00
Justin Santa Barbara
1a4558a736
Fix DNS deployment manifest
2016-10-01 15:26:10 -04:00
Justin Santa Barbara
655a61588e
Switch all the final switches for release 1.4
...
Also apply the 1.4 schema changes.
2016-10-01 13:50:19 -04:00
Justin Santa Barbara
88ec3db1bf
ManagedFile support
...
A managed file is templated kops-side, but then stored in the S3 bucket
(aka state store)
This will be used to pass the channel containing the core addons.
2016-10-01 10:21:45 -04:00
Justin Santa Barbara
a07733e741
Switch kube-apiserver manifest to YAML
...
Makes for much more obvious diffs
2016-10-01 10:13:22 -04:00
Justin Santa Barbara
07edc17fb6
Docker: prefer overlay, fall back to aufs
2016-10-01 10:08:18 -04:00
Justin Santa Barbara
e0fd286e69
Merge pull request #561 from justinsb/more_protokube
...
Protokube: master tainting and channel creation
2016-10-01 09:56:12 -04:00
Justin Santa Barbara
4116ba646c
Make kube-addons optional
...
It is now controlled by a nodeup tag: _kube-addons
The tag is automatically added, but when we build the channels-enabled
release, we will remove the tag.
2016-10-01 09:47:05 -04:00