Commit Graph

8517 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
3be827e912
Merge pull request #77561 from wenjiaswe/fix-etcd-server
Use HTTPS as etcd-apiserver protocol when mTLS is enabled
2019-07-29 12:14:49 -07:00
Matt Matejczyk
eb9320d613 Update logexporter version.
This is to include changes from https://github.com/kubernetes/test-infra/pull/13655
2019-07-29 11:28:02 +02:00
Kubernetes Prow Robot
e298fc723f
Merge pull request #80635 from mborsz/patch-9
Retry metadata requests in get-credentials and valid-storage-scope
2019-07-26 16:52:48 -07:00
Maciej Borsz
f1e6309560
Retry metadata requests in get-credentials and valid-storage-scope 2019-07-26 14:09:55 +02:00
Maciej Borsz
9f71739623
Bump kube-addon-manager's version to v9.0.2 2019-07-26 11:36:37 +02:00
Kubernetes Prow Robot
96594b6723
Merge pull request #80566 from BenTheElder/fix-image-ref
fix kube-proxy manifest
2019-07-25 22:36:36 -07:00
Kubernetes Prow Robot
a1f4c2ed21
Merge pull request #80575 from mborsz/patch-7
Fix leader election in kube-addon manager
2019-07-25 10:41:40 -07:00
Kubernetes Prow Robot
bf2dd03083
Merge pull request #80318 from davidxia/fix-err-caps
cleanup: fix some log and error capitalizations
2019-07-25 10:41:28 -07:00
Maciej Borsz
b851a3365a
Fix leader election in kube-addon manager 2019-07-25 14:00:22 +02:00
Kubernetes Prow Robot
10005d2e1e
Merge pull request #80421 from lostick/fix-es-master-discovery
Fix es initial cluster formation & update es to 7.2.0
2019-07-25 01:38:06 -07:00
Benjamin Elder
1cf8a06d12 add reciprocal note about keeping manifests in sync 2019-07-25 00:44:11 -07:00
Benjamin Elder
8d04fa065f fix kube-proxy manifest 2019-07-25 00:41:45 -07:00
Kubernetes Prow Robot
0612c7de0b
Merge pull request #80232 from shihan9/gce
remove function apply-encryption-config in configure-helper
2019-07-24 13:50:19 -07:00
Laurent Godet
19c0aa98e1 Fix es 7.x.x initial cluster formation 2019-07-24 16:42:40 +01:00
Taahir Ahmed
9702c6e6e9 GCP config: gke-exec-auth-plugin for ValidatingAdmissionWebhook
This commit adds support for using `gke-exec-auth-plugin` (vTPM-based
certificates for mTLS) for webhooks when calling endpoints matching
`*.googleapis.com`, and integrates this support with
ValidatingAdmissionWebhook.

To enable it, request ValidatingAdmissionWebhook with
`ADMISSION_CONTROL=...,ValidatingAdmissionWebhook,...` (default) and
opt in to `gke-exec-auth-plugin` using `WEBHOOK_GKE_EXEC_AUTH=true`
during the configuration process.

If you don't opt-in, ValidatingAdmissionWebhook will be deployed as
before.

Requesting `WEBHOOK_GKE_EXEC_AUTH=true` will fail if you have not
provided other configuration variables:

  * `EXEC_AUTH_PLUGIN_URL`: controls whether `gke-exec-auth-plugin` is
    downloaded during the installation step.  A prerequisite for
    actually using the plugin.

  * `TOKEN_URL`, `TOKEN_BODY`, and `TOKEN_BODY_UNQUOTED`:
    configuration values used when calling the plugin.  `TOKEN_URL`
    and `TOKEN_BODY` have existing usage. `TOKEN_BODY_UNQUOTED` is a
    new variable that is meant to sidestep the problem of inverting
    `strconv.Quote` in Bash.

The existing configuration process for ImagePolicyWebhook has been
reworked to make it play nicely with ValidatingAdmissionWebhook under
`WEBHOOK_GKE_EXEC_AUTH=true`.

  * It originally placed the ImagePolicyWebhook configuration object
    at the top-level of the file specified by
    `--admission-control-config-file`.  I can't see why this worked;
    it must have been hitting some sort of lucky path through the
    various config file loading mechanisms.  Now, it places its
    configuration in a sub-field of that file, which is shared among
    all admission control plugins.

  * It mounted its various config files read-write.  I reviewed the
    code and couldn't see why it was necessary, so I moved the config
    files into the existing read-only mount at `/etc/srv/kubernetes`.

  * It now checks that all the configuration values it requires have
    been provided.

Co-authored-by: Mike Danese <mikedanese@google.com>
Co-authored-by: Taahir Ahmed <taahm@google.com>
2019-07-22 16:01:37 -07:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Wenjia Zhang
2e61ae0c56 Use HTTPS as etcd-apiserver protocol when mTLS is enabled 2019-07-20 14:24:31 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
Javier Pérez Hernández
288ea10a59 gce: configure: use 'amd64' in kube core images manifest 2019-07-18 08:31:45 -07:00
draveness
d83526d253 Revert "feat: cleanup pod critical pod annotations feature"
This reverts commit b6d41ee5cc.
2019-07-18 13:31:12 +08:00
Shihang Zhang
e6607cc259 remove function apply-encryption-config in configure-helper
Change-Id: I4df76abcc94eb222219968dc5e08655677d4623f
2019-07-16 14:03:13 -07:00
Davanum Srinivas
6b06084df6
Drop -r for variable within loop
using `local -r` will blow up, example output:
```
/home/kubernetes/bin/configure.sh: line 388: local: manifest_name: readonly variable
```

Change-Id: Id379180803d44dd9c7ac0da41c1cd56de0fe54a4
2019-07-14 11:05:29 -04:00
Kubernetes Prow Robot
b9615d5bbc
Merge pull request #80054 from javier-b-perez/load-image
cluster: configure: load images and add tags with no arch
2019-07-13 15:37:03 -07:00
Javier Pérez Hernández
438ff151d4 cluster: configure: load images and add tags with no arch 2019-07-12 16:40:40 -07:00
Kubernetes Prow Robot
5be1efe9bd
Merge pull request #79447 from almos98/start-stackdriver-workaround
Wait for StackdriverLogging service to stop before restarting it.
2019-07-12 14:11:06 -07:00
Kubernetes Prow Robot
aaad86c210
Merge pull request #80037 from dims/remove-support-for-etcd2-from-images-etcd
Remove support for etcd2 from cluster/images/etcd image
2019-07-12 06:31:56 -07:00
Kubernetes Prow Robot
8cca1978ae
Merge pull request #80046 from liyanhui1228/formattable
Avoid truncating long messages in docker test logs
2019-07-11 22:03:17 -07:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
Davanum Srinivas
88b0be7355
Update revision number for the image 2019-07-11 21:20:37 -04:00
Davanum Srinivas
f58f126715
Remove support for etcd2 from cluster/images/etcd image
Removes etcd2 code and images.
Etcd2 is no longer supported as of 1.13, so rollback and management
tools for etcd2 should not be shipped any longer. If it is still desired
the older versions of the image can be used.

Change-Id: I516c40067f0a57c42d2a6ab4612071c5e556a005
2019-07-11 21:20:24 -04:00
Alexion Ramos
6edbb95f53 Wait for StackdriverLogging service to stop before restarting it. 2019-07-11 17:54:38 -07:00
Angela Li
fa90cb9e3d Avoid truncating long log messages 2019-07-11 10:50:11 -07:00
Kubernetes Prow Robot
a7c619a158
Merge pull request #79949 from liyanhui1228/firstbranch
Add timestamps to the docker test logs
2019-07-10 21:39:45 -07:00
draveness
b6d41ee5cc feat: cleanup pod critical pod annotations feature 2019-07-11 08:54:19 +08:00
Angela Li
c0c29586a9 Add EntryType 2019-07-10 14:09:44 -07:00
Angela Li
a97d544475 Changed to use select-object to filter the log properties 2019-07-10 10:25:38 -07:00
Kubernetes Prow Robot
79aab0b90d
Merge pull request #78246 from mborsz/kubemark
Migrate kubemark to e2e-up/e2e-down scripts
2019-07-10 07:42:27 -07:00
Maciej Borsz
4646594f29 Migrate kubemark to e2e-up/e2e/down scripts. 2019-07-10 11:23:55 +02:00
Kubernetes Prow Robot
3c09a870a4
Merge pull request #79692 from chendave/issue_79689
Address couple of issue on image build for ARM arch
2019-07-09 23:02:38 -07:00
Angela Li
ed43a6c039 Add timestamp to the docker test logs 2019-07-09 17:31:24 -07:00
Kubernetes Prow Robot
4cabe6217f
Merge pull request #79626 from wenjiaswe/remove-etcd-ca-key
Remove unnecessary ETCD_CA_KEY check
2019-07-08 14:28:14 -07:00
Kubernetes Prow Robot
042b157d45
Merge pull request #79014 from monotek/efkupdate
updated fluentd to 1.5.1, es & kibana to 7.1.1
2019-07-08 14:27:36 -07:00
Kubernetes Prow Robot
097681b619
Merge pull request #72206 from tallclair/audit-profile-test
Audit profile test
2019-07-05 19:00:35 -07:00
Tim Allclair
d06f849379 Audit policy test 2019-07-03 10:39:37 -07:00
Kubernetes Prow Robot
f9a7ca8bab
Merge pull request #79703 from mborsz/master_node_labels
Add MASTER_NODE_LABELS
2019-07-03 05:58:31 -07:00
André Bauer
146d7c85dc updated fluentd to 1.5.1, es & kibana to 7.1.1
Signed-off-by: André Bauer <monotek23@gmail.com>
2019-07-03 12:26:55 +02:00
Maciej Borsz
08f8d2ef46 Fix HA setup logic 2019-07-03 11:17:31 +02:00
Dave Chen
c60181317e Address couple of issue on image build for ARM arch
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Maciej Borsz
20d5bb4afe Add MASTER_NODE_LABELS 2019-07-03 09:39:14 +02:00
Kubernetes Prow Robot
e79dcc2174
Merge pull request #79284 from johnSchnake/conformanceGoRunner
Adds an optional golang runner to the conformance test image
2019-07-02 15:41:11 -07:00