Raffaele Di Fazio
d477e96c38
Added initial implementation of ACM cert for Kubernetes API ELB
2018-07-06 09:29:54 +02:00
Brad Kim
967f1e86c6
Fix for validating kubeconfig's hosts
...
URL's Host field is "host" or "host:port". (see https://golang.org/pkg/net/url/#URL )
"host:port" can't be used as net.LookupHost's parameter.
I recommend using URL.Hostname() instead of URL.Host.
2018-05-03 11:48:51 +09:00
Mike Splain
38cd57ddd3
Update bazel configs for bazel 0.12 go_rules 0.11
2018-04-18 14:53:00 -04:00
Haoyun
f8e4c3e33e
typo fix
...
typo fix
2018-04-03 10:48:02 +08:00
Justin Santa Barbara
875942ae64
Validation: don't expect bastion nodes to join
...
Fix #4761
2018-03-24 13:59:29 -04:00
Justin Santa Barbara
63e51337c0
Validation: treat as error if insufficient nodes
...
We switch to use the rolling update logic, which gives us nodes by
InstanceGroup.
2018-03-20 23:28:27 -04:00
Justin Santa Barbara
02d9819785
Move DNS validation into validation
2018-03-20 19:56:36 -04:00
k8s-ci-robot
717eb4f6c5
Merge pull request #4734 from justinsb/int_validation_fix_3
...
Validation: Take a cluster object, not just the name
2018-03-20 13:25:02 -07:00
Justin Santa Barbara
1b0f5a4101
Validation: clean up unused node status functions
2018-03-20 01:16:48 -04:00
Justin Santa Barbara
55e3a5f212
Validation: Take a cluster object, not just the name
2018-03-20 01:12:07 -04:00
AdamDang
f53dd62fe9
Fix error accompanying note in node_api_adapter.go
...
line 74: "GetReadySchedulableNodesOrDie" should be replaced with “GetReadySchedulableNodes”.
"GetReadySchedulableNodesOrDie" is not defined in this file.
2018-03-13 22:19:23 +08:00
k8s-ci-robot
b6eededf7c
Merge pull request #4645 from chrislovecnm/update-node-api-signature-tests
...
Updating to use CoreV1 in unit tests
2018-03-10 20:42:10 -08:00
chrislovecnm
07674fa846
Updating to use CoreV1 in unit tests
2018-03-10 13:53:50 -07:00
chrislovecnm
05613ce9f9
Updating K8s API calls to use CoreV1 kops node adapter
...
A change in behavior was introduced with the upstream client-go pkg.
This changed occurred between the kops 1.8.0 version and kops
1.9.0-alpha1. This PR updates the the API calls to use CoreV1 instead of
Core. This fixes a bug where kops would incorrectly validate a cluster
when the cluster is missing nodes.
2018-03-10 13:20:38 -07:00
Mike Splain
45a57915e2
Fix bazel deprecation notice
2018-02-26 09:36:13 -05:00
Tim Hockin
79d5f793e7
Convert registry to k8s.gcr.io
2018-02-14 10:08:41 -08:00
k8s-ci-robot
b8a701b2da
Merge pull request #4107 from chrislovecnm/validate-ouput
...
kops validate cluster can output YAML or JSON
2018-01-08 02:47:11 -08:00
chrislovecnm
4dd3bb1dea
Updating bazel BUILD files with new go_rules version
2017-12-29 15:03:14 -07:00
chrislovecnm
7cb9384d70
kops validate clsuter can output YAML or JSON
...
Adding the capbility for kops validate cluster command to output YAML or JSON.
The validate.ValidationCluster struct is used as body of the JSON or
YAML document.
2017-12-19 23:07:55 -07:00
chrislovecnm
c0da5e7fbb
fixing bazel
2017-12-17 17:03:58 -07:00
Ian Hoegen
9ea5008da4
Make node counts and master counts autoscale friendly
2017-12-12 08:42:28 -08:00
chrislovecnm
c7ef856f92
Improving UX for kops validate cluster
...
Before the `kops validate cluster` attempts to connect to the K8s API
endpoint, the code now checks to see if the API DNS Entry is the kops
placeholder IP Address 203.0.113.123. It prints a message to the user
and err's. There is a new init func in validate cluster that disables
CGO based DNS for Darwin OS. Darwin does two things with kops
validates; it caches the IP address, and it does not return the
placeholder IP address. We cannot use CGO base DNS with kops validate.
2017-11-16 15:12:51 -07:00
chrislovecnm
609e268a1d
gazelle updates with new bazel version
2017-11-05 17:41:53 -07:00
Justin Santa Barbara
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -04:00
Justin Santa Barbara
3478031533
API types changed package
2017-10-01 14:03:56 -04:00
Justin Santa Barbara
7c8dcc4a0d
Code changes for 1.7
2017-07-02 13:10:28 -04:00
Thomas Hahn
df0482c6eb
Test for having fewer nodes than minimum count
2017-04-19 06:40:50 +00:00
Ted Hahn
46d885d39b
Change validation to be happy with more than minimum nodes.
2017-04-18 18:50:19 -07:00
Ted Hahn
395c7428ad
add a second, always ready node. Having healthy nodes shouldn't be a
...
problem for validation.
2017-04-18 18:50:08 -07:00
Justin Santa Barbara
6556eeda69
Fix node role defaulting
...
This otherwise breaks validation.
2017-03-31 01:49:48 -04:00
Justin Santa Barbara
bc7743f726
Merge pull request #2160 from ryane/validate-completed-job-fix-2137
...
validate cluster considers pods with PodPhase Succeeded as valid
2017-03-29 11:44:59 -04:00
Justin Santa Barbara
4006741a5d
Update for new taints / labels names
2017-03-27 23:13:39 -04:00
ryane
526b8d166a
run gofmt -s -w pkg/validation/validate_cluster.go
2017-03-21 08:30:29 -04:00
ryane
0f75b22c82
validate cluster considers pods with PodPhase Succeeded as valid
...
fixes #2137
2017-03-21 08:05:35 -04:00
Justin Santa Barbara
cb4641fea3
Code updates
2017-03-16 02:40:50 -04:00
Shane Starcher
d914e24e7d
adding component and kube-system validation
2017-02-10 11:14:34 -05:00
Kamil Hristov
eb3a639911
Improve cluster validate output
2017-01-30 07:05:16 +02:00
Justin Santa Barbara
09cb9b654c
Change int to int32 in API
...
We shouldn't be using the variable-sized int in the API
2017-01-15 18:23:44 -05:00
Justin Santa Barbara
a375b1af82
Updates for k8s 1.6 code
2017-01-03 20:32:48 -05:00
Justin Santa Barbara
cdacc15dce
Import tidying
2016-12-02 11:24:09 -05:00
Justin Santa Barbara
5674b8c2ce
Move to pkg/validation and tidy up
2016-12-02 11:13:06 -05:00