Commit Graph

541 Commits (eceb421911841e62a4e70c46eec9c82efd5865cc)

Author SHA1 Message Date
supereagle 23b482294e Update configure-pod-configmap.md 2017-08-09 09:59:48 -07:00
XsWack 64d8c68a3f Update configure-liveness-readiness-probes.md
Fix bad url. http://k8s.io/docs/user-guide/liveness/image/server.go is a bad url and it should be https://github.com/kubernetes/kubernetes/blob/master/test/images/liveness/server.go
2017-08-09 09:54:58 -07:00
XsWack 646880aaba Update resource-usage-monitoring.md
fix typo
2017-08-09 09:11:27 -07:00
dengyi1996 627ff5d40a Update weave-network-policy.md (#4683)
* Update weave-network-policy.md

add weavenet networkpolicy example

* Edits from zacharysarah

* Merge branch 'master' into patch-10

* Merge branch 'patch-10' of github.com:dengyi1996/kubernetes.github.io into patch-10

* Merge branch 'master' into patch-10
2017-08-08 22:49:09 -07:00
XsWack 544891a7e2 Update configmap.md
fix typo
2017-08-09 08:58:32 +08:00
Slava Semushin 8bbae8df49 encrypt-data.md: update all secrets in all namespaces. 2017-08-08 15:09:39 -07:00
XsWack 428a03de7c Merge branch 'master' into patch-9 2017-08-08 16:46:29 +08:00
Steve Perry 2576f404f0 Start new task for Opaque Integer Resources. (#4363) 2017-08-08 01:05:23 -07:00
XsWack 90b7489ecf Update set-up-cluster-federation-kubefed.md
fix typo and unified format
2017-08-08 14:22:27 +08:00
XsWack 07bd50d390 Update index.md
fix typo
2017-08-08 12:05:33 +08:00
XsWack ad01c19d9a Update load-balance-access-application-cluster.md
Fix leading spaces in kubectl commands
2017-08-08 08:47:42 +08:00
Zachary Corleissen d5fdf214de [404 fix] One character syntax fix (#4674)
* One character syntax fix

* Added redirect for delete-pods

* Removed redirect_from statement
2017-08-07 16:55:19 -07:00
dengyi1996 d76fbb0b27 Update scheduling-gpus.md
privileged mode is not needed on my kubernetes cluster, and it will make other developers confuse.
e.g:
I try to use this example to test whether the keyword "resources->limit" will work.when I set limit:1 with privileged,I can reach all gpus instead of single gpu.

```
kind: Pod
apiVersion: v1
metadata:
  name: gpu-pod-1
spec:
  containers:
  - name: gpu-container-1
    image: tensorflow/tensorflow:latest-gpu
    securityContext:
      privileged: true
    env:
    - name: LD_LIBRARY_PATH
      value: "$LD_LIBRARY_PATH:/usr/lib/nvidia"
    - name: CUDA_HOME
      value: "/usr/local/nvidia"
#    securityContext:
#      privileged: true
    resources:
      limits:
        alpha.kubernetes.io/nvidia-gpu: 1
    volumeMounts:
    - mountPath: /usr/local/nvidia/bin
      name: bin
    - mountPath: /usr/lib/nvidia
      name: lib
  volumes:
  - hostPath:
      path: /usr/local/cuda/bin
    name: bin
  - hostPath:
      path: /var/lib/nvidia-docker/volumes/nvidia_driver/375.26/lib64/
    name: lib
```
it show all gpu devices because of privileged mode
```
[name: "/cpu:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 3223127178054071976
, name: "/gpu:0"
device_type: "GPU"
memory_limit: 103809024
locality {
  bus_id: 1
}
incarnation: 6184347283432924133
physical_device_desc: "device: 0, name: Quadro K4200, pci bus id: 0000:03:00.0"
, name: "/gpu:1"
device_type: "GPU"
memory_limit: 103809024
locality {
  bus_id: 1
}
incarnation: 1058630844567460797
physical_device_desc: "device: 1, name: Quadro K4200, pci bus id: 0000:04:00.0"
]

```
2017-08-07 16:49:35 -07:00
Malepati Bala Siva Sai Akhil b795543eb2 Fix Broken Link
Fix Broken Link related to client-go in Access Clusters Using the Kubernetes API
2017-08-07 15:53:53 -07:00
lichuqiang 58f454f424 fix typo 2017-08-07 15:41:21 -07:00
XsWack 6c0e3bdbba Update encrypt-data.md
fix typo
2017-08-07 15:40:31 -07:00
XsWack 0951183d64 Update managing-tls-in-a-cluster.md
fix typo
2017-08-07 15:40:14 -07:00
Steve Perry 3d2c06c4c3 Update Task topics on resource management. (#4158) 2017-08-07 15:30:29 -07:00
Ahmet Alp Balkan a86d9355b0 Fix leading spaces in kubectl commands
This is causing bash/zsh shells to not to record the executed command in the
history. See this link for details: https://unix.stackexchange.com/questions/115917/why-is-bash-not-storing-commands-that-start-with-spaces

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-06 14:19:04 -07:00
lichuqiang b27bbecb89 fix typo 2017-08-05 12:15:36 +08:00
Jessica Yao 59349b8bdc edit instructions for hpa based on custom metrics 2017-08-04 17:25:43 -07:00
dengyi1996 bda690e547 Update scheduling-gpus.md 2017-08-04 14:36:53 -07:00
Aaron Crickenberger 18e9aa59d1 Rename OWNERS assignees: to approvers:
They are effectively the same, assignees is deprecated
2017-08-03 16:22:52 -07:00
Rye Terrell 3fd1ff3036 add instructions for installing kubefed with snap 2017-08-03 13:51:41 -07:00
XsWack 2c11c0de1f Update access-cluster.md
https://git.k8s.io/client-go/examples/examples/in-cluster/main.go is a bad url and it should be  https://git.k8s.io/client-go/examples/examples/in-cluster-client-configuration/main.go
2017-08-03 13:46:55 -07:00
Cody Clark 8e012468a4 Removing extra spaces
Per Issue [4602](https://github.com/kubernetes/kubernetes.github.io/issues/4602)
2017-08-03 13:08:15 -07:00
cliffburdick ec0c650e6a Fixed apostrophe 2017-08-02 14:06:20 -07:00
Andrew Chen 97b86a6fba Merge branch 'master' into 4549-complete-sentence 2017-08-01 22:55:07 -07:00
Andrew Chen d4893d4fe6 bump up final notes to h2 2017-08-01 22:42:55 -07:00
Andrew Chen 7febf3e780 add template tags 2017-08-01 22:37:46 -07:00
zacharysarah 2f5370e0a7 Fixed an awkward sentence 2017-08-01 15:45:18 -07:00
zacharysarah b80cebf70b Fixed broken link, consistent style usage 2017-08-01 15:38:20 -07:00
zacharysarah 700bb5564b Add task template 2017-08-01 15:34:50 -07:00
Luke Heidecke abd60bc4be Fix use of on-premises terminology (#4413)
* Fix use of on-premises terminology

* Update ingress doc with on-premises term
2017-08-01 15:10:37 -07:00
WanLinghao 4d9320bb40 yaml file errors on scheduling-gpus.md (#4436)
* Update scheduling-gpus.md

* Update scheduling-gpus.md
2017-08-01 14:33:04 -07:00
zacharysarah a4003ad766 Completed sentence, applied style guide to section 2017-08-01 13:38:15 -07:00
Cody Clark bb47b3f43f Example for sig-docs meeting (#4571) 2017-08-01 11:41:33 -07:00
Ianeta Hutchinson 9af54c7c5a Applying template to Namespaces topic and moving to Tasks. (#2925)
* Applying template to Namespaces topic and moving to Tasks.

* update links
2017-08-01 02:34:55 -07:00
Andrew Chen 72508c26fe Reimplement PR #4339 2017-08-01 02:23:13 -07:00
Andrew Chen 6ec54a096e Reimplement PR #4545 2017-08-01 02:09:29 -07:00
Andrew Chen ff1432531c Reimplement PR #3981 2017-08-01 01:54:43 -07:00
xufei 6549a0b34a docs: Fix sentence begins with an uppercase letter (#4556) 2017-08-01 01:31:55 -07:00
Xing Zhou d9e099b7af Turn env variables to upper case in the example.
As K8s won't change the env variable from configmap(using envFrom
to upper case, so change the variable names to upper case in the
example.
2017-08-01 01:17:24 -07:00
Matthew Dorn 52b8d44683 use raw github url for ip-masq-agent.yaml 2017-08-01 01:12:22 -07:00
sudr 2170ffbc76 Update install-kubectl.md to include instructions for kubectl auto-completion in oh-my-zsh (#4370)
* Update install-kubectl.md

* Move Oh-My-Zsh and edit

* add "the"
2017-08-01 00:52:12 -07:00
Fabian Deutsch 9e74703ad1 docs: Fix link in horizontal-pod-autoscale to #support-for-custom-metrics 2017-08-01 00:36:28 -07:00
Dino Hensen 8ff2710305 Fix indent and use valid keys for configMapKeyRef (#4428)
Fix restartPolicy indent.
Use valid keys from the ConfigMap in the step previous to the last special-config creation. Key special.type was not created anywhere in previous steps anywars.
2017-08-01 00:25:26 -07:00
Vijay Dhama 90bc317621 Fixed application troubleshooting guide link (#4441) 2017-08-01 00:19:45 -07:00
Eric Mountain @ Amadeus 2934358f13 Minor fix in example resource limit policy
Looks like 

```
the cluster operator may want to set limits that a pod must consume at least 20% of the memory and CPU
```

was meant to be 

```
the cluster operator may want to set limits that a pod must consume no more than 20% of the memory and CPU
```
2017-07-31 23:58:34 -07:00
Mik Vyatskov 6f42c332ec Fix a small bug in the Stackdriver Logging documentation (#4453) 2017-07-31 23:56:15 -07:00