-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update zookeeper tutorial for 1.8 release #5496
Conversation
Deploy preview ready! Built with commit 5dc6316 https://deploy-preview-5496--kubernetes-io-vnext-staging.netlify.com |
@kow3ns The Travis check is failing:
|
@steveperry-53 @foxish is busy with the @janetkuo has volunteered to review. Thanks. |
service "zk-headless" created | ||
configmap "zk-config" created | ||
service "zk-hs" created | ||
service "zk-cs" created | ||
poddisruptionbudget "zk-budget" created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"zk-pdb"
You can use `kubectl patch` to update the number of `cpus` allocated to the servers. | ||
|
||
```shell{% raw %} | ||
kubectl patch sts zk --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/resources/requests/cpu", "value":"0.3"}]'statefulset "zk" patched |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
statefulset "zk" patched
should be a separate line
|
||
Use `kubectl rollout status` to watch the status of the update. | ||
|
||
``shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be ```shell
The `min-available` field indicates to Kubernetes that at least two Pods from | ||
`zk` StatefulSet must be available at any time. | ||
The `max-unavailable` field indicates to Kubernetes that at most one Pod from | ||
`zk` StatefulSet must be unavailable at any time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must be unavailable --> can be unavailable
zk-budget 2 1 1h | ||
```shell | ||
NAME MIN-AVAILABLE MAX-UNAVAILABLE ALLOWED-DISRUPTIONS AGE | ||
zk-pdb N/A 1 1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this new line
47e611b
to
c8fbc7a
Compare
@janetkuo @kow3ns We're getting this error in the Travis CI build: go test -v k8s.io/kubernetes.github.io/test |
c8fbc7a
to
5dc6316
Compare
yeah somehow my modifications to test/examples_test.go got dropped on a rebase ... should be fixed now |
This change is