Commit Graph

5895 Commits (9353bb9836282c79d814443703971ee1ec2aa134)

Author SHA1 Message Date
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
Denis Gladkikh cf766879b8 Logrotation for kubeadm (#4670)
* Logrotation for kubeadm

Fixes #369

* Suggested PR update
2017-08-07 16:54:19 -07:00
Andrew Chen 490fb99a30 Patch PR #4671 2017-08-07 16:52:37 -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
Ahmet Alp Balkan 3ee6599cc7 Import guestbook tutorial and manifest files (#4631)
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-07 15:56:20 -07:00
Luis Pabón fdf2c5a02b Note on cascading deletes and Deployments (#4671) 2017-08-07 15:54:59 -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
Ahmet Alp Balkan a75b15ef5b Create "make stage" for staging container
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-08-07 15:53:08 -07:00
Qiming 291a583515 Fix typo in extensible-admission-controllers doc (#4405) 2017-08-07 15:50:40 -07:00
lichuqiang 58f454f424 fix typo 2017-08-07 15:41:21 -07:00
Stewart-YU 0114ddf60f Update nodes.md
Missing  a  signal
2017-08-07 15:40:59 -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
lichuqiang 6143903853 fix typo 2017-08-07 15:39:51 -07:00
fisherxu fb39f2f76a fix typo 2017-08-07 15:39:32 -07:00
Stewart-YU 9ad9948e64 Update kubernetes-api.md
The first letter should be capitalized
2017-08-07 15:39:12 -07:00
Steve Perry 3d2c06c4c3 Update Task topics on resource management. (#4158) 2017-08-07 15:30:29 -07:00
Andrew Chen 6da5f52fb2 Add 404 redirects (#4675)
* Add redirect for legacy kubectl links

* remove js redirect for kubectl

* fix link URLs

* add 404 redirects

* remove js forwarding rules

* clean up _redirects

* fix coreos links
2017-08-07 15:13:14 -07:00
Zachary Corleissen c153bcb02b Merge pull request #4587 from zacharysarah/4167-no-more-calico
Removed link/section, added redirect
2017-08-07 14:12:14 -07:00
Zachary Corleissen b1ae7714a5 Merge branch 'master' into 4167-no-more-calico 2017-08-07 14:08:35 -07:00
Andrew Chen 68a3a7e074 Add redirect for legacy kubectl links (#4672)
* Add redirect for legacy kubectl links

* remove js redirect for kubectl
2017-08-07 12:05:44 -07:00
Michael Smith f16dfcf349 Use more realistic IP address 2017-08-06 14:20:32 -07:00
DuJun 86b9845c72 fix typo in storage (#4645)
* fix typo in storage

* Update volumes.md
2017-08-06 14:19:45 -07:00
XsWack 50c9226442 Update bootstrap-tokens.md
fix typo
2017-08-06 14:19:20 -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
Stewart-YU 0c6bca5b7f Update labels.md
modify key to Key in line #43
2017-08-06 14:17:08 -07:00
fisherxu ac5ea078b9 fix typo 2017-08-06 14:16:38 -07:00
XsWack 5e766d7ba6 Update assign-pod-node.md
Fix some typo in assign-pod-node.md
2017-08-06 14:16:16 -07:00
Malepati Bala Siva Sai Akhil d2958d03b6 Fixed grammatical error in names
Fixed grammatical error in names of working with object
2017-08-06 14:15:57 -07:00
Andrew Chen 52653c61df Merge pull request #4647 from mbssaiakhil/patch-1
Fixed grammatical error in Understanding Kubernetes Objects
2017-08-06 14:15:35 -07:00
Andrew Chen e782aa6e99 Merge pull request #4646 from lichuqiang/admin
fix typo in audit.md
2017-08-06 14:13:27 -07:00
Malepati Bala Siva Sai Akhil d3f796ebc0 Fixed grammatical error
Fixed grammatical error in Understanding Kubernetes Objects
2017-08-05 10:21:53 +05:30
lichuqiang b27bbecb89 fix typo 2017-08-05 12:15:36 +08:00
Andrew Chen 4501b715c1 Update service.md (#4644)
* Update service.md

Put Internal Load Balancer YAML in tabs.

* add the
2017-08-04 17:50:50 -07:00
Nick Sardo 1cd67351e0 Add annotation for GCP Internal Load Balancer 2017-08-04 17:31:40 -07:00
Jessica Yao 59349b8bdc edit instructions for hpa based on custom metrics 2017-08-04 17:25:43 -07:00
Andrew Chen 8be19e168a Chenopis vnext staging noindex (#4641)
* include _headers

* revert vnext-staging context

* add proto _headers file

* fix build settings
2017-08-04 17:22:47 -07:00
Andrew Chen 8825d5a61e fix noindex for vnext-staging (#4640)
* include _headers

* revert vnext-staging context

* add proto _headers file
2017-08-04 16:35:21 -07:00
Hazim 5da7b72b2d Add network overlay details to cloud routes flag
Add details for the `configure-cloud-routes` flag in case of network overlay being used.
2017-08-04 16:26:08 -07:00
Andrew Chen 03d0017d63 Revert "Update volumes.md" 2017-08-04 16:22:06 -07:00
Dhilip cdf4cc3769 add examples for interpod configurations (#4557)
* add examples for interpod configurations

* re-word and fix typo based on review comments

* explain podAffinity with examples

* review comments: make replicas 3 for both workload types

* Address final review comments
2017-08-04 16:21:39 -07:00
Charlie R.C 8a31c8ad56 Update "readonly" in abac 2017-08-04 16:06:55 -07:00
Andrew Chen 414f61b2ea include _headers (#4636) 2017-08-04 15:59:07 -07:00
Cody Clark 8c2c2ef91e Update callouts.css 2017-08-04 15:50:31 -07:00
Cody Clark d0d1313b4a Update callouts.css 2017-08-04 15:50:31 -07:00
Andrew Chen d8bac63c0b Merge pull request #4635 from kubernetes/chenopis-vnext-staging-noindex
fix command in #4633
2017-08-04 15:46:57 -07:00
Andrew Chen da18bb735c fix command 2017-08-04 15:41:35 -07:00
Andrew Chen 3a4246c175 Merge pull request #4633 from kubernetes/chenopis-vnext-staging-noindex
Add noindex to vnext-staging
2017-08-04 15:24:58 -07:00
Andrew Chen 6957eb01ec Add noindex to vnext-staging 2017-08-04 15:20:15 -07:00
Steve Perry 61f01a4e59 Add note for 1.8 release. (#4632) 2017-08-04 14:56:08 -07:00