├── docs ├── user-guide │ ├── federation │ │ ├── tmp │ │ │ └── a │ │ └── OWNERS │ ├── nginx │ │ ├── OWNERS │ │ ├── nginx-svc.yaml │ │ └── nginx-deployment.yaml │ ├── liveness │ │ ├── OWNERS │ │ ├── exec-liveness.yaml │ │ ├── http-liveness.yaml │ │ ├── http-liveness-named-port.yaml │ │ └── image │ │ │ ├── Dockerfile │ │ │ └── Makefile │ ├── logging-demo │ │ ├── OWNERS │ │ ├── README.md │ │ ├── synthetic_0_25lps.yaml │ │ └── synthetic_10lps.yaml │ ├── pod-security-policy │ │ ├── OWNERS.txt │ │ └── psp.yaml │ ├── environment-guide │ │ ├── OWNERS │ │ ├── containers │ │ │ ├── backend │ │ │ │ ├── Dockerfile │ │ │ │ └── backend.go │ │ │ ├── show │ │ │ │ └── Dockerfile │ │ │ └── README.md │ │ ├── backend-srv.yaml │ │ ├── show-srv.yaml │ │ ├── backend-rc.yaml │ │ └── show-rc.yaml │ ├── configmap │ │ ├── OWNERS │ │ ├── redis │ │ │ ├── redis-config │ │ │ └── redis-pod.yaml │ │ ├── kubectl │ │ │ ├── ui.properties │ │ │ └── game.properties │ │ ├── configmap.yaml │ │ ├── volume-pod.yaml │ │ ├── env-pod.yaml │ │ ├── mount-file-pod.yaml │ │ └── command-pod.yaml │ ├── pods │ │ ├── OWNERS │ │ ├── pod-config.yaml │ │ ├── pod-config.json │ │ ├── pod-sample.yaml │ │ ├── pod-spec-common.yaml │ │ ├── pod-sample.json │ │ └── pod-spec-common.json │ ├── secrets │ │ ├── OWNERS │ │ ├── secret.yaml │ │ ├── secret-env-pod.yaml │ │ └── secret-pod.yaml │ ├── update-demo │ │ ├── OWNERS │ │ ├── images │ │ │ ├── kitten │ │ │ │ ├── html │ │ │ │ │ ├── data.json │ │ │ │ │ └── kitten.jpg │ │ │ │ └── Dockerfile │ │ │ └── nautilus │ │ │ │ ├── html │ │ │ │ ├── data.json │ │ │ │ └── nautilus.jpg │ │ │ │ └── Dockerfile │ │ ├── kitten-rc.yaml │ │ ├── nautilus-rc.yaml │ │ ├── build-images.sh │ │ └── local │ │ │ └── LICENSE.angular │ ├── OWNERS │ ├── downward-api │ │ ├── OWNERS │ │ ├── dapi-pod.yaml │ │ ├── volume │ │ │ └── dapi-volume.yaml │ │ └── dapi-container-resources.yaml │ ├── node-selection │ │ ├── OWNERS │ │ ├── pod.yaml │ │ └── pod-with-node-affinity.yaml │ ├── petset │ │ ├── OWNERS │ │ └── bootstrapping │ │ │ └── index.md │ ├── replicasets │ │ ├── OWNERS │ │ └── hpa-rs.yaml │ ├── jobs │ │ ├── OWNERS │ │ ├── work-queue-2 │ │ │ ├── Dockerfile │ │ │ ├── redis-service.yaml │ │ │ ├── job.yaml │ │ │ ├── redis-pod.yaml │ │ │ └── worker.py │ │ ├── work-queue-1 │ │ │ ├── worker.py │ │ │ ├── job.yaml │ │ │ └── Dockerfile │ │ └── expansions │ │ │ └── job.yaml.txt │ ├── walkthrough │ │ ├── OWNERS │ │ ├── pod-nginx.yaml │ │ ├── pod-nginx-with-label.yaml │ │ ├── pod-redis.yaml │ │ ├── deployment-update.yaml │ │ ├── service.yaml │ │ ├── podtemplate.json │ │ ├── pod-with-http-healthcheck.yaml │ │ └── deployment.yaml │ ├── services │ │ ├── OWNERS │ │ ├── service-sample.yaml │ │ ├── load-balancer-sample.yaml │ │ ├── service-sample.json │ │ └── load-balancer-sample.json │ ├── horizontal-pod-autoscaling │ │ ├── OWNERS │ │ ├── image │ │ │ ├── index.php │ │ │ └── Dockerfile │ │ └── hpa-php-apache.yaml │ ├── persistent-volumes │ │ ├── OWNERS │ │ ├── claims │ │ │ ├── claim-01.yaml │ │ │ ├── claim-02.yaml │ │ │ └── claim-03.json │ │ ├── simpletest │ │ │ ├── namespace.json │ │ │ ├── service.json │ │ │ └── pod.yaml │ │ └── volumes │ │ │ ├── nfs.yaml │ │ │ ├── local-01.yaml │ │ │ ├── gce.yaml │ │ │ └── local-02.yaml │ ├── replication-controller │ │ ├── OWNERS │ │ └── replication.yaml │ ├── ingress.yaml │ ├── simple-yaml.md │ ├── pod.yaml │ ├── nginx-svc.yaml │ ├── counter-pod.yaml │ ├── pod-w-message.yaml │ ├── job.yaml │ ├── run-my-nginx.yaml │ ├── nginx-deployment.yaml │ ├── bad-nginx-deployment.yaml │ ├── new-nginx-deployment.yaml │ ├── cronjob.yaml │ ├── deployment.yaml │ ├── nginx-lifecycle-deployment.yaml │ ├── nginx-app.yaml │ ├── nginx-probe-deployment.yaml │ ├── curlpod.yaml │ ├── redis-deployment.yaml │ ├── redis-resource-deployment.yaml │ ├── redis-secret-deployment.yaml │ ├── nginx-init-containers.yaml │ ├── kubectl │ │ └── .files_generated │ ├── nginx-secure-app.yaml │ ├── multi-pod.yaml │ ├── identifiers.md │ ├── petset.yaml │ └── pod-templates.md ├── admin │ ├── resourcequota │ │ ├── OWNERS │ │ ├── namespace.yaml │ │ ├── best-effort.yaml │ │ ├── object-counts.yaml │ │ ├── compute-resources.yaml │ │ ├── limits.yaml │ │ └── not-best-effort.yaml │ ├── OWNERS │ ├── high-availability │ │ ├── OWNERS │ │ ├── monit-docker │ │ ├── monit-kubelet │ │ ├── default-kubelet │ │ └── kube-scheduler.yaml │ ├── limitrange │ │ ├── OWNERS │ │ ├── namespace.yaml │ │ ├── invalid-pod.yaml │ │ ├── valid-pod.yaml │ │ └── limits.yaml │ ├── namespaces │ │ ├── OWNERS │ │ ├── namespace-dev.json │ │ └── namespace-prod.json │ ├── multiple-schedulers │ │ ├── OWNERS │ │ ├── pod1.yaml │ │ ├── pod3.yaml │ │ ├── pod2.yaml │ │ └── my-scheduler.yaml │ ├── federation │ │ └── OWNERS │ ├── ha-master-gce.png │ ├── apparmor │ │ ├── deny-write.profile │ │ └── hello-apparmor-pod.yaml │ ├── daemon.yaml │ └── ovs-networking.md ├── getting-started-guides │ ├── OWNERS │ ├── coreos │ │ └── OWNERS │ ├── rkt │ │ └── OWNERS │ ├── centos │ │ └── OWNERS │ ├── mesos │ │ ├── OWNERS │ │ ├── k8s-firewall.png │ │ └── k8s-guestbook.png │ ├── docker-multinode │ │ └── OWNERS │ ├── fedora │ │ └── OWNERS │ ├── windows │ │ └── windows-setup.png │ ├── docker.md │ ├── counter-pod.yaml │ ├── alternatives.md │ └── network-policy │ │ ├── weave.md │ │ └── romana.md ├── tutorials │ ├── stateless-application │ │ ├── Dockerfile │ │ ├── server.js │ │ ├── deployment-scale.yaml │ │ ├── deployment-update.yaml │ │ └── deployment.yaml │ ├── kubernetes-basics │ │ ├── public │ │ │ └── images │ │ │ │ ├── logo.png │ │ │ │ ├── badge-1.png │ │ │ │ ├── twitter.png │ │ │ │ ├── nav_point.png │ │ │ │ ├── quiz_true.png │ │ │ │ ├── logo_mobile.png │ │ │ │ ├── quiz_false.png │ │ │ │ ├── nav_point_active.png │ │ │ │ ├── nav_point_active.svg │ │ │ │ ├── nav_point_sub.svg │ │ │ │ ├── nav_point.svg │ │ │ │ ├── dislike.svg │ │ │ │ ├── like.svg │ │ │ │ └── module_04.svg │ │ ├── update-interactive.html │ │ ├── cluster-interactive.html │ │ ├── expose-interactive.html │ │ ├── deploy-interactive.html │ │ ├── explore-interactive.html │ │ └── scale-interactive.html │ └── stateful-application │ │ ├── gce-volume.yaml │ │ ├── mysql-configmap.yaml │ │ ├── Dockerfile │ │ ├── mysql-services.yaml │ │ ├── web.yaml │ │ └── mysql-deployment.yaml ├── tasks │ ├── configure-pod-container │ │ ├── secret.yaml │ │ ├── commands.yaml │ │ ├── pod-redis.yaml │ │ ├── envars.yaml │ │ ├── cpu-ram.yaml │ │ ├── secret-envars-pod.yaml │ │ └── secret-pod.yaml │ ├── administer-cluster │ │ ├── pod.yaml │ │ └── dns-horizontal-autoscaler.yaml │ ├── debug-application-cluster │ │ └── termination.yaml │ └── access-application-cluster │ │ └── redis-master.yaml ├── reporting-security-issues.md ├── api-reference │ ├── v1 │ │ ├── definitions.md │ │ └── operations.md │ ├── extensions │ │ └── v1beta1 │ │ │ ├── operations.md │ │ │ └── definitions.md │ └── README.md ├── concepts │ └── index.md ├── search.md └── federation │ └── api-reference │ └── README.md ├── CNAME ├── google0a2c3c07b75f9679.html ├── google2a9463bd6a902e34.html ├── googlece48a67808b497a5.html ├── googledb1a1313d9ca6e35.html ├── images ├── blocks.png ├── docs │ ├── ha.png │ ├── gcm.png │ ├── pleg.png │ ├── diagram.png │ ├── dynamic.png │ ├── influx.png │ ├── kibana.png │ ├── kitten.jpg │ ├── static.png │ ├── warning.png │ ├── all-lines.png │ ├── cadvisor.png │ ├── nautilus.jpg │ ├── pod-cache.png │ ├── releasing.png │ ├── architecture.png │ ├── es-browser.png │ ├── git_workflow.png │ ├── k8s-docker.png │ ├── k8s-firewall.png │ ├── kibana-logs.png │ ├── pr_workflow.png │ ├── synth-logger.png │ ├── ui-dashboard.png │ ├── k8s-guestbook.png │ ├── ovs-networking.png │ ├── bigquery-logging.png │ ├── external_access.png │ ├── meanstack │ │ ├── image_0.png │ │ ├── image_1.png │ │ ├── image_2.png │ │ ├── image_3.png │ │ ├── image_4.png │ │ ├── image_5.png │ │ ├── image_6.png │ │ └── image_7.png │ ├── node-allocatable.png │ ├── services-detail.png │ ├── services-overview.png │ ├── ui-dashboard-node.png │ ├── Kubemark_architecture.png │ ├── cloud-logging-console.png │ ├── k8s-singlenode-docker.png │ ├── pods │ │ └── single-container_1.ai │ ├── ui-dashboard-logs-view.png │ ├── ui-dashboard-zerostate.png │ ├── monitoring-architecture.png │ ├── ui-dashboard-deploy-file.png │ ├── ui-dashboard-detailsview.png │ ├── federation-high-level-arch.png │ ├── horizontal-pod-autoscaler.png │ ├── services-iptables-overview.png │ ├── services-userspace-overview.png │ ├── ui-dashboard-deploy-simple.png │ ├── ui-dashboard-secret-detail.png │ ├── ui-dashboard-service-list.png │ ├── ui-dashboard-workloadview.png │ └── ui-dashboard-deployment-detail.png ├── favicon.png ├── flower.png ├── pencil.png ├── texture.png ├── wheel.png ├── scalable.png ├── self-heal.png ├── suitcase.png ├── toc_icon.png ├── github_icon.png ├── slack_icon.png ├── twitter_icon.png ├── kub_video_thm.jpg ├── social_sprite.png ├── toc_icon_grey.png ├── case_studies │ ├── box.png │ ├── ccp.png │ ├── ebay.png │ ├── gs.png │ ├── nyt.png │ ├── sap.png │ ├── sds.png │ ├── wmc.png │ ├── concur.png │ ├── openai.png │ ├── story.png │ ├── wepay.png │ ├── zulily.png │ ├── amadeus.png │ ├── ancestry.png │ ├── box_logo.png │ ├── ebay_logo.png │ ├── pearson.png │ ├── sap_small.png │ ├── wikimedia.png │ ├── buffer_logo.png │ ├── homeoffice.png │ ├── liveperson.png │ ├── monzo_logo.png │ ├── soundcloud.png │ ├── video_thumb.jpg │ ├── yahoojapan.png │ ├── zulily_logo.png │ ├── comcast_logo.png │ ├── pearson_logo.png │ ├── philips_logo.png │ ├── video_thumb1.png │ ├── wikimedia_logo.png │ ├── pokemon_go_logo.png │ └── yahooJapan_logo.png ├── hellonode │ ├── image_0.png │ ├── image_1.png │ ├── image_2.png │ ├── image_3.png │ ├── image_4.png │ ├── image_5.png │ ├── image_6.png │ ├── image_7.png │ ├── image_8.png │ ├── image_9.png │ ├── image_10.png │ ├── image_11.png │ ├── image_12.png │ ├── image_13.png │ └── image_14.png ├── kub_video_banner.jpg ├── logos │ ├── redhat_logo.png │ ├── viacom_logo.png │ ├── wepay_logo.png │ ├── verizon_logo.png │ └── soundcloud_logo.png ├── square-logos │ ├── aqua.png │ ├── deis.png │ ├── citrix.png │ ├── harbur.png │ ├── intel.png │ ├── puppet.png │ ├── redhat.png │ ├── tigera.png │ ├── aporeto.png │ ├── appformix.png │ ├── apprenda.png │ ├── canonical.png │ ├── core_os.png │ ├── crunchy.png │ ├── datadog.png │ ├── diamanti.png │ ├── distelli.png │ ├── endocode.png │ ├── jetstack.png │ ├── livewyer.png │ ├── mirantis.png │ ├── platform9.png │ ├── rancher.png │ ├── sematext.png │ ├── skippbox.png │ ├── sys_dig.png │ ├── wercker.png │ ├── elastickube.png │ ├── giant_swarm.png │ ├── kubernetic.png │ ├── samsung_sds.png │ ├── stackpoint.png │ ├── weave_works.png │ ├── cockroach_labs.png │ ├── nuagenetworks.png │ ├── reactive_ops.png │ └── container_solutions.png ├── stackoverflow_icon.png ├── community_logos │ ├── box_logo.png │ ├── ibm_logo.png │ ├── aqua_logo.png │ ├── citrix_logo.png │ ├── deis_logo.png │ ├── ebay_logo.png │ ├── intel_logo.png │ ├── kabam_logo.png │ ├── puppet_logo.png │ ├── sysdig_logo.png │ ├── viacom_logo.png │ ├── we_pay_logo.png │ ├── zulily_logo.png │ ├── apprenda_logo.png │ ├── core_os_logo.png │ ├── datadog_logo.png │ ├── distelli_logo.png │ ├── mirantis_logo.png │ ├── pearson_logo.png │ ├── rancher_logo.png │ ├── red_hat_logo.png │ ├── wercker_logo.png │ ├── appformix_logo.png │ ├── elastickube_logo.png │ ├── mesosphere_logo.png │ ├── platform9_logo.png │ ├── soundcloud_logo.png │ ├── wikimedia_logo.png │ ├── crunchy_data_logo.png │ ├── goldman_sachs_logo.png │ ├── nuage_network_logo.png │ ├── sysdig_cloud_logo.png │ ├── new_york_times_logo.png │ ├── ubuntu_cannonical_logo.png │ └── wikimedia_foundation_logo.png ├── blog-logging │ └── diagrams │ │ ├── 27gf-counter.png │ │ └── cloud-logging.png ├── jquery-ui │ ├── ui-icons_222222_256x240.png │ ├── ui-icons_228ef1_256x240.png │ ├── ui-icons_444444_256x240.png │ ├── ui-icons_555555_256x240.png │ ├── ui-icons_777620_256x240.png │ ├── ui-icons_777777_256x240.png │ ├── ui-icons_cc0000_256x240.png │ ├── ui-icons_ef8c08_256x240.png │ ├── ui-icons_ffd27a_256x240.png │ ├── ui-icons_ffffff_256x240.png │ ├── ui-bg_flat_10_000000_40x100.png │ ├── ui-bg_glass_65_ffffff_1x400.png │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png ├── copycode.svg ├── icon-pencil.svg └── search-icon.svg ├── OWNERS ├── .gitignore ├── Gemfile ├── netlify.toml ├── staging-container ├── start.sh └── Dockerfile ├── _data ├── docs-home.yml ├── globals.yml ├── concepts.yml ├── tools.yml └── overrides.yml ├── robots.txt ├── 404.md ├── css └── styles.sass ├── kubernetes └── third_party │ └── swagger-ui │ └── index.md ├── _includes ├── task-tutorial-prereqs.md ├── default-storage-class-prereqs.md ├── tocsearch.html ├── templates │ ├── concept.md │ ├── _errorthrower.md │ └── task.md ├── tabs.html ├── tree.html └── code.html ├── _sass ├── _skin.sass └── _reset.sass ├── ISSUE_TEMPLATE.md ├── .travis.yml ├── Makefile ├── test └── examples.go ├── _config.yml ├── partners └── index.html └── README.md /docs/user-guide/federation/tmp/a: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | kubernetes.io 2 | kubernet.es 3 | -------------------------------------------------------------------------------- /docs/user-guide/nginx/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - janetkuo 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - mikedanese 3 | 4 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - derekwaynecarr 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/federation/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - quinton-hoole 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/logging-demo/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - mikedanese 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/pod-security-policy/OWNERS.txt: -------------------------------------------------------------------------------- 1 | assignees: 2 | - pweil- -------------------------------------------------------------------------------- /docs/admin/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - derekwaynecarr 3 | - mikedanese 4 | 5 | -------------------------------------------------------------------------------- /docs/getting-started-guides/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - errordeveloper 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - mikedanese 3 | 4 | -------------------------------------------------------------------------------- /docs/getting-started-guides/coreos/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - errordeveloper 3 | 4 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - dchen1107 3 | - pmorie 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/pods/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - caesarxuchao 3 | - mikedanese 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/secrets/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - mikedanese 3 | - pmorie 4 | 5 | -------------------------------------------------------------------------------- /google0a2c3c07b75f9679.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google0a2c3c07b75f9679.html -------------------------------------------------------------------------------- /google2a9463bd6a902e34.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google2a9463bd6a902e34.html -------------------------------------------------------------------------------- /googlece48a67808b497a5.html: -------------------------------------------------------------------------------- 1 | google-site-verification: googlece48a67808b497a5.html -------------------------------------------------------------------------------- /googledb1a1313d9ca6e35.html: -------------------------------------------------------------------------------- 1 | google-site-verification: googledb1a1313d9ca6e35.html -------------------------------------------------------------------------------- /docs/admin/high-availability/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - davidopp 3 | - lavalamp 4 | 5 | -------------------------------------------------------------------------------- /docs/admin/limitrange/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - derekwaynecarr 3 | - janetkuo 4 | 5 | -------------------------------------------------------------------------------- /docs/admin/namespaces/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - derekwaynecarr 3 | - janetkuo 4 | 5 | -------------------------------------------------------------------------------- /docs/getting-started-guides/rkt/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - lavalamp 3 | - yifan-gu 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - janetkuo 3 | - mikedanese 4 | 5 | -------------------------------------------------------------------------------- /docs/admin/multiple-schedulers/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - davidopp 3 | - madhusudancs 4 | 5 | -------------------------------------------------------------------------------- /docs/getting-started-guides/centos/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - lavalamp 3 | - thockin 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - erictune 3 | - janetkuo 4 | - satnam6502 5 | 6 | -------------------------------------------------------------------------------- /docs/user-guide/downward-api/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - bgrant0607 3 | - mikedanese 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/node-selection/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - dchen1107 3 | - mikedanese 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/petset/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - aledbf 3 | - bprashanth 4 | - foxish 5 | 6 | -------------------------------------------------------------------------------- /docs/user-guide/replicasets/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - bprashanth 3 | - madhusudancs 4 | 5 | -------------------------------------------------------------------------------- /docs/admin/federation/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - madhusudancs 3 | - mml 4 | - nikhiljindal 5 | 6 | -------------------------------------------------------------------------------- /docs/getting-started-guides/mesos/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - jdef 3 | - sttts 4 | - thockin 5 | 6 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/redis/redis-config: -------------------------------------------------------------------------------- 1 | maxmemory 2mb 2 | maxmemory-policy allkeys-lru 3 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - caesarxuchao 3 | - erictune 4 | - soltysh 5 | 6 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/kitten/html/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "kitten.jpg" 3 | } 4 | -------------------------------------------------------------------------------- /images/blocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/blocks.png -------------------------------------------------------------------------------- /images/docs/ha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ha.png -------------------------------------------------------------------------------- /images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/favicon.png -------------------------------------------------------------------------------- /images/flower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/flower.png -------------------------------------------------------------------------------- /images/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/pencil.png -------------------------------------------------------------------------------- /images/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/texture.png -------------------------------------------------------------------------------- /images/wheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/wheel.png -------------------------------------------------------------------------------- /docs/getting-started-guides/docker-multinode/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - dchen1107 3 | - resouer 4 | 5 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/containers/backend/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:onbuild 2 | EXPOSE 8080 3 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/containers/show/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:onbuild 2 | EXPOSE 8080 3 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/nautilus/html/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "nautilus.jpg" 3 | } 4 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - eparis 3 | - janetkuo 4 | - mikedanese 5 | 6 | -------------------------------------------------------------------------------- /images/docs/gcm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/gcm.png -------------------------------------------------------------------------------- /images/docs/pleg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/pleg.png -------------------------------------------------------------------------------- /images/scalable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/scalable.png -------------------------------------------------------------------------------- /images/self-heal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/self-heal.png -------------------------------------------------------------------------------- /images/suitcase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/suitcase.png -------------------------------------------------------------------------------- /images/toc_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/toc_icon.png -------------------------------------------------------------------------------- /docs/getting-started-guides/fedora/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - aveshagarwal 3 | - eparis 4 | - thockin 5 | 6 | -------------------------------------------------------------------------------- /images/docs/diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/diagram.png -------------------------------------------------------------------------------- /images/docs/dynamic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/dynamic.png -------------------------------------------------------------------------------- /images/docs/influx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/influx.png -------------------------------------------------------------------------------- /images/docs/kibana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/kibana.png -------------------------------------------------------------------------------- /images/docs/kitten.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/kitten.jpg -------------------------------------------------------------------------------- /images/docs/static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/static.png -------------------------------------------------------------------------------- /images/docs/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/warning.png -------------------------------------------------------------------------------- /images/github_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/github_icon.png -------------------------------------------------------------------------------- /images/slack_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/slack_icon.png -------------------------------------------------------------------------------- /images/twitter_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/twitter_icon.png -------------------------------------------------------------------------------- /images/docs/all-lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/all-lines.png -------------------------------------------------------------------------------- /images/docs/cadvisor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/cadvisor.png -------------------------------------------------------------------------------- /images/docs/nautilus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/nautilus.jpg -------------------------------------------------------------------------------- /images/docs/pod-cache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/pod-cache.png -------------------------------------------------------------------------------- /images/docs/releasing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/releasing.png -------------------------------------------------------------------------------- /images/kub_video_thm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/kub_video_thm.jpg -------------------------------------------------------------------------------- /images/social_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/social_sprite.png -------------------------------------------------------------------------------- /images/toc_icon_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/toc_icon_grey.png -------------------------------------------------------------------------------- /docs/admin/ha-master-gce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/admin/ha-master-gce.png -------------------------------------------------------------------------------- /docs/admin/limitrange/namespace.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: limit-example 5 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/namespace.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: quota-example 5 | -------------------------------------------------------------------------------- /docs/user-guide/services/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - bprashanth 3 | - janetkuo 4 | - mikedanese 5 | - thockin 6 | 7 | -------------------------------------------------------------------------------- /images/case_studies/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/box.png -------------------------------------------------------------------------------- /images/case_studies/ccp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/ccp.png -------------------------------------------------------------------------------- /images/case_studies/ebay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/ebay.png -------------------------------------------------------------------------------- /images/case_studies/gs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/gs.png -------------------------------------------------------------------------------- /images/case_studies/nyt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/nyt.png -------------------------------------------------------------------------------- /images/case_studies/sap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/sap.png -------------------------------------------------------------------------------- /images/case_studies/sds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/sds.png -------------------------------------------------------------------------------- /images/case_studies/wmc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/wmc.png -------------------------------------------------------------------------------- /images/docs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/architecture.png -------------------------------------------------------------------------------- /images/docs/es-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/es-browser.png -------------------------------------------------------------------------------- /images/docs/git_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/git_workflow.png -------------------------------------------------------------------------------- /images/docs/k8s-docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/k8s-docker.png -------------------------------------------------------------------------------- /images/docs/k8s-firewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/k8s-firewall.png -------------------------------------------------------------------------------- /images/docs/kibana-logs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/kibana-logs.png -------------------------------------------------------------------------------- /images/docs/pr_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/pr_workflow.png -------------------------------------------------------------------------------- /images/docs/synth-logger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/synth-logger.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard.png -------------------------------------------------------------------------------- /images/hellonode/image_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_0.png -------------------------------------------------------------------------------- /images/hellonode/image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_1.png -------------------------------------------------------------------------------- /images/hellonode/image_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_2.png -------------------------------------------------------------------------------- /images/hellonode/image_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_3.png -------------------------------------------------------------------------------- /images/hellonode/image_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_4.png -------------------------------------------------------------------------------- /images/hellonode/image_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_5.png -------------------------------------------------------------------------------- /images/hellonode/image_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_6.png -------------------------------------------------------------------------------- /images/hellonode/image_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_7.png -------------------------------------------------------------------------------- /images/hellonode/image_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_8.png -------------------------------------------------------------------------------- /images/hellonode/image_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_9.png -------------------------------------------------------------------------------- /images/kub_video_banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/kub_video_banner.jpg -------------------------------------------------------------------------------- /images/logos/redhat_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/logos/redhat_logo.png -------------------------------------------------------------------------------- /images/logos/viacom_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/logos/viacom_logo.png -------------------------------------------------------------------------------- /images/logos/wepay_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/logos/wepay_logo.png -------------------------------------------------------------------------------- /images/square-logos/aqua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/aqua.png -------------------------------------------------------------------------------- /images/square-logos/deis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/deis.png -------------------------------------------------------------------------------- /docs/user-guide/horizontal-pod-autoscaling/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - fgrzadkowski 3 | - janetkuo 4 | - jszczepkowski 5 | 6 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - jsafrane 3 | - mikedanese 4 | - saad-ali 5 | - thockin 6 | 7 | -------------------------------------------------------------------------------- /images/case_studies/concur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/concur.png -------------------------------------------------------------------------------- /images/case_studies/openai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/openai.png -------------------------------------------------------------------------------- /images/case_studies/story.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/story.png -------------------------------------------------------------------------------- /images/case_studies/wepay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/wepay.png -------------------------------------------------------------------------------- /images/case_studies/zulily.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/zulily.png -------------------------------------------------------------------------------- /images/docs/k8s-guestbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/k8s-guestbook.png -------------------------------------------------------------------------------- /images/docs/ovs-networking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ovs-networking.png -------------------------------------------------------------------------------- /images/hellonode/image_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_10.png -------------------------------------------------------------------------------- /images/hellonode/image_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_11.png -------------------------------------------------------------------------------- /images/hellonode/image_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_12.png -------------------------------------------------------------------------------- /images/hellonode/image_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_13.png -------------------------------------------------------------------------------- /images/hellonode/image_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/hellonode/image_14.png -------------------------------------------------------------------------------- /images/logos/verizon_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/logos/verizon_logo.png -------------------------------------------------------------------------------- /images/square-logos/citrix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/citrix.png -------------------------------------------------------------------------------- /images/square-logos/harbur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/harbur.png -------------------------------------------------------------------------------- /images/square-logos/intel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/intel.png -------------------------------------------------------------------------------- /images/square-logos/puppet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/puppet.png -------------------------------------------------------------------------------- /images/square-logos/redhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/redhat.png -------------------------------------------------------------------------------- /images/square-logos/tigera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/tigera.png -------------------------------------------------------------------------------- /images/stackoverflow_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/stackoverflow_icon.png -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - lavalamp 3 | - smarterclayton 4 | - janetkuo 5 | - pwittrock 6 | - kelseyhightower 7 | - jaredbhatti 8 | -------------------------------------------------------------------------------- /docs/tutorials/stateless-application/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:6.9.2 2 | EXPOSE 8080 3 | COPY server.js . 4 | CMD node server.js 5 | -------------------------------------------------------------------------------- /images/case_studies/amadeus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/amadeus.png -------------------------------------------------------------------------------- /images/case_studies/ancestry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/ancestry.png -------------------------------------------------------------------------------- /images/case_studies/box_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/box_logo.png -------------------------------------------------------------------------------- /images/case_studies/ebay_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/ebay_logo.png -------------------------------------------------------------------------------- /images/case_studies/pearson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/pearson.png -------------------------------------------------------------------------------- /images/case_studies/sap_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/sap_small.png -------------------------------------------------------------------------------- /images/case_studies/wikimedia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/wikimedia.png -------------------------------------------------------------------------------- /images/docs/bigquery-logging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/bigquery-logging.png -------------------------------------------------------------------------------- /images/docs/external_access.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/external_access.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_0.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_1.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_2.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_3.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_4.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_5.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_6.png -------------------------------------------------------------------------------- /images/docs/meanstack/image_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/meanstack/image_7.png -------------------------------------------------------------------------------- /images/docs/node-allocatable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/node-allocatable.png -------------------------------------------------------------------------------- /images/docs/services-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/services-detail.png -------------------------------------------------------------------------------- /images/docs/services-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/services-overview.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-node.png -------------------------------------------------------------------------------- /images/logos/soundcloud_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/logos/soundcloud_logo.png -------------------------------------------------------------------------------- /images/square-logos/aporeto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/aporeto.png -------------------------------------------------------------------------------- /images/square-logos/appformix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/appformix.png -------------------------------------------------------------------------------- /images/square-logos/apprenda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/apprenda.png -------------------------------------------------------------------------------- /images/square-logos/canonical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/canonical.png -------------------------------------------------------------------------------- /images/square-logos/core_os.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/core_os.png -------------------------------------------------------------------------------- /images/square-logos/crunchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/crunchy.png -------------------------------------------------------------------------------- /images/square-logos/datadog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/datadog.png -------------------------------------------------------------------------------- /images/square-logos/diamanti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/diamanti.png -------------------------------------------------------------------------------- /images/square-logos/distelli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/distelli.png -------------------------------------------------------------------------------- /images/square-logos/endocode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/endocode.png -------------------------------------------------------------------------------- /images/square-logos/jetstack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/jetstack.png -------------------------------------------------------------------------------- /images/square-logos/livewyer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/livewyer.png -------------------------------------------------------------------------------- /images/square-logos/mirantis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/mirantis.png -------------------------------------------------------------------------------- /images/square-logos/platform9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/platform9.png -------------------------------------------------------------------------------- /images/square-logos/rancher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/rancher.png -------------------------------------------------------------------------------- /images/square-logos/sematext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/sematext.png -------------------------------------------------------------------------------- /images/square-logos/skippbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/skippbox.png -------------------------------------------------------------------------------- /images/square-logos/sys_dig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/sys_dig.png -------------------------------------------------------------------------------- /images/square-logos/wercker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/wercker.png -------------------------------------------------------------------------------- /images/case_studies/buffer_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/buffer_logo.png -------------------------------------------------------------------------------- /images/case_studies/homeoffice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/homeoffice.png -------------------------------------------------------------------------------- /images/case_studies/liveperson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/liveperson.png -------------------------------------------------------------------------------- /images/case_studies/monzo_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/monzo_logo.png -------------------------------------------------------------------------------- /images/case_studies/soundcloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/soundcloud.png -------------------------------------------------------------------------------- /images/case_studies/video_thumb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/video_thumb.jpg -------------------------------------------------------------------------------- /images/case_studies/yahoojapan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/yahoojapan.png -------------------------------------------------------------------------------- /images/case_studies/zulily_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/zulily_logo.png -------------------------------------------------------------------------------- /images/community_logos/box_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/box_logo.png -------------------------------------------------------------------------------- /images/community_logos/ibm_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/ibm_logo.png -------------------------------------------------------------------------------- /images/square-logos/elastickube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/elastickube.png -------------------------------------------------------------------------------- /images/square-logos/giant_swarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/giant_swarm.png -------------------------------------------------------------------------------- /images/square-logos/kubernetic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/kubernetic.png -------------------------------------------------------------------------------- /images/square-logos/samsung_sds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/samsung_sds.png -------------------------------------------------------------------------------- /images/square-logos/stackpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/stackpoint.png -------------------------------------------------------------------------------- /images/square-logos/weave_works.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/weave_works.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | **/desktop.ini 3 | .jekyll-metadata 4 | _site/** 5 | .sass-cache/** 6 | CNAME 7 | .travis.yml 8 | .idea/ 9 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "github-pages", group: :jekyll_plugins 4 | gem "jekyll-include-cache", "~> 0.1" 5 | -------------------------------------------------------------------------------- /images/case_studies/comcast_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/comcast_logo.png -------------------------------------------------------------------------------- /images/case_studies/pearson_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/pearson_logo.png -------------------------------------------------------------------------------- /images/case_studies/philips_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/philips_logo.png -------------------------------------------------------------------------------- /images/case_studies/video_thumb1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/video_thumb1.png -------------------------------------------------------------------------------- /images/case_studies/wikimedia_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/wikimedia_logo.png -------------------------------------------------------------------------------- /images/community_logos/aqua_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/aqua_logo.png -------------------------------------------------------------------------------- /images/community_logos/citrix_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/citrix_logo.png -------------------------------------------------------------------------------- /images/community_logos/deis_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/deis_logo.png -------------------------------------------------------------------------------- /images/community_logos/ebay_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/ebay_logo.png -------------------------------------------------------------------------------- /images/community_logos/intel_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/intel_logo.png -------------------------------------------------------------------------------- /images/community_logos/kabam_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/kabam_logo.png -------------------------------------------------------------------------------- /images/community_logos/puppet_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/puppet_logo.png -------------------------------------------------------------------------------- /images/community_logos/sysdig_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/sysdig_logo.png -------------------------------------------------------------------------------- /images/community_logos/viacom_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/viacom_logo.png -------------------------------------------------------------------------------- /images/community_logos/we_pay_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/we_pay_logo.png -------------------------------------------------------------------------------- /images/community_logos/zulily_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/zulily_logo.png -------------------------------------------------------------------------------- /images/docs/Kubemark_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/Kubemark_architecture.png -------------------------------------------------------------------------------- /images/docs/cloud-logging-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/cloud-logging-console.png -------------------------------------------------------------------------------- /images/docs/k8s-singlenode-docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/k8s-singlenode-docker.png -------------------------------------------------------------------------------- /images/docs/pods/single-container_1.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/pods/single-container_1.ai -------------------------------------------------------------------------------- /images/docs/ui-dashboard-logs-view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-logs-view.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-zerostate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-zerostate.png -------------------------------------------------------------------------------- /images/square-logos/cockroach_labs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/cockroach_labs.png -------------------------------------------------------------------------------- /images/square-logos/nuagenetworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/nuagenetworks.png -------------------------------------------------------------------------------- /images/square-logos/reactive_ops.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/reactive_ops.png -------------------------------------------------------------------------------- /images/case_studies/pokemon_go_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/pokemon_go_logo.png -------------------------------------------------------------------------------- /images/case_studies/yahooJapan_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/case_studies/yahooJapan_logo.png -------------------------------------------------------------------------------- /images/community_logos/apprenda_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/apprenda_logo.png -------------------------------------------------------------------------------- /images/community_logos/core_os_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/core_os_logo.png -------------------------------------------------------------------------------- /images/community_logos/datadog_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/datadog_logo.png -------------------------------------------------------------------------------- /images/community_logos/distelli_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/distelli_logo.png -------------------------------------------------------------------------------- /images/community_logos/mirantis_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/mirantis_logo.png -------------------------------------------------------------------------------- /images/community_logos/pearson_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/pearson_logo.png -------------------------------------------------------------------------------- /images/community_logos/rancher_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/rancher_logo.png -------------------------------------------------------------------------------- /images/community_logos/red_hat_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/red_hat_logo.png -------------------------------------------------------------------------------- /images/community_logos/wercker_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/wercker_logo.png -------------------------------------------------------------------------------- /images/docs/monitoring-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/monitoring-architecture.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-deploy-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-deploy-file.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-detailsview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-detailsview.png -------------------------------------------------------------------------------- /docs/user-guide/configmap/kubectl/ui.properties: -------------------------------------------------------------------------------- 1 | color.good=purple 2 | color.bad=yellow 3 | allow.textmode=true 4 | how.nice.to.look=fairlyNice 5 | -------------------------------------------------------------------------------- /images/community_logos/appformix_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/appformix_logo.png -------------------------------------------------------------------------------- /images/community_logos/elastickube_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/elastickube_logo.png -------------------------------------------------------------------------------- /images/community_logos/mesosphere_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/mesosphere_logo.png -------------------------------------------------------------------------------- /images/community_logos/platform9_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/platform9_logo.png -------------------------------------------------------------------------------- /images/community_logos/soundcloud_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/soundcloud_logo.png -------------------------------------------------------------------------------- /images/community_logos/wikimedia_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/wikimedia_logo.png -------------------------------------------------------------------------------- /images/docs/federation-high-level-arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/federation-high-level-arch.png -------------------------------------------------------------------------------- /images/docs/horizontal-pod-autoscaler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/horizontal-pod-autoscaler.png -------------------------------------------------------------------------------- /images/docs/services-iptables-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/services-iptables-overview.png -------------------------------------------------------------------------------- /images/docs/services-userspace-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/services-userspace-overview.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-deploy-simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-deploy-simple.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-secret-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-secret-detail.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-service-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-service-list.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-workloadview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-workloadview.png -------------------------------------------------------------------------------- /images/square-logos/container_solutions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/square-logos/container_solutions.png -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | command = "make build" 3 | publish = "_site" 4 | 5 | [context.deploy-preview] 6 | command = "make build-preview" 7 | -------------------------------------------------------------------------------- /docs/user-guide/replication-controller/OWNERS: -------------------------------------------------------------------------------- 1 | assignees: 2 | - bprashanth 3 | - bprashanth 4 | - caesarxuchao 5 | - janetkuo 6 | - mikedanese 7 | 8 | -------------------------------------------------------------------------------- /images/blog-logging/diagrams/27gf-counter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/blog-logging/diagrams/27gf-counter.png -------------------------------------------------------------------------------- /images/community_logos/crunchy_data_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/crunchy_data_logo.png -------------------------------------------------------------------------------- /images/community_logos/goldman_sachs_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/goldman_sachs_logo.png -------------------------------------------------------------------------------- /images/community_logos/nuage_network_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/nuage_network_logo.png -------------------------------------------------------------------------------- /images/community_logos/sysdig_cloud_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/sysdig_cloud_logo.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /images/blog-logging/diagrams/cloud-logging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/blog-logging/diagrams/cloud-logging.png -------------------------------------------------------------------------------- /images/community_logos/new_york_times_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/new_york_times_logo.png -------------------------------------------------------------------------------- /images/docs/ui-dashboard-deployment-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/docs/ui-dashboard-deployment-detail.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /staging-container/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -x 4 | 5 | bundle 6 | bundle exec jekyll clean 7 | bundle exec jekyll serve -H 0.0.0.0 -P 4000 8 | -------------------------------------------------------------------------------- /_data/docs-home.yml: -------------------------------------------------------------------------------- 1 | bigheader: "Kubernetes Documentation" 2 | abstract: "Documentation for using and learning about Kubernetes." 3 | toc: 4 | - docs/index.md 5 | -------------------------------------------------------------------------------- /docs/getting-started-guides/mesos/k8s-firewall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/getting-started-guides/mesos/k8s-firewall.png -------------------------------------------------------------------------------- /images/community_logos/ubuntu_cannonical_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/ubuntu_cannonical_logo.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /_data/globals.yml: -------------------------------------------------------------------------------- 1 | tocs: 2 | - docs-home 3 | - guides 4 | - tutorials 5 | - tasks 6 | - concepts 7 | - reference 8 | - tools 9 | - samples 10 | - support 11 | -------------------------------------------------------------------------------- /docs/getting-started-guides/mesos/k8s-guestbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/getting-started-guides/mesos/k8s-guestbook.png -------------------------------------------------------------------------------- /docs/getting-started-guides/windows/windows-setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/getting-started-guides/windows/windows-setup.png -------------------------------------------------------------------------------- /images/community_logos/wikimedia_foundation_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/community_logos/wikimedia_foundation_logo.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/logo.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/badge-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/badge-1.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/twitter.png -------------------------------------------------------------------------------- /docs/user-guide/configmap/configmap.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: test-configmap 5 | data: 6 | data-1: value-1 7 | data-2: value-2 8 | -------------------------------------------------------------------------------- /docs/user-guide/horizontal-pod-autoscaling/image/index.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /docs/user-guide/secrets/secret.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: test-secret 5 | data: 6 | data-1: dmFsdWUtMQ0K 7 | data-2: dmFsdWUtMg0KDQo= 8 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/kitten/html/kitten.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/user-guide/update-demo/images/kitten/html/kitten.jpg -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /images/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/images/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/nav_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/nav_point.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/quiz_true.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/quiz_true.png -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python 2 | RUN pip install redis 3 | COPY ./worker.py /worker.py 4 | COPY ./rediswq.py /rediswq.py 5 | 6 | CMD python worker.py 7 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/logo_mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/logo_mobile.png -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/quiz_false.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/quiz_false.png -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/nautilus/html/nautilus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/user-guide/update-demo/images/nautilus/html/nautilus.jpg -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/secret.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: test-secret 5 | data: 6 | username: bXktYXBwCg== 7 | password: Mzk1MjgkdmRnN0piCg== 8 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/nav_point_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/kubernetes.github.io/master/docs/tutorials/kubernetes-basics/public/images/nav_point_active.png -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | 3 | Disallow: /legacy/ 4 | Disallow: /v1.0/ 5 | Disallow: /v1.1/ 6 | Disallow: /404/ 7 | Disallow: 404.html 8 | 9 | SITEMAP: http://kubernetes.io/sitemap.xml 10 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/best-effort.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ResourceQuota 3 | metadata: 4 | name: best-effort 5 | spec: 6 | hard: 7 | pods: "10" 8 | scopes: 9 | - BestEffort 10 | -------------------------------------------------------------------------------- /docs/user-guide/ingress.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Ingress 3 | metadata: 4 | name: test-ingress 5 | spec: 6 | backend: 7 | serviceName: testsvc 8 | servicePort: 80 9 | 10 | -------------------------------------------------------------------------------- /docs/user-guide/simple-yaml.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - mikedanese 4 | - thockin 5 | 6 | --- 7 | ### This document has been subsumed by [deploying-applications.md](/docs/user-guide/deploying-applications/) 8 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-1/worker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Just prints standard out and sleeps for 10 seconds. 4 | import sys 5 | import time 6 | print("Processing " + sys.stdin.lines()) 7 | time.sleep(10) 8 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/kubectl/game.properties: -------------------------------------------------------------------------------- 1 | enemies=aliens 2 | lives=3 3 | enemies.cheat=true 4 | enemies.cheat.level=noGoodRotten 5 | secret.code.passphrase=UUDDLRLRBABAS 6 | secret.code.allowed=true 7 | secret.code.lives=30 -------------------------------------------------------------------------------- /docs/user-guide/services/service-sample.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: myapp 5 | spec: 6 | ports: 7 | - port: 8765 8 | targetPort: 9376 9 | selector: 10 | app: example 11 | -------------------------------------------------------------------------------- /docs/admin/namespaces/namespace-dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Namespace", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "development", 6 | "labels": { 7 | "name": "development" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /docs/admin/namespaces/namespace-prod.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Namespace", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "production", 6 | "labels": { 7 | "name": "production" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /docs/reporting-security-issues.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - eparis 4 | - erictune 5 | title: Report a Security Vulnerability 6 | --- 7 | 8 | This document has moved to [http://kubernetes.io/security](http://kubernetes.io/security). 9 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-2/redis-service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: redis 5 | spec: 6 | ports: 7 | - port: 6379 8 | targetPort: 6379 9 | selector: 10 | app: redis 11 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/pod-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | spec: 6 | containers: 7 | - name: nginx 8 | image: nginx:1.7.9 9 | ports: 10 | - containerPort: 80 11 | -------------------------------------------------------------------------------- /404.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: docwithnav 3 | title: 404 Error! 4 | permalink: /404.html 5 | no_canonical: true 6 | sitemap: false 7 | --- 8 | 9 | 10 | 11 | Sorry, this page was not found. :( 12 | -------------------------------------------------------------------------------- /docs/user-guide/pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | labels: 6 | app: nginx 7 | spec: 8 | containers: 9 | - name: nginx 10 | image: nginx 11 | ports: 12 | - containerPort: 80 13 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/object-counts.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ResourceQuota 3 | metadata: 4 | name: object-counts 5 | spec: 6 | hard: 7 | persistentvolumeclaims: "2" 8 | services.loadbalancers: "2" 9 | services.nodeports: "0" -------------------------------------------------------------------------------- /docs/user-guide/nginx-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: my-nginx 5 | labels: 6 | run: my-nginx 7 | spec: 8 | ports: 9 | - port: 80 10 | protocol: TCP 11 | selector: 12 | run: my-nginx 13 | -------------------------------------------------------------------------------- /docs/user-guide/nginx/nginx-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: my-nginx-svc 5 | labels: 6 | app: nginx 7 | spec: 8 | type: LoadBalancer 9 | ports: 10 | - port: 80 11 | selector: 12 | app: nginx 13 | -------------------------------------------------------------------------------- /css/styles.sass: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "../_sass/reset" 5 | @import "../_sass/skin" 6 | @import "../_sass/code-styles" 7 | 8 | // media queries 9 | @import "../_sass/base" 10 | @import "../_sass/tablet" 11 | @import "../_sass/desktop" 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/claims/claim-01.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: myclaim-1 5 | spec: 6 | accessModes: 7 | - ReadWriteOnce 8 | resources: 9 | requests: 10 | storage: 3Gi 11 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/claims/claim-02.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolumeClaim 2 | apiVersion: v1 3 | metadata: 4 | name: myclaim-2 5 | spec: 6 | accessModes: 7 | - ReadWriteOnce 8 | resources: 9 | requests: 10 | storage: 8Gi 11 | -------------------------------------------------------------------------------- /docs/admin/apparmor/deny-write.profile: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | profile k8s-apparmor-example-deny-write flags=(attach_disconnected) { 4 | #include 5 | 6 | file, 7 | 8 | # Deny all file writes. 9 | deny /** w, 10 | } 11 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/simpletest/namespace.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Namespace", 3 | "apiVersion":"v1", 4 | "metadata": { 5 | "name": "myns", 6 | "labels": { 7 | "name": "development" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-config.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: "" 5 | labels: 6 | name: "" 7 | namespace: "" 8 | annotations: [] 9 | generateName: "" 10 | spec: 11 | ? "// See 'The spec schema' for details." 12 | : ~ 13 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/pod-nginx-with-label.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | labels: 6 | app: nginx 7 | spec: 8 | containers: 9 | - name: nginx 10 | image: nginx 11 | ports: 12 | - containerPort: 80 13 | -------------------------------------------------------------------------------- /images/copycode.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /kubernetes/third_party/swagger-ui/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Kubernetes API Swagger Spec 3 | --- 4 | 5 | --- 6 | 7 | Kubernetes swagger UI has now been replaced by our generated API reference docs 8 | which can be accessed at http://kubernetes.io/docs/api-reference/README/. 9 | -------------------------------------------------------------------------------- /_includes/task-tutorial-prereqs.md: -------------------------------------------------------------------------------- 1 | You need to have a Kubernetes cluster, and the kubectl command-line tool must 2 | be configured to communicate with your cluster. If you do not already have a 3 | cluster, you can create one by using 4 | [Minikube](/docs/getting-started-guides/minikube). 5 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/compute-resources.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ResourceQuota 3 | metadata: 4 | name: compute-resources 5 | spec: 6 | hard: 7 | pods: "4" 8 | requests.cpu: "1" 9 | requests.memory: 1Gi 10 | limits.cpu: "2" 11 | limits.memory: 2Gi 12 | -------------------------------------------------------------------------------- /docs/admin/multiple-schedulers/pod1.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: no-annotation 5 | labels: 6 | name: multischeduler-example 7 | spec: 8 | containers: 9 | - name: pod-with-no-annotation-container 10 | image: gcr.io/google_containers/pause:2.0 -------------------------------------------------------------------------------- /docs/tasks/administer-cluster/pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | labels: 6 | env: test 7 | spec: 8 | containers: 9 | - name: nginx 10 | image: nginx 11 | imagePullPolicy: IfNotPresent 12 | nodeSelector: 13 | disktype: ssd 14 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/backend-srv.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: backend-srv 6 | labels: 7 | type: backend-type 8 | spec: 9 | ports: 10 | - port: 5000 11 | protocol: TCP 12 | selector: 13 | type: backend-type 14 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/volumes/nfs.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: PersistentVolume 3 | metadata: 4 | name: pv0003 5 | spec: 6 | capacity: 7 | storage: 5Gi 8 | accessModes: 9 | - ReadWriteOnce 10 | nfs: 11 | path: /somepath 12 | server: 172.17.0.2 13 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/limits.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: LimitRange 3 | metadata: 4 | name: limits 5 | spec: 6 | limits: 7 | - default: 8 | cpu: 200m 9 | memory: 512Mi 10 | defaultRequest: 11 | cpu: 100m 12 | memory: 256Mi 13 | type: Container 14 | -------------------------------------------------------------------------------- /docs/getting-started-guides/docker.md: -------------------------------------------------------------------------------- 1 | # *Stop. This guide has been superseded by [Minikube](../minikube/). The link below is present only for historical purposes* 2 | 3 | The document has been moved to [here](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/local-cluster/docker.md) 4 | -------------------------------------------------------------------------------- /docs/user-guide/counter-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: counter 5 | spec: 6 | containers: 7 | - name: count 8 | image: ubuntu:14.04 9 | args: [bash, -c, 10 | 'for ((i = 0; ; i++)); do echo "$i: $(date)"; sleep 1; done'] 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/user-guide/node-selection/pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | labels: 6 | env: test 7 | spec: 8 | containers: 9 | - name: nginx 10 | image: nginx 11 | imagePullPolicy: IfNotPresent 12 | nodeSelector: 13 | disktype: ssd 14 | -------------------------------------------------------------------------------- /docs/tutorials/stateless-application/server.js: -------------------------------------------------------------------------------- 1 | var handleRequest = function(request, response) { 2 | console.log('Received request for URL: ' + request.url); 3 | response.writeHead(200); 4 | response.end('Hello World!'); 5 | }; 6 | var www = http.createServer(handleRequest); 7 | www.listen(8080); 8 | -------------------------------------------------------------------------------- /docs/getting-started-guides/counter-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: counter 5 | spec: 6 | containers: 7 | - name: count 8 | image: ubuntu:14.04 9 | args: [bash, -c, 10 | 'for ((i = 0; ; i++)); do echo "$i: $(date)"; sleep 1; done'] 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/gce-volume.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: PersistentVolume 3 | metadata: 4 | name: mysql-pv 5 | spec: 6 | capacity: 7 | storage: 20Gi 8 | accessModes: 9 | - ReadWriteOnce 10 | gcePersistentDisk: 11 | pdName: mysql-disk 12 | fsType: ext4 13 | -------------------------------------------------------------------------------- /docs/user-guide/pod-w-message.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: pod-w-message 5 | spec: 6 | containers: 7 | - name: messager 8 | image: "ubuntu:14.04" 9 | command: ["/bin/sh","-c"] 10 | args: ["sleep 60 && /bin/echo Sleep expired > /dev/termination-log"] 11 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/volumes/local-01.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: pv0001 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 10Gi 10 | accessModes: 11 | - ReadWriteOnce 12 | hostPath: 13 | path: "/tmp/data01" 14 | -------------------------------------------------------------------------------- /docs/user-guide/replicasets/hpa-rs.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: autoscaling/v1 2 | kind: HorizontalPodAutoscaler 3 | metadata: 4 | name: frontend-scaler 5 | spec: 6 | scaleTargetRef: 7 | kind: ReplicaSet 8 | name: frontend 9 | minReplicas: 3 10 | maxReplicas: 10 11 | targetCPUUtilizationPercentage: 50 12 | -------------------------------------------------------------------------------- /docs/admin/resourcequota/not-best-effort.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ResourceQuota 3 | metadata: 4 | name: not-best-effort 5 | spec: 6 | hard: 7 | pods: "4" 8 | requests.cpu: "1" 9 | requests.memory: 1Gi 10 | limits.cpu: "2" 11 | limits.memory: 2Gi 12 | scopes: 13 | - NotBestEffort 14 | -------------------------------------------------------------------------------- /docs/admin/limitrange/invalid-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: invalid-pod 5 | spec: 6 | containers: 7 | - name: kubernetes-serve-hostname 8 | image: gcr.io/google_containers/serve_hostname 9 | resources: 10 | limits: 11 | cpu: "3" 12 | memory: 100Mi 13 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/show-srv.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: show-srv 6 | labels: 7 | type: show-type 8 | spec: 9 | type: LoadBalancer 10 | ports: 11 | - port: 80 12 | protocol: TCP 13 | targetPort: 8080 14 | selector: 15 | type: show-type 16 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/volumes/gce.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: pv0003 5 | spec: 6 | capacity: 7 | storage: 10Gi 8 | accessModes: 9 | - ReadWriteOnce 10 | - ReadOnlyMany 11 | gcePersistentDisk: 12 | pdName: "abc123" 13 | fsType: "ext4" 14 | -------------------------------------------------------------------------------- /docs/tasks/debug-application-cluster/termination.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: termination-demo 5 | spec: 6 | containers: 7 | - name: termination-demo-container 8 | image: debian 9 | command: ["/bin/sh"] 10 | args: ["-c", "sleep 10 && echo Sleep expired > /dev/termination-log"] 11 | -------------------------------------------------------------------------------- /docs/user-guide/services/load-balancer-sample.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: myapp 5 | spec: 6 | ports: 7 | - port: 8765 8 | targetPort: 9376 9 | selector: 10 | app: example 11 | type: LoadBalancer 12 | loadBalancerSourceRanges: 13 | - 10.180.0.0/16 14 | - 10.245.0.0/24 15 | -------------------------------------------------------------------------------- /docs/admin/high-availability/monit-docker: -------------------------------------------------------------------------------- 1 | check process docker with pidfile /var/run/docker.pid 2 | group docker 3 | start program = "/etc/init.d/docker start" 4 | stop program = "/etc/init.d/docker stop" 5 | if does not exist then restart 6 | if failed 7 | unixsocket /var/run/docker.sock 8 | protocol HTTP request "/version" 9 | then restart -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/commands.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: command-demo 5 | labels: 6 | purpose: demonstrate-command 7 | spec: 8 | containers: 9 | - name: command-demo-container 10 | image: debian 11 | command: ["printenv"] 12 | args: ["HOSTNAME", "KUBERNETES_PORT"] 13 | -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/pod-redis.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: redis 5 | spec: 6 | containers: 7 | - name: redis 8 | image: redis 9 | volumeMounts: 10 | - name: redis-storage 11 | mountPath: /data/redis 12 | volumes: 13 | - name: redis-storage 14 | emptyDir: {} 15 | -------------------------------------------------------------------------------- /docs/user-guide/services/service-sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Service", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "myapp" 6 | }, 7 | "spec": { 8 | "ports": [{ 9 | "port": 8765, 10 | "targetPort": 9376 11 | }], 12 | "selector": { 13 | "app": "example" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-2/job.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: job-wq-2 5 | spec: 6 | parallelism: 2 7 | template: 8 | metadata: 9 | name: job-wq-2 10 | spec: 11 | containers: 12 | - name: c 13 | image: gcr.io/myproject/job-wq-2 14 | restartPolicy: OnFailure 15 | -------------------------------------------------------------------------------- /docs/user-guide/job.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: pi 5 | spec: 6 | template: 7 | metadata: 8 | name: pi 9 | spec: 10 | containers: 11 | - name: pi 12 | image: perl 13 | command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] 14 | restartPolicy: Never 15 | 16 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/pod-redis.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: redis 5 | spec: 6 | containers: 7 | - name: redis 8 | image: redis 9 | volumeMounts: 10 | - name: redis-persistent-storage 11 | mountPath: /data/redis 12 | volumes: 13 | - name: redis-persistent-storage 14 | emptyDir: {} 15 | -------------------------------------------------------------------------------- /docs/admin/limitrange/valid-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: valid-pod 5 | labels: 6 | name: valid-pod 7 | spec: 8 | containers: 9 | - name: kubernetes-serve-hostname 10 | image: gcr.io/google_containers/serve_hostname 11 | resources: 12 | limits: 13 | cpu: "1" 14 | memory: 512Mi 15 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-2/redis-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: redis-master 5 | labels: 6 | app: redis 7 | spec: 8 | containers: 9 | - name: master 10 | image: redis 11 | env: 12 | - name: MASTER 13 | value: "true" 14 | ports: 15 | - containerPort: 6379 16 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/volumes/local-02.yaml: -------------------------------------------------------------------------------- 1 | kind: PersistentVolume 2 | apiVersion: v1 3 | metadata: 4 | name: pv0002 5 | labels: 6 | type: local 7 | spec: 8 | capacity: 9 | storage: 8Gi 10 | accessModes: 11 | - ReadWriteOnce 12 | hostPath: 13 | path: "/somepath/data02" 14 | persistentVolumeReclaimPolicy: Recycle 15 | -------------------------------------------------------------------------------- /docs/admin/high-availability/monit-kubelet: -------------------------------------------------------------------------------- 1 | check process kubelet with pidfile /var/run/kubelet.pid 2 | group kubelet 3 | start program = "/etc/init.d/kubelet start" 4 | stop program = "/etc/init.d/kubelet stop" 5 | if does not exist then restart 6 | if failed 7 | host 127.0.0.1 8 | port 10255 9 | protocol HTTP 10 | request "/healthz" 11 | then restart 12 | -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-config.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Pod", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "", 6 | "labels": { 7 | "name": "" 8 | }, 9 | "generateName": "", 10 | "namespace": "", 11 | "annotations": [] 12 | }, 13 | "spec": { 14 | 15 | // See 'The spec schema' for details. 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /_data/concepts.yml: -------------------------------------------------------------------------------- 1 | bigheader: "Concepts" 2 | abstract: "Detailed explanations of Kubernetes system concepts and abstractions." 3 | toc: 4 | - docs/concepts/index.md 5 | - title: Object Metadata 6 | section: 7 | - docs/concepts/object-metadata/annotations.md 8 | - title: Controllers 9 | section: 10 | - docs/concepts/abstractions/controllers/statefulsets.md 11 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-1/job.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: job-wq-1 5 | spec: 6 | completions: 8 7 | parallelism: 2 8 | template: 9 | metadata: 10 | name: job-wq-1 11 | spec: 12 | containers: 13 | - name: c 14 | image: gcr.io//job-wq-1 15 | restartPolicy: OnFailure 16 | -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/envars.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: envar-demo 5 | labels: 6 | purpose: demonstrate-envars 7 | spec: 8 | containers: 9 | - name: envar-demo-container 10 | image: gcr.io/google-samples/node-hello:1.0 11 | env: 12 | - name: DEMO_GREETING 13 | value: "Hello from the environment" 14 | -------------------------------------------------------------------------------- /docs/admin/multiple-schedulers/pod3.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: annotation-second-scheduler 5 | annotations: 6 | scheduler.alpha.kubernetes.io/name: my-scheduler 7 | labels: 8 | name: multischeduler-example 9 | spec: 10 | containers: 11 | - name: pod-with-second-annotation-container 12 | image: gcr.io/google_containers/pause:2.0 -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-sample.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: redis-django 5 | labels: 6 | app: web 7 | spec: 8 | containers: 9 | - name: key-value-store 10 | image: redis 11 | ports: 12 | - containerPort: 6379 13 | - name: frontend 14 | image: django 15 | ports: 16 | - containerPort: 8000 17 | -------------------------------------------------------------------------------- /docs/user-guide/run-my-nginx.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: my-nginx 5 | spec: 6 | replicas: 2 7 | template: 8 | metadata: 9 | labels: 10 | run: my-nginx 11 | spec: 12 | containers: 13 | - name: my-nginx 14 | image: nginx 15 | ports: 16 | - containerPort: 80 17 | 18 | -------------------------------------------------------------------------------- /docs/admin/multiple-schedulers/pod2.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: annotation-default-scheduler 5 | annotations: 6 | scheduler.alpha.kubernetes.io/name: default-scheduler 7 | labels: 8 | name: multischeduler-example 9 | spec: 10 | containers: 11 | - name: pod-with-default-annotation-container 12 | image: gcr.io/google_containers/pause:2.0 -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/mysql-configmap.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: mysql 5 | labels: 6 | app: mysql 7 | data: 8 | master.cnf: | 9 | # Apply this config only on the master. 10 | [mysqld] 11 | log-bin 12 | slave.cnf: | 13 | # Apply this config only on slaves. 14 | [mysqld] 15 | super-read-only 16 | 17 | -------------------------------------------------------------------------------- /docs/user-guide/nginx-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 3 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.7.9 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/user-guide/nginx/nginx-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: my-nginx 5 | spec: 6 | replicas: 3 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.7.9 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/user-guide/bad-nginx-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 3 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.91 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/user-guide/new-nginx-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 3 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.9.1 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/api-reference/v1/definitions.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | {% include v1.5/v1-definitions.html %} 5 | 6 | 7 | 8 | 9 | 10 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/api-reference/v1/definitions.md?pixel)]() 11 | 12 | -------------------------------------------------------------------------------- /docs/api-reference/v1/operations.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | {% include v1.5/v1-operations.html %} 5 | 6 | 7 | 8 | 9 | 10 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/api-reference/v1/operations.md?pixel)]() 11 | 12 | -------------------------------------------------------------------------------- /docs/user-guide/horizontal-pod-autoscaling/hpa-php-apache.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: autoscaling/v1 2 | kind: HorizontalPodAutoscaler 3 | metadata: 4 | name: php-apache 5 | namespace: default 6 | spec: 7 | scaleTargetRef: 8 | apiVersion: extensions/v1beta1 9 | kind: Deployment 10 | name: php-apache 11 | minReplicas: 1 12 | maxReplicas: 10 13 | targetCPUUtilizationPercentage: 50 14 | -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/cpu-ram.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: cpu-ram-demo 5 | spec: 6 | containers: 7 | - name: cpu-ram-demo-container 8 | image: gcr.io/google-samples/node-hello:1.0 9 | resources: 10 | requests: 11 | memory: "64Mi" 12 | cpu: "250m" 13 | limits: 14 | memory: "128Mi" 15 | cpu: "1" 16 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-1/Dockerfile: -------------------------------------------------------------------------------- 1 | # Specify BROKER_URL and QUEUE when running 2 | FROM ubuntu:14.04 3 | 4 | RUN apt-get update && \ 5 | apt-get install -y curl ca-certificates amqp-tools python \ 6 | --no-install-recommends \ 7 | && rm -rf /var/lib/apt/lists/* 8 | COPY ./worker.py /worker.py 9 | 10 | CMD /usr/bin/amqp-consume --url=$BROKER_URL -q $QUEUE -c 1 /worker.py 11 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/nav_point_active.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/nav_point_sub.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/default-storage-class-prereqs.md: -------------------------------------------------------------------------------- 1 | You need to either have a dynamic PersistentVolume provisioner with a default 2 | [StorageClass](/docs/user-guide/persistent-volumes/#storageclasses), 3 | or [statically provision PersistentVolumes](/docs/user-guide/persistent-volumes/#provisioning) 4 | yourself to satisfy the [PersistentVolumeClaims](/docs/user-guide/persistent-volumes/#persistentvolumeclaims) 5 | used here. 6 | 7 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/simpletest/service.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Service", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "frontendservice" 6 | }, 7 | "spec": { 8 | "ports": [ 9 | { 10 | "protocol": "TCP", 11 | "port": 3000, 12 | "targetPort": "http-server" 13 | } 14 | ], 15 | "selector": { 16 | "name": "frontendhttp" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /docs/api-reference/extensions/v1beta1/operations.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | {% include v1.5/extensions-v1beta1-operations.html %} 5 | 6 | 7 | 8 | 9 | 10 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/api-reference/extensions/v1beta1/operations.md?pixel)]() 11 | 12 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/deployment-update.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 2 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.8 # Update the version of nginx from 1.7.9 to 1.8 15 | ports: 16 | - containerPort: 80 -------------------------------------------------------------------------------- /docs/api-reference/extensions/v1beta1/definitions.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | {% include v1.5/extensions-v1beta1-definitions.html %} 5 | 6 | 7 | 8 | 9 | 10 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/api-reference/extensions/v1beta1/definitions.md?pixel)]() 11 | 12 | -------------------------------------------------------------------------------- /docs/user-guide/replication-controller/replication.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: nginx 5 | spec: 6 | replicas: 3 7 | selector: 8 | app: nginx 9 | template: 10 | metadata: 11 | name: nginx 12 | labels: 13 | app: nginx 14 | spec: 15 | containers: 16 | - name: nginx 17 | image: nginx 18 | ports: 19 | - containerPort: 80 20 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/nav_point.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/tutorials/stateless-application/deployment-scale.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 4 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.8 # Update the version of nginx from 1.7.9 to 1.8 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/tutorials/stateless-application/deployment-update.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 2 7 | template: 8 | metadata: 9 | labels: 10 | app: nginx 11 | spec: 12 | containers: 13 | - name: nginx 14 | image: nginx:1.8 # Update the version of nginx from 1.7.9 to 1.8 15 | ports: 16 | - containerPort: 80 17 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/claims/claim-03.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "PersistentVolumeClaim", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "myclaim-3" 6 | }, "spec": { 7 | "accessModes": [ 8 | "ReadWriteOnce", 9 | "ReadOnlyMany" 10 | ], 11 | "resources": { 12 | "requests": { 13 | "storage": "10G" 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /images/icon-pencil.svg: -------------------------------------------------------------------------------- 1 | icon-pencil -------------------------------------------------------------------------------- /docs/user-guide/secrets/secret-env-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: secret-env-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "env" ] 10 | env: 11 | - name: MY_SECRET_DATA 12 | valueFrom: 13 | secretKeyRef: 14 | name: test-secret 15 | key: data-1 16 | restartPolicy: Never 17 | -------------------------------------------------------------------------------- /_includes/tocsearch.html: -------------------------------------------------------------------------------- 1 | {% capture whitespace %} 2 | {% for item in include.tree %} 3 | {% if found_toc %} 4 | {% break %} 5 | {% endif %} 6 | {% if item.section %} 7 | {% include tocsearch.html tree=item.section toc=include.toc %} 8 | {% else %} 9 | {% if item == page.path %} 10 | {% assign found_toc = include.toc %} 11 | {% break %} 12 | {% endif %} 13 | {% endif %} 14 | {% endfor %} 15 | {% endcapture %} 16 | -------------------------------------------------------------------------------- /docs/admin/daemon.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: DaemonSet 3 | metadata: 4 | name: prometheus-node-exporter 5 | spec: 6 | template: 7 | metadata: 8 | name: prometheus-node-exporter 9 | labels: 10 | daemon: prom-node-exp 11 | spec: 12 | containers: 13 | - name: c 14 | image: prom/prometheus 15 | ports: 16 | - containerPort: 9090 17 | hostPort: 9090 18 | name: serverport 19 | -------------------------------------------------------------------------------- /docs/user-guide/services/load-balancer-sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Service", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "myapp" 6 | }, 7 | "spec": { 8 | "ports": [{ 9 | "port": 8765, 10 | "targetPort": 9376 11 | }], 12 | "selector": { 13 | "app": "example" 14 | }, 15 | "type": "LoadBalancer", 16 | "loadBalancerSourceRanges": [ 17 | "10.180.0.0/16", 18 | "10.245.0.0/24" 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /docs/user-guide/cronjob.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v2alpha1 2 | kind: CronJob 3 | metadata: 4 | name: hello 5 | spec: 6 | schedule: "*/1 * * * *" 7 | jobTemplate: 8 | spec: 9 | template: 10 | spec: 11 | containers: 12 | - name: hello 13 | image: busybox 14 | args: 15 | - /bin/sh 16 | - -c 17 | - date; echo Hello from the Kubernetes cluster 18 | restartPolicy: OnFailure 19 | -------------------------------------------------------------------------------- /docs/user-guide/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | labels: 6 | name: nginx-deployment 7 | spec: 8 | replicas: 3 9 | selector: 10 | matchLabels: 11 | name: nginx 12 | template: 13 | metadata: 14 | labels: 15 | name: nginx 16 | spec: 17 | containers: 18 | - name: nginx 19 | image: nginx 20 | ports: 21 | - containerPort: 80 22 | -------------------------------------------------------------------------------- /_sass/_skin.sass: -------------------------------------------------------------------------------- 1 | $blue: #3371e3 2 | $light-grey: #f7f7f7 3 | $dark-grey: #303030 4 | $medium-grey: #4c4c4c 5 | $white: #ffffff 6 | 7 | $base-font: 'Roboto', sans-serif 8 | $mono-font: 'Roboto Mono', monospace 9 | 10 | 11 | *, .button 12 | box-sizing: border-box 13 | font-family: $base-font 14 | background: none 15 | margin: 0 16 | border: 0 17 | 18 | body 19 | font-family: $base-font 20 | 21 | h1, h2, h5, p 22 | font-weight: 300 23 | 24 | h3, h4 25 | font-weight: 400 26 | -------------------------------------------------------------------------------- /docs/user-guide/jobs/expansions/job.yaml.txt: -------------------------------------------------------------------------------- 1 | apiVersion: batch/v1 2 | kind: Job 3 | metadata: 4 | name: process-item-$ITEM 5 | labels: 6 | jobgroup: jobexample 7 | spec: 8 | template: 9 | metadata: 10 | name: jobexample 11 | labels: 12 | jobgroup: jobexample 13 | spec: 14 | containers: 15 | - name: c 16 | image: busybox 17 | command: ["sh", "-c", "echo Processing item $ITEM && sleep 5"] 18 | restartPolicy: Never 19 | -------------------------------------------------------------------------------- /staging-container/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.3 2 | 3 | RUN apk add --no-cache \ 4 | build-base \ 5 | ca-certificates \ 6 | libffi-dev \ 7 | nodejs \ 8 | ruby-dev \ 9 | ruby-nokogiri \ 10 | zlib-dev 11 | 12 | RUN gem install \ 13 | bundler \ 14 | github-pages \ 15 | io-console \ 16 | --no-rdoc --no-ri 17 | 18 | VOLUME /k8sdocs 19 | 20 | EXPOSE 4000 21 | 22 | COPY start.sh /start.sh 23 | WORKDIR /k8sdocs 24 | 25 | CMD [ "/start.sh" ] 26 | # For instructions, see http://kubernetes.io/editdocs/ 27 | -------------------------------------------------------------------------------- /docs/getting-started-guides/alternatives.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - pwittrock 4 | title: Deprecated Alternatives 5 | --- 6 | 7 | # *Stop. These guides are superseded by [Minikube](../minikube/). They are only listed here for completeness.* 8 | 9 | * [Using Vagrant](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/local-cluster/vagrant.md) 10 | * *Advanced:* [Directly using Kubernetes raw binaries (Linux Only)](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/local-cluster/local.md) -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/secret-envars-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: secret-envars-test-pod 5 | spec: 6 | containers: 7 | - name: envars-test-container 8 | image: nginx 9 | env: 10 | - name: SECRET_USERNAME 11 | valueFrom: 12 | secretKeyRef: 13 | name: test-secret 14 | key: username 15 | - name: SECRET_PASSWORD 16 | valueFrom: 17 | secretKeyRef: 18 | name: test-secret 19 | key: password 20 | -------------------------------------------------------------------------------- /docs/user-guide/persistent-volumes/simpletest/pod.yaml: -------------------------------------------------------------------------------- 1 | kind: Pod 2 | apiVersion: v1 3 | metadata: 4 | name: mypod 5 | labels: 6 | name: frontendhttp 7 | spec: 8 | containers: 9 | - name: myfrontend 10 | image: nginx 11 | ports: 12 | - containerPort: 80 13 | name: "http-server" 14 | volumeMounts: 15 | - mountPath: "/usr/share/nginx/html" 16 | name: mypd 17 | volumes: 18 | - name: mypd 19 | persistentVolumeClaim: 20 | claimName: myclaim-1 21 | -------------------------------------------------------------------------------- /docs/admin/limitrange/limits.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: LimitRange 3 | metadata: 4 | name: mylimits 5 | spec: 6 | limits: 7 | - max: 8 | cpu: "2" 9 | memory: 1Gi 10 | min: 11 | cpu: 200m 12 | memory: 6Mi 13 | type: Pod 14 | - default: 15 | cpu: 300m 16 | memory: 200Mi 17 | defaultRequest: 18 | cpu: 200m 19 | memory: 100Mi 20 | max: 21 | cpu: "2" 22 | memory: 1Gi 23 | min: 24 | cpu: 100m 25 | memory: 3Mi 26 | type: Container 27 | -------------------------------------------------------------------------------- /docs/user-guide/pod-security-policy/psp.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "PodSecurityPolicy", 3 | "apiVersion":"extensions/v1beta1", 4 | "metadata": { 5 | "name": "permissive" 6 | }, 7 | "spec": { 8 | "seLinux": { 9 | "rule": "RunAsAny" 10 | }, 11 | "supplementalGroups": { 12 | "rule": "RunAsAny" 13 | }, 14 | "runAsUser": { 15 | "rule": "RunAsAny" 16 | }, 17 | "fsGroup": { 18 | "rule": "RunAsAny" 19 | }, 20 | "volumes": ["*"] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/kitten-rc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: update-demo-kitten 5 | spec: 6 | selector: 7 | name: update-demo 8 | version: kitten 9 | template: 10 | metadata: 11 | labels: 12 | name: update-demo 13 | version: kitten 14 | spec: 15 | containers: 16 | - image: gcr.io/google_containers/update-demo:kitten 17 | name: update-demo 18 | ports: 19 | - containerPort: 80 20 | protocol: TCP 21 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: nginx-service 5 | spec: 6 | ports: 7 | - port: 8000 # the port that this service should serve on 8 | # the container on each pod to connect to, can be a name 9 | # (e.g. 'www') or a number (e.g. 80) 10 | targetPort: 80 11 | protocol: TCP 12 | # just like the selector in the deployment, 13 | # but this time it identifies the set of pods to load balance 14 | # traffic to. 15 | selector: 16 | app: nginx 17 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/exec-liveness.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | labels: 5 | test: liveness 6 | name: liveness-exec 7 | spec: 8 | containers: 9 | - args: 10 | - /bin/sh 11 | - -c 12 | - echo ok > /tmp/health; sleep 10; rm -rf /tmp/health; sleep 600 13 | image: gcr.io/google_containers/busybox 14 | livenessProbe: 15 | exec: 16 | command: 17 | - cat 18 | - /tmp/health 19 | initialDelaySeconds: 15 20 | timeoutSeconds: 1 21 | name: liveness 22 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/http-liveness.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | labels: 5 | test: liveness 6 | name: liveness-http 7 | spec: 8 | containers: 9 | - args: 10 | - /server 11 | image: gcr.io/google_containers/liveness 12 | livenessProbe: 13 | httpGet: 14 | path: /healthz 15 | port: 8080 16 | httpHeaders: 17 | - name: X-Custom-Header 18 | value: Awesome 19 | initialDelaySeconds: 15 20 | timeoutSeconds: 1 21 | name: liveness 22 | -------------------------------------------------------------------------------- /docs/tasks/configure-pod-container/secret-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: secret-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: nginx 9 | volumeMounts: 10 | # name must match the volume name below 11 | - name: secret-volume 12 | mountPath: /etc/secret-volume 13 | # The secret data is exposed to Containers in the Pod through a Volume. 14 | volumes: 15 | - name: secret-volume 16 | secret: 17 | secretName: test-secret 18 | -------------------------------------------------------------------------------- /docs/admin/high-availability/default-kubelet: -------------------------------------------------------------------------------- 1 | # This should be the IP address of the load balancer for all masters 2 | MASTER_IP= 3 | # This should be the internal service IP address reserved for DNS 4 | DNS_IP= 5 | 6 | DAEMON_ARGS="$DAEMON_ARGS --api-servers=https://${MASTER_IP} --enable-debugging-handlers=true --cloud-provider= 7 | gce --config=/etc/kubernetes/manifests --allow-privileged=False --v=2 --cluster-dns=${DNS_IP} --cluster-domain=c 8 | luster.local --configure-cbr0=true --cgroup-root=/ --system-container=/system " 9 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/podtemplate.json: -------------------------------------------------------------------------------- 1 | { 2 | "apiVersion": "v1", 3 | "kind": "PodTemplate", 4 | "metadata": { 5 | "name": "nginx" 6 | }, 7 | "template": { 8 | "metadata": { 9 | "labels": { 10 | "name": "nginx" 11 | }, 12 | "generateName": "nginx-" 13 | }, 14 | "spec": { 15 | "containers": [{ 16 | "name": "nginx", 17 | "image": "dockerfile/nginx", 18 | "ports": [{"containerPort": 80}] 19 | }] 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/nautilus-rc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: update-demo-nautilus 5 | spec: 6 | replicas: 2 7 | selector: 8 | name: update-demo 9 | version: nautilus 10 | template: 11 | metadata: 12 | labels: 13 | name: update-demo 14 | version: nautilus 15 | spec: 16 | containers: 17 | - image: gcr.io/google_containers/update-demo:nautilus 18 | name: update-demo 19 | ports: 20 | - containerPort: 80 21 | protocol: TCP 22 | -------------------------------------------------------------------------------- /docs/admin/apparmor/hello-apparmor-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: hello-apparmor 5 | annotations: 6 | # Tell Kubernetes to apply the AppArmor profile "k8s-apparmor-example-deny-write". 7 | # Note that this is ignored if the Kubernetes node is not running version 1.4 or greater. 8 | container.apparmor.security.beta.kubernetes.io/hello: localhost/k8s-apparmor-example-deny-write 9 | spec: 10 | containers: 11 | - name: hello 12 | image: busybox 13 | command: [ "sh", "-c", "echo 'Hello AppArmor!' && sleep 1h" ] 14 | -------------------------------------------------------------------------------- /docs/user-guide/nginx-lifecycle-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx 5 | spec: 6 | template: 7 | metadata: 8 | labels: 9 | app: nginx 10 | spec: 11 | containers: 12 | - name: nginx 13 | image: nginx 14 | ports: 15 | - containerPort: 80 16 | lifecycle: 17 | preStop: 18 | exec: 19 | # SIGTERM triggers a quick exit; gracefully terminate instead 20 | command: ["/usr/sbin/nginx","-s","quit"] 21 | -------------------------------------------------------------------------------- /docs/concepts/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Concepts 3 | --- 4 | 5 | The Concepts section of the Kubernetes documentation is a work in progress. 6 | 7 | #### Object Metadata 8 | 9 | 10 | * [Annotations](/docs/concepts/object-metadata/annotations/) 11 | 12 | #### Controllers 13 | * [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/) 14 | 15 | 16 | ### What's next 17 | 18 | If you would like to write a concept page, see 19 | [Using Page Templates](/docs/contribute/page-templates/) 20 | for information about the concept page type and the concept template. 21 | -------------------------------------------------------------------------------- /docs/user-guide/secrets/secret-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: secret-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: kubernetes/mounttest:0.1 9 | command: [ "/mt", "--file_content=/etc/secret-volume/data-1" ] 10 | volumeMounts: 11 | # name must match the volume name below 12 | - name: secret-volume 13 | mountPath: /etc/secret-volume 14 | volumes: 15 | - name: secret-volume 16 | secret: 17 | secretName: test-secret 18 | restartPolicy: Never 19 | -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | **This is a...** 6 | 7 | - [ ] Feature Request 8 | - [ ] Bug Report 9 | 10 | **Problem:** 11 | 12 | 13 | **Proposed Solution:** 14 | 15 | 16 | **Page to Update:** 17 | http://kubernetes.io/... 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /_includes/templates/concept.md: -------------------------------------------------------------------------------- 1 | {% if overview %} 2 | 3 | {{ overview }} 4 | 5 | {% else %} 6 | 7 | {% include templates/_errorthrower.md missing_block='overview' purpose='provides an overview of this concept.' %} 8 | 9 | {% endif %} 10 | 11 | * TOC 12 | {:toc} 13 | 14 | {% if body %} 15 | 16 | {{ body }} 17 | 18 | {% else %} 19 | 20 | {% include templates/_errorthrower.md missing_block='body' purpose='supplies the body of the page content.' %} 21 | 22 | {% endif %} 23 | 24 | 25 | {% if whatsnext %} 26 | 27 | ### What's next 28 | 29 | {{ whatsnext }} 30 | 31 | {% endif %} 32 | 33 | -------------------------------------------------------------------------------- /docs/user-guide/nginx-app.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: my-nginx-svc 5 | labels: 6 | app: nginx 7 | spec: 8 | type: LoadBalancer 9 | ports: 10 | - port: 80 11 | selector: 12 | app: nginx 13 | --- 14 | apiVersion: extensions/v1beta1 15 | kind: Deployment 16 | metadata: 17 | name: my-nginx 18 | spec: 19 | replicas: 3 20 | template: 21 | metadata: 22 | labels: 23 | app: nginx 24 | spec: 25 | containers: 26 | - name: nginx 27 | image: nginx:1.7.9 28 | ports: 29 | - containerPort: 80 30 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/pod-with-http-healthcheck.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: pod-with-healthcheck 5 | spec: 6 | containers: 7 | - name: nginx 8 | image: nginx 9 | # defines the health checking 10 | livenessProbe: 11 | # an http probe 12 | httpGet: 13 | path: /_status/healthz 14 | port: 80 15 | # length of time to wait for a pod to initialize 16 | # after pod startup, before applying health checking 17 | initialDelaySeconds: 30 18 | timeoutSeconds: 1 19 | ports: 20 | - containerPort: 80 21 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.6.2 4 | 5 | # Don't want default ./... here: 6 | install: 7 | - export PATH=$GOPATH/bin:$PATH 8 | - mkdir -p $HOME/gopath/src/k8s.io 9 | - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/k8s.io/kubernetes.github.io 10 | - go get -t -v k8s.io/kubernetes.github.io/test 11 | - git clone --depth=50 --branch=master https://github.com/kubernetes/md-check $HOME/gopath/src/k8s.io/md-check 12 | - go get -t -v k8s.io/md-check 13 | 14 | script: 15 | - go test -v k8s.io/kubernetes.github.io/test 16 | - $GOPATH/bin/md-check --root-dir=$HOME/gopath/src/k8s.io/kubernetes.github.io 17 | -------------------------------------------------------------------------------- /_data/tools.yml: -------------------------------------------------------------------------------- 1 | bigheader: "Tools" 2 | abstract: "Tools to help you use and enhance Kubernetes." 3 | toc: 4 | - docs/tools/index.md 5 | 6 | - title: Native Tools 7 | section: 8 | - title: Kubectl 9 | path: /docs/user-guide/kubectl/ 10 | - title: Kubefed 11 | path: /docs/admin/federation/kubefed/ 12 | - title: Kubernetes Dashboard 13 | path: /docs/user-guide/ui/ 14 | 15 | - title: Third-Party Tools 16 | section: 17 | - title: Helm 18 | path: https://github.com/kubernetes/helm 19 | - title: Kompose 20 | path: https://github.com/kubernetes-incubator/kompose 21 | 22 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/volume-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: config-volume-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "cat /etc/config/path/to/special-key" ] 10 | volumeMounts: 11 | - name: config-volume 12 | mountPath: /etc/config 13 | volumes: 14 | - name: config-volume 15 | configMap: 16 | name: test-configmap 17 | items: 18 | - key: data-1 19 | path: path/to/special-key 20 | restartPolicy: Never -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PONY: all build build-preview help serve 2 | 3 | help: ## Show this help. 4 | @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) 5 | 6 | all: build ## Build site with production settings and put deliverables in _site. 7 | 8 | build: ## Build site with production settings and put deliverables in _site. 9 | jekyll build 10 | 11 | build-preview: ## Build site with drafts and future posts enabled. 12 | jekyll build --drafts --future 13 | 14 | serve: ## Boot the development server. 15 | jekyll serve 16 | -------------------------------------------------------------------------------- /docs/user-guide/nginx-probe-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx 5 | spec: 6 | template: 7 | metadata: 8 | labels: 9 | app: nginx 10 | spec: 11 | containers: 12 | - name: nginx 13 | image: nginx 14 | ports: 15 | - containerPort: 80 16 | livenessProbe: 17 | httpGet: 18 | # Path to probe; should be cheap, but representative of typical behavior 19 | path: /index.html 20 | port: 80 21 | initialDelaySeconds: 30 22 | timeoutSeconds: 1 23 | -------------------------------------------------------------------------------- /docs/user-guide/walkthrough/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 2 # tells deployment to run 2 pods matching the template 7 | template: # create pods using pod definition in this template 8 | metadata: 9 | # unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is 10 | # generated from the deployment name 11 | labels: 12 | app: nginx 13 | spec: 14 | containers: 15 | - name: nginx 16 | image: nginx:1.7.9 17 | ports: 18 | - containerPort: 80 -------------------------------------------------------------------------------- /docs/getting-started-guides/network-policy/weave.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - bboreham 4 | 5 | --- 6 | 7 | The [Weave Net Addon](https://www.weave.works/docs/net/latest/kube-addon/) for Kubernetes comes with a Network Policy Controller. 8 | 9 | This component automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces, and configures `iptables` rules to allow or block traffic as directed by the policies. 10 | 11 | Once you have installed the Weave Net Addon you can follow the [NetworkPolicy getting started guide](/docs/getting-started-guides/network-policy/walkthrough) to try out Kubernetes NetworkPolicy. 12 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/env-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: config-env-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "env" ] 10 | env: 11 | - name: KUBE_CONFIG_1 12 | valueFrom: 13 | configMapKeyRef: 14 | name: test-configmap 15 | key: data-1 16 | - name: KUBE_CONFIG_2 17 | valueFrom: 18 | configMapKeyRef: 19 | name: test-configmap 20 | key: data-2 21 | restartPolicy: Never 22 | -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-spec-common.yaml: -------------------------------------------------------------------------------- 1 | spec: 2 | containers: 3 | - 4 | args: 5 | - "" 6 | command: 7 | - "" 8 | env: 9 | - 10 | name: "" 11 | value: "" 12 | image: "" 13 | imagePullPolicy: "" 14 | name: "" 15 | ports: 16 | - 17 | containerPort: 0 18 | name: "" 19 | protocol: "" 20 | resources: 21 | cpu: "" 22 | memory: "" 23 | restartPolicy: "" 24 | volumes: 25 | - 26 | emptyDir: 27 | medium: "" 28 | name: "" 29 | secret: 30 | secretName: "" 31 | 32 | -------------------------------------------------------------------------------- /docs/tutorials/stateless-application/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: nginx-deployment 5 | spec: 6 | replicas: 2 # tells deployment to run 2 pods matching the template 7 | template: # create pods using pod definition in this template 8 | metadata: 9 | # unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is 10 | # generated from the deployment name 11 | labels: 12 | app: nginx 13 | spec: 14 | containers: 15 | - name: nginx 16 | image: nginx:1.7.9 17 | ports: 18 | - containerPort: 80 19 | -------------------------------------------------------------------------------- /docs/user-guide/curlpod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: curl-deployment 5 | spec: 6 | replicas: 1 7 | template: 8 | metadata: 9 | labels: 10 | app: curlpod 11 | spec: 12 | volumes: 13 | - name: secret-volume 14 | secret: 15 | secretName: nginxsecret 16 | containers: 17 | - name: curlpod 18 | command: 19 | - sh 20 | - -c 21 | - while true; do sleep 1; done 22 | image: radial/busyboxplus:curl 23 | volumeMounts: 24 | - mountPath: /etc/nginx/ssl 25 | name: secret-volume 26 | -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/Dockerfile: -------------------------------------------------------------------------------- 1 | # This is an image with Percona XtraBackup, mysql-client and ncat installed. 2 | FROM debian:jessie 3 | 4 | RUN \ 5 | echo "deb http://repo.percona.com/apt jessie main" > /etc/apt/sources.list.d/percona.list \ 6 | && echo "deb-src http://repo.percona.com/apt jessie main" >> /etc/apt/sources.list.d/percona.list \ 7 | && apt-key adv --keyserver keys.gnupg.net --recv-keys 8507EFA5 8 | 9 | RUN \ 10 | apt-get update && apt-get install -y --no-install-recommends \ 11 | percona-xtrabackup-24 \ 12 | mysql-client \ 13 | nmap \ 14 | && rm -rf /var/lib/apt/lists/* 15 | 16 | CMD ["bash"] 17 | 18 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/mount-file-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: config-single-file-volume-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "cat /etc/special-key" ] 10 | volumeMounts: 11 | - name: config-volume 12 | mountPath: /etc/special-key 13 | subPath: path/to/special-key 14 | volumes: 15 | - name: config-volume 16 | configMap: 17 | name: test-configmap 18 | items: 19 | - key: data-1 20 | path: path/to/special-key 21 | restartPolicy: Never 22 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/http-liveness-named-port.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | labels: 5 | test: liveness 6 | name: liveness-http 7 | spec: 8 | containers: 9 | - args: 10 | - /server 11 | image: gcr.io/google_containers/liveness 12 | ports: 13 | - name: liveness-port 14 | containerPort: 8080 15 | hostPort: 8080 16 | livenessProbe: 17 | httpGet: 18 | path: /healthz 19 | port: liveness-port 20 | httpHeaders: 21 | - name: X-Custom-Header 22 | value: Awesome 23 | initialDelaySeconds: 15 24 | timeoutSeconds: 1 25 | name: liveness 26 | -------------------------------------------------------------------------------- /test/examples.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package examples 18 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/command-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: config-cmd-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "echo $(KUBE_CONFIG_1) $(KUBE_CONFIG_2)" ] 10 | env: 11 | - name: KUBE_CONFIG_1 12 | valueFrom: 13 | configMapKeyRef: 14 | name: test-configmap 15 | key: data-1 16 | - name: KUBE_CONFIG_2 17 | valueFrom: 18 | configMapKeyRef: 19 | name: test-configmap 20 | key: data-2 21 | restartPolicy: Never 22 | -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-sample.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Pod", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "redis-django", 6 | "labels": { 7 | "app": "webapp" 8 | } 9 | }, 10 | "spec": { 11 | "containers": [ 12 | { 13 | "name": "key-value-store", 14 | "image": "redis", 15 | "ports": [ 16 | { 17 | "containerPort": 6379 18 | } 19 | ] 20 | }, 21 | { 22 | "name": "frontend", 23 | "image": "django", 24 | "ports": [ 25 | { 26 | "containerPort": 8000 27 | } 28 | ] 29 | } 30 | ] 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /docs/user-guide/redis-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: redis 5 | spec: 6 | template: 7 | metadata: 8 | labels: 9 | app: redis 10 | tier: backend 11 | spec: 12 | # Provision a fresh volume for the pod 13 | volumes: 14 | - name: data 15 | emptyDir: {} 16 | containers: 17 | - name: redis 18 | image: kubernetes/redis:v1 19 | ports: 20 | - containerPort: 6379 21 | # Mount the volume into the pod 22 | volumeMounts: 23 | - mountPath: /redis-master-data 24 | name: data # must match the name of the volume, above 25 | -------------------------------------------------------------------------------- /docs/user-guide/downward-api/dapi-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: dapi-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox 9 | command: [ "/bin/sh", "-c", "env" ] 10 | env: 11 | - name: MY_POD_NAME 12 | valueFrom: 13 | fieldRef: 14 | fieldPath: metadata.name 15 | - name: MY_POD_NAMESPACE 16 | valueFrom: 17 | fieldRef: 18 | fieldPath: metadata.namespace 19 | - name: MY_POD_IP 20 | valueFrom: 21 | fieldRef: 22 | fieldPath: status.podIP 23 | restartPolicy: Never 24 | -------------------------------------------------------------------------------- /docs/search.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: docwithnav 3 | title: Search Results 4 | hideTOC: true 5 | --- 6 | 21 | 22 | -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/mysql-services.yaml: -------------------------------------------------------------------------------- 1 | # Headless service for stable DNS entries of StatefulSet members. 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: mysql 6 | labels: 7 | app: mysql 8 | spec: 9 | ports: 10 | - name: mysql 11 | port: 3306 12 | clusterIP: None 13 | selector: 14 | app: mysql 15 | --- 16 | # Client service for connecting to any MySQL instance for reads. 17 | # For writes, you must instead connect to the master: mysql-0.mysql. 18 | apiVersion: v1 19 | kind: Service 20 | metadata: 21 | name: mysql-read 22 | labels: 23 | app: mysql 24 | spec: 25 | ports: 26 | - name: mysql 27 | port: 3306 28 | selector: 29 | app: mysql 30 | 31 | -------------------------------------------------------------------------------- /docs/user-guide/configmap/redis/redis-pod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: redis 5 | spec: 6 | containers: 7 | - name: redis 8 | image: kubernetes/redis:v1 9 | env: 10 | - name: MASTER 11 | value: "true" 12 | ports: 13 | - containerPort: 6379 14 | resources: 15 | limits: 16 | cpu: "0.1" 17 | volumeMounts: 18 | - mountPath: /redis-master-data 19 | name: data 20 | - mountPath: /redis-master 21 | name: config 22 | volumes: 23 | - name: data 24 | emptyDir: {} 25 | - name: config 26 | configMap: 27 | name: example-redis-config 28 | items: 29 | - key: redis-config 30 | path: redis.conf 31 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/containers/README.md: -------------------------------------------------------------------------------- 1 | ## Building 2 | 3 | For each container, the build steps are the same. The examples below 4 | are for the `show` container. Replace `show` with `backend` for the 5 | backend container. 6 | 7 | ## Google Container Registry ([GCR](https://cloud.google.com/tools/container-registry/)) 8 | 9 | docker build -t gcr.io//show . 10 | gcloud docker push gcr.io//show 11 | 12 | ## Docker Hub 13 | 14 | docker build -t /show . 15 | docker push /show 16 | 17 | ## Change Pod Definitions 18 | 19 | Edit both `show-rc.yaml` and `backend-rc.yaml` and replace the 20 | specified `image:` with the one that you built. 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/user-guide/redis-resource-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: redis 5 | spec: 6 | template: 7 | metadata: 8 | labels: 9 | app: redis 10 | tier: backend 11 | spec: 12 | containers: 13 | - name: redis 14 | image: kubernetes/redis:v1 15 | ports: 16 | - containerPort: 80 17 | resources: 18 | limits: 19 | # cpu units are cores 20 | cpu: 500m 21 | # memory units are bytes 22 | memory: 64Mi 23 | requests: 24 | # cpu units are cores 25 | cpu: 500m 26 | # memory units are bytes 27 | memory: 64Mi 28 | -------------------------------------------------------------------------------- /_includes/templates/_errorthrower.md: -------------------------------------------------------------------------------- 1 | ### ERROR: You must define a `{{ include.missing_block }}` block 2 | {: style="color:red" } 3 | 4 | This template requires that you provide text that {{ include.purpose }}. The text in this block will 5 | be displayed under the heading **{{ include.heading }}**. 6 | 7 | To get rid of this message and take advantage of this template, define the `{{ include.missing_block }}` 8 | variable and populate it with content. 9 | 10 | ```liquid 11 | {% raw %}{%{% endraw %} capture {{ include.missing_block }} {% raw %}%}{% endraw %} 12 | Text that {{ include.purpose }}. 13 | {% raw %}{%{% endraw %} endcapture {% raw %}%}{% endraw %} 14 | ``` 15 | 16 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/image/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The Kubernetes Authors All rights reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM scratch 16 | 17 | ADD server /server 18 | 19 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/dislike.svg: -------------------------------------------------------------------------------- 1 | 16.07.27_K8S_like_dislike -------------------------------------------------------------------------------- /docs/user-guide/petset/bootstrapping/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - bprashanth 4 | - enisoc 5 | - erictune 6 | - foxish 7 | - janetkuo 8 | - kow3ns 9 | - smarterclayton 10 | title: Bootstrapping Pet Sets 11 | --- 12 | 13 | __Warning:__ Starting in Kubernetes version 1.5, PetSet has been renamed to [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets). To use (or continue to use) PetSet in Kubernetes 1.5, you _must_ [migrate](/docs/tasks/manage-stateful-set/upgrade-pet-set-to-stateful-set/) your existing PetSets to StatefulSets. For information on working with StatefulSet, see the tutorial on [how to run replicated stateful applications](/docs/tutorials/stateful-application/run-replicated-stateful-application). 14 | 15 | __This document has been deprecated__. 16 | 17 | -------------------------------------------------------------------------------- /_includes/tabs.html: -------------------------------------------------------------------------------- 1 | {% assign tabsraw = tabspec | newline_to_br | split: '
' %} 2 | {% assign tabsetname = tabsraw[0] %} 3 | 4 |
5 |
    {% for tab in tabsraw offset:1 %}{% assign thisTab = tab | split: ',' %} 6 |
  • {{ thisTab[0] | strip}}
  • {% endfor %} 7 |
8 | {% for tab in tabsraw offset:1 %} 9 | {% assign thisTab = tab | split: ',' %} 10 | {% assign tabLang=thisTab[1] %} 11 | {% assign tabFile=thisTab[2] %} 12 | {% assign tabGHLink=thisTab[3] %} 13 |
14 | {% include code.html language=tabLang file=tabFile ghlink=tabGHLink %} 15 |
16 | {% endfor %} 17 |
-------------------------------------------------------------------------------- /docs/user-guide/jobs/work-queue-2/worker.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import time 4 | import rediswq 5 | 6 | host="redis" 7 | # Uncomment next two lines if you do not have Kube-DNS working. 8 | # import os 9 | # host = os.getenv("REDIS_SERVICE_HOST") 10 | 11 | q = rediswq.RedisWQ(name="job2", host="redis") 12 | print("Worker with sessionID: " + q.sessionID()) 13 | print("Initial queue state: empty=" + str(q.empty())) 14 | while not q.empty(): 15 | item = q.lease(lease_secs=10, block=True, timeout=2) 16 | if item is not None: 17 | itemstr = item.decode("utf=8") 18 | print("Working on " + itemstr) 19 | time.sleep(10) # Put your actual work here instead of sleep. 20 | q.complete(item) 21 | else: 22 | print("Waiting for work") 23 | print("Queue empty, exiting") 24 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/like.svg: -------------------------------------------------------------------------------- 1 | 16.07.27_K8S_like_dislike -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/kitten/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The Kubernetes Authors All rights reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM kubernetes/test-webserver 16 | COPY html/kitten.jpg kitten.jpg 17 | COPY html/data.json data.json 18 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/backend-rc.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: ReplicationController 4 | metadata: 5 | name: backend-rc 6 | labels: 7 | type: backend-type 8 | spec: 9 | replicas: 3 10 | template: 11 | metadata: 12 | labels: 13 | type: backend-type 14 | spec: 15 | containers: 16 | - name: backend-container 17 | image: gcr.io/google-samples/env-backend:1.1 18 | imagePullPolicy: Always 19 | ports: 20 | - containerPort: 5000 21 | protocol: TCP 22 | env: 23 | - name: POD_NAME 24 | valueFrom: 25 | fieldRef: 26 | fieldPath: metadata.name 27 | - name: POD_NAMESPACE 28 | valueFrom: 29 | fieldRef: 30 | fieldPath: metadata.namespace 31 | -------------------------------------------------------------------------------- /docs/user-guide/horizontal-pod-autoscaling/image/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The Kubernetes Authors All rights reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM php:5-apache 16 | 17 | ADD index.php /var/www/html/index.php 18 | 19 | RUN chmod a+rx index.php 20 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/images/nautilus/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The Kubernetes Authors All rights reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | FROM kubernetes/test-webserver 16 | COPY html/nautilus.jpg nautilus.jpg 17 | COPY html/data.json data.json 18 | -------------------------------------------------------------------------------- /_includes/tree.html: -------------------------------------------------------------------------------- 1 | {% for item in include.tree %} 2 | {% if item.section %} 3 |
4 |
5 | {% include_cached tree.html tree=item.section %} 6 |
7 |
8 | {% else %} 9 | 10 | {% capture whitespace %} 11 | {% if item.path %} 12 | {% assign path = item.path %} 13 | {% assign title = item.title %} 14 | {% else %} 15 | {% assign page = site.pages | where: "path", item | first %} 16 | {% assign title = page.title %} 17 | {% assign path = page.url %} 18 | {% endif %} 19 | {% endcapture %} 20 | 21 | {% if path %} 22 | 23 | {% endif %} 24 | {% endif %} 25 | {% endfor %} 26 | -------------------------------------------------------------------------------- /docs/user-guide/redis-secret-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: redis 5 | spec: 6 | template: 7 | metadata: 8 | labels: 9 | app: redis 10 | tier: backend 11 | spec: 12 | volumes: 13 | - name: data 14 | emptyDir: {} 15 | - name: supersecret # The "mysecret" secret populates this "supersecret" volume. 16 | secret: 17 | secretName: mysecret 18 | containers: 19 | - name: redis 20 | image: kubernetes/redis:v1 21 | ports: 22 | - containerPort: 6379 23 | volumeMounts: 24 | - mountPath: /redis-master-data 25 | name: data 26 | - mountPath: /var/run/secrets/super # Mount the "supersecret" volume into the pod. 27 | name: supersecret 28 | -------------------------------------------------------------------------------- /docs/tasks/access-application-cluster/redis-master.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | labels: 5 | name: redis 6 | redis-sentinel: "true" 7 | role: master 8 | name: redis-master 9 | spec: 10 | containers: 11 | - name: master 12 | image: gcr.io/google_containers/redis:v1 13 | env: 14 | - name: MASTER 15 | value: "true" 16 | ports: 17 | - containerPort: 6379 18 | resources: 19 | limits: 20 | cpu: "0.1" 21 | volumeMounts: 22 | - mountPath: /redis-master-data 23 | name: data 24 | - name: sentinel 25 | image: kubernetes/redis:v1 26 | env: 27 | - name: SENTINEL 28 | value: "true" 29 | ports: 30 | - containerPort: 26379 31 | volumes: 32 | - name: data 33 | emptyDir: {} 34 | -------------------------------------------------------------------------------- /docs/user-guide/nginx-init-containers.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: nginx 5 | annotations: 6 | pod.beta.kubernetes.io/init-containers: '[ 7 | { 8 | "name": "install", 9 | "image": "busybox", 10 | "command": ["wget", "-O", "/work-dir/index.html", "http://kubernetes.io/index.html"], 11 | "volumeMounts": [ 12 | { 13 | "name": "workdir", 14 | "mountPath": "/work-dir" 15 | } 16 | ] 17 | } 18 | ]' 19 | spec: 20 | containers: 21 | - name: nginx 22 | image: nginx 23 | ports: 24 | - containerPort: 80 25 | volumeMounts: 26 | - name: workdir 27 | mountPath: /usr/share/nginx/html 28 | dnsPolicy: Default 29 | volumes: 30 | - name: workdir 31 | emptyDir: {} 32 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/show-rc.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: ReplicationController 4 | metadata: 5 | name: show-rc 6 | labels: 7 | type: show-type 8 | spec: 9 | replicas: 3 10 | template: 11 | metadata: 12 | labels: 13 | type: show-type 14 | spec: 15 | containers: 16 | - name: show-container 17 | image: gcr.io/google-samples/env-show:1.1 18 | imagePullPolicy: Always 19 | ports: 20 | - containerPort: 8080 21 | protocol: TCP 22 | env: 23 | - name: USER_VAR 24 | value: important information 25 | - name: POD_NAME 26 | valueFrom: 27 | fieldRef: 28 | fieldPath: metadata.name 29 | - name: POD_NAMESPACE 30 | valueFrom: 31 | fieldRef: 32 | fieldPath: metadata.namespace 33 | -------------------------------------------------------------------------------- /docs/user-guide/pods/pod-spec-common.json: -------------------------------------------------------------------------------- 1 | "spec": { 2 | "containers": [ 3 | { 4 | "name": "", 5 | "image": "", 6 | "command": [ 7 | "" 8 | ], 9 | "args": [ 10 | "" 11 | ], 12 | "env": [ 13 | { 14 | "name": "", 15 | "value": "" 16 | } 17 | ], 18 | "imagePullPolicy": "", 19 | "ports": [ 20 | { 21 | "containerPort": 0, 22 | "name": "", 23 | "protocol": "" 24 | } 25 | ], 26 | "resources": { 27 | "cpu": "" 28 | "memory": "" 29 | } 30 | } 31 | ], 32 | "restartPolicy": "", 33 | "volumes": [ 34 | { 35 | "name": "", 36 | "emptyDir": { 37 | "medium": "" 38 | }, 39 | "secret": { 40 | "secretName": "" 41 | } 42 | } 43 | ] 44 | } 45 | -------------------------------------------------------------------------------- /docs/user-guide/node-selection/pod-with-node-affinity.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: with-node-affinity 5 | annotations: 6 | scheduler.alpha.kubernetes.io/affinity: > 7 | { 8 | "nodeAffinity": { 9 | "requiredDuringSchedulingIgnoredDuringExecution": { 10 | "nodeSelectorTerms": [ 11 | { 12 | "matchExpressions": [ 13 | { 14 | "key": "kubernetes.io/e2e-az-name", 15 | "operator": "In", 16 | "values": ["e2e-az1", "e2e-az2"] 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | } 23 | } 24 | another-annotation-key: another-annotation-value 25 | spec: 26 | containers: 27 | - name: with-node-affinity 28 | image: gcr.io/google_containers/pause:2.0 29 | -------------------------------------------------------------------------------- /docs/getting-started-guides/network-policy/romana.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - chrismarino 4 | title: Using Romana for NetworkPolicy 5 | --- 6 | 7 | # Installation with kubeadm 8 | 9 | Begin by following the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/) and complete steps 1, 2, and 3. Once completed, follow the [containerized installation guide](https://github.com/romana/romana/tree/master/containerize) for kubeadmin. Kubernetes network policies can then be applied to pods using the NetworkPolicy API. 10 | 11 | #### Additional Romana Network Policy Options 12 | 13 | In addition to the standard Kubernetes NetworkPolicy API, Romana also supports additional network policy functions. 14 | 15 | * [Romana Network Policy Capabilities](https://github.com/romana/romana/wiki/Romana-policies) 16 | * [Example Romana Policies](https://github.com/romana/core/tree/master/policy) 17 | 18 | -------------------------------------------------------------------------------- /docs/user-guide/kubectl/.files_generated: -------------------------------------------------------------------------------- 1 | kubectl.md 2 | kubectl_apply.md 3 | kubectl_annotate.md 4 | kubectl_api-versions.md 5 | kubectl_attach.md 6 | kubectl_cluster-info.md 7 | kubectl_config.md 8 | kubectl_config_set-cluster.md 9 | kubectl_config_set-context.md 10 | kubectl_config_set-credentials.md 11 | kubectl_config_set.md 12 | kubectl_config_unset.md 13 | kubectl_config_use-context.md 14 | kubectl_config_view.md 15 | kubectl_convert.md 16 | kubectl_create.md 17 | kubectl_delete.md 18 | kubectl_describe.md 19 | kubectl_edit.md 20 | kubectl_exec.md 21 | kubectl_explain.md 22 | kubectl_expose.md 23 | kubectl_get.md 24 | kubectl_label.md 25 | kubectl_logs.md 26 | kubectl_namespace.md 27 | kubectl_patch.md 28 | kubectl_port-forward.md 29 | kubectl_proxy.md 30 | kubectl_replace.md 31 | kubectl_rolling-update.md 32 | kubectl_run.md 33 | kubectl_scale.md 34 | kubectl_stop.md 35 | kubectl_version.md 36 | -------------------------------------------------------------------------------- /docs/federation/api-reference/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Federation API 3 | --- 4 | 5 | # API Reference 6 | 7 | Federation API server supports the following group versions: 8 | 9 | * federation/v1beta1: [operations](/docs/federation/api-reference/federation/v1beta1/operations.html), [model definitions](/docs/federation/api-reference/federation/v1beta1/definitions.html) 10 | * v1: [operations](/docs/federation/api-reference/v1/operations.html), [model definitions](/docs/federation/api-reference/v1/definitions.html) 11 | * extensions/v1beta1: [operations](/docs/federation/api-reference/extensions/v1beta1/operations.html), [model definitions](/docs/federation/api-reference/extensions/v1beta1/definitions.html) 12 | 13 | 14 | 15 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/federation/api-reference/README.md?pixel)]() 16 | 17 | -------------------------------------------------------------------------------- /docs/admin/high-availability/kube-scheduler.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: kube-scheduler 5 | spec: 6 | hostNetwork: true 7 | containers: 8 | - name: kube-scheduler 9 | image: gcr.io/google_containers/kube-scheduler:34d0b8f8b31e27937327961528739bc9 10 | command: 11 | - /bin/sh 12 | - -c 13 | - /usr/local/bin/kube-scheduler --master=127.0.0.1:8080 --v=2 --leader-elect=true 1>>/var/log/kube-scheduler.log 14 | 2>&1 15 | livenessProbe: 16 | httpGet: 17 | path: /healthz 18 | port: 10251 19 | initialDelaySeconds: 15 20 | timeoutSeconds: 1 21 | volumeMounts: 22 | - mountPath: /var/log/kube-scheduler.log 23 | name: logfile 24 | - mountPath: /var/run/secrets/kubernetes.io/serviceaccount 25 | name: default-token-s8ejd 26 | readOnly: true 27 | volumes: 28 | - hostPath: 29 | path: /var/log/kube-scheduler.log 30 | name: logfile 31 | -------------------------------------------------------------------------------- /_includes/code.html: -------------------------------------------------------------------------------- 1 | {% capture samplecode %}{% include_relative {{include.file}} %}{% endcapture %} 2 | {% if include.k8slink %}{% capture ghlink %}https://raw.githubusercontent.com/kubernetes/kubernetes/blob/{{page.githubbranch}}{{include.k8slink}}{% endcapture %}{% endif %} 3 | {% if include.ghlink %}{% capture ghlink %}https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/{{page.docsbranch}}{{include.ghlink}}{% endcapture %}{% endif %} 4 | {% capture mysample %} 5 | ```{{include.language}} 6 | {{ samplecode | raw | strip }} 7 | ``` 8 | {: id="{{include.file | handleize}}"} 9 | {% endcapture %} 10 | 11 |
{% if ghlink %}{% endif %}{{include.file}}
{{ mysample | markdownify }}
-------------------------------------------------------------------------------- /docs/user-guide/nginx-secure-app.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: my-nginx 5 | labels: 6 | run: my-nginx 7 | spec: 8 | type: NodePort 9 | ports: 10 | - port: 8080 11 | targetPort: 80 12 | protocol: TCP 13 | name: http 14 | - port: 443 15 | protocol: TCP 16 | name: https 17 | selector: 18 | run: my-nginx 19 | --- 20 | apiVersion: extensions/v1beta1 21 | kind: Deployment 22 | metadata: 23 | name: my-nginx 24 | spec: 25 | replicas: 1 26 | template: 27 | metadata: 28 | labels: 29 | run: my-nginx 30 | spec: 31 | volumes: 32 | - name: secret-volume 33 | secret: 34 | secretName: nginxsecret 35 | containers: 36 | - name: nginxhttps 37 | image: bprashanth/nginxhttps:1.0 38 | ports: 39 | - containerPort: 443 40 | - containerPort: 80 41 | volumeMounts: 42 | - mountPath: /etc/nginx/ssl 43 | name: secret-volume 44 | -------------------------------------------------------------------------------- /docs/user-guide/downward-api/volume/dapi-volume.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: kubernetes-downwardapi-volume-example 5 | labels: 6 | zone: us-est-coast 7 | cluster: test-cluster1 8 | rack: rack-22 9 | annotations: 10 | build: two 11 | builder: john-doe 12 | spec: 13 | containers: 14 | - name: client-container 15 | image: gcr.io/google_containers/busybox 16 | command: ["sh", "-c", "while true; do if [[ -e /etc/labels ]]; then cat /etc/labels; fi; if [[ -e /etc/annotations ]]; then cat /etc/annotations; fi; sleep 5; done"] 17 | volumeMounts: 18 | - name: podinfo 19 | mountPath: /etc 20 | readOnly: false 21 | volumes: 22 | - name: podinfo 23 | downwardAPI: 24 | items: 25 | - path: "labels" 26 | fieldRef: 27 | fieldPath: metadata.labels 28 | - path: "annotations" 29 | fieldRef: 30 | fieldPath: metadata.annotations 31 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/update-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Updating Your App 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 | To interact with the Terminal, please use the desktop/tablet version 21 |
22 |
23 |
24 |
25 | 26 |
27 | 28 |
29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /_data/overrides.yml: -------------------------------------------------------------------------------- 1 | overrides: 2 | - path: docs/api-reference 3 | - path: docs/user-guide/kubectl 4 | - path: docs/admin/federation-apiserver.md 5 | - path: docs/admin/federation-controller-manager.md 6 | - path: docs/admin/kube-apiserver.md 7 | - path: docs/admin/kube-controller-manager.md 8 | - path: docs/admin/kube-proxy.md 9 | - path: docs/admin/kube-scheduler.md 10 | - path: docs/admin/kubelet.md 11 | - changedpath: docs/api-reference/extensions/v1beta1/definitions.html _includes/v1.5/extensions-v1beta1-definitions.html 12 | - changedpath: docs/api-reference/extensions/v1beta1/operations.html _includes/v1.5/extensions-v1beta1-operations.html 13 | - changedpath: docs/api-reference/v1/definitions.html _includes/v1.5/v1-definitions.html 14 | - changedpath: docs/api-reference/v1/operations.html _includes/v1.5/v1-operations.html 15 | - copypath: k8s/federation/docs/api-reference/ docs/federation/ 16 | - copypath: k8s/cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml docs/getting-started-guides/fluentd-gcp.yaml 17 | 18 | -------------------------------------------------------------------------------- /docs/user-guide/liveness/image/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The Kubernetes Authors All rights reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | all: push 16 | 17 | server: server.go 18 | CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./server.go 19 | 20 | container: server 21 | docker build -t gcr.io/google_containers/liveness . 22 | 23 | push: container 24 | gcloud docker push gcr.io/google_containers/liveness 25 | 26 | clean: 27 | rm -f server 28 | -------------------------------------------------------------------------------- /docs/user-guide/downward-api/dapi-container-resources.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: dapi-test-pod 5 | spec: 6 | containers: 7 | - name: test-container 8 | image: gcr.io/google_containers/busybox:1.24 9 | command: [ "/bin/sh", "-c", "env" ] 10 | resources: 11 | requests: 12 | memory: "32Mi" 13 | cpu: "125m" 14 | limits: 15 | memory: "64Mi" 16 | cpu: "250m" 17 | env: 18 | - name: MY_CPU_REQUEST 19 | valueFrom: 20 | resourceFieldRef: 21 | resource: requests.cpu 22 | - name: MY_CPU_LIMIT 23 | valueFrom: 24 | resourceFieldRef: 25 | resource: limits.cpu 26 | - name: MY_MEM_REQUEST 27 | valueFrom: 28 | resourceFieldRef: 29 | resource: requests.memory 30 | - name: MY_MEM_LIMIT 31 | valueFrom: 32 | resourceFieldRef: 33 | resource: limits.memory 34 | restartPolicy: Never 35 | -------------------------------------------------------------------------------- /docs/user-guide/logging-demo/README.md: -------------------------------------------------------------------------------- 1 | This directory contains two [pod](https://kubernetes.io/docs/user-guide/pods) specifications which can be used as synthetic 2 | logging sources. The pod specification in [synthetic_0_25lps.yaml](synthetic_0_25lps.yaml) 3 | describes a pod that just emits a log message once every 4 seconds. The pod specification in 4 | [synthetic_10lps.yaml](synthetic_10lps.yaml) 5 | describes a pod that just emits 10 log lines per second. 6 | 7 | See [logging document](https://kubernetes.io/docs/user-guide/logging/) for more details about logging. To observe the ingested log lines when using Google Cloud Logging please see the getting 8 | started instructions 9 | at [Cluster Level Logging to Google Cloud Logging](https://kubernetes.io/docs/getting-started-guides/logging). 10 | To observe the ingested log lines when using Elasticsearch and Kibana please see the getting 11 | started instructions 12 | at [Cluster Level Logging with Elasticsearch and Kibana](https://kubernetes.io/docs/getting-started-guides/logging-elasticsearch). 13 | -------------------------------------------------------------------------------- /_includes/templates/task.md: -------------------------------------------------------------------------------- 1 | {% if overview %} 2 | 3 | {{ overview }} 4 | 5 | {% else %} 6 | 7 | {% include templates/_errorthrower.md missing_block='overview' purpose='states, in one or two sentences, the purpose of this document' %} 8 | 9 | {% endif %} 10 | 11 | 12 | * TOC 13 | {: toc} 14 | 15 | 16 | {% if prerequisites %} 17 | 18 | ### Before you begin 19 | 20 | {{ prerequisites }} 21 | 22 | {% else %} 23 | 24 | {% include templates/_errorthrower.md missing_block='prerequisites' heading='Before you begin' purpose='lists action prerequisites and knowledge prerequisites' %} 25 | 26 | {% endif %} 27 | 28 | 29 | {% if steps %} 30 | 31 | {{ steps }} 32 | 33 | {% else %} 34 | 35 | {% include templates/_errorthrower.md missing_block='steps' purpose='lists a sequence of numbered steps that accomplish the task.' %} 36 | 37 | {% endif %} 38 | 39 | 40 | {% if discussion %} 41 | 42 | {{ discussion }} 43 | 44 | {% else %} 45 | 46 | {% endif %} 47 | 48 | 49 | {% if whatsnext %} 50 | 51 | ### What's next 52 | 53 | {{ whatsnext }} 54 | 55 | {% endif %} 56 | -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/web.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: nginx 6 | labels: 7 | app: nginx 8 | spec: 9 | ports: 10 | - port: 80 11 | name: web 12 | clusterIP: None 13 | selector: 14 | app: nginx 15 | --- 16 | apiVersion: apps/v1beta1 17 | kind: StatefulSet 18 | metadata: 19 | name: web 20 | spec: 21 | serviceName: "nginx" 22 | replicas: 2 23 | template: 24 | metadata: 25 | labels: 26 | app: nginx 27 | spec: 28 | containers: 29 | - name: nginx 30 | image: gcr.io/google_containers/nginx-slim:0.8 31 | ports: 32 | - containerPort: 80 33 | name: web 34 | volumeMounts: 35 | - name: www 36 | mountPath: /usr/share/nginx/html 37 | volumeClaimTemplates: 38 | - metadata: 39 | name: www 40 | annotations: 41 | volume.alpha.kubernetes.io/storage-class: anything 42 | spec: 43 | accessModes: [ "ReadWriteOnce" ] 44 | resources: 45 | requests: 46 | storage: 1Gi 47 | 48 | -------------------------------------------------------------------------------- /docs/user-guide/logging-demo/synthetic_0_25lps.yaml: -------------------------------------------------------------------------------- 1 | # This pod specification creates an instance of a synthetic logger. The logger 2 | # is simply a program that writes out the hostname of the pod, a count which increments 3 | # by one on each iteration (to help notice missing log enteries) and the date using 4 | # a long format (RFC-3339) to nano-second precision. This program logs at a frequency 5 | # of 0.25 lines per second. The shellscript program is given directly to bash as -c argument 6 | # and could have been written out as: 7 | # i="0" 8 | # while true 9 | # do 10 | # echo -n "`hostname`: $i: " 11 | # date --rfc-3339 ns 12 | # sleep 4 13 | # i=$[$i+1] 14 | # done 15 | apiVersion: v1 16 | kind: Pod 17 | metadata: 18 | labels: 19 | name: synth-logging-source 20 | name: synthetic-logger-0.25lps-pod 21 | spec: 22 | containers: 23 | - name: synth-lgr 24 | image: ubuntu:14.04 25 | args: 26 | - bash 27 | - -c 28 | - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep 29 | 4; i=$[$i+1]; done' 30 | 31 | -------------------------------------------------------------------------------- /docs/user-guide/logging-demo/synthetic_10lps.yaml: -------------------------------------------------------------------------------- 1 | # This pod specification creates an instance of a synthetic logger. The logger 2 | # is simply a program that writes out the hostname of the pod, a count which increments 3 | # by one on each iteration (to help notice missing log enteries) and the date using 4 | # a long format (RFC-3339) to nano-second precision. This program logs at a frequency 5 | # of 0.25 lines per second. The shellscript program is given directly to bash as -c argument 6 | # and could have been written out as: 7 | # i="0" 8 | # while true 9 | # do 10 | # echo -n "`hostname`: $i: " 11 | # date --rfc-3339 ns 12 | # sleep 4 13 | # i=$[$i+1] 14 | # done 15 | apiVersion: v1 16 | kind: Pod 17 | metadata: 18 | labels: 19 | name: synth-logging-source 20 | name: synthetic-logger-10lps-pod 21 | spec: 22 | containers: 23 | - name: synth-lgr 24 | image: ubuntu:14.04 25 | args: 26 | - bash 27 | - -c 28 | - 'i="0"; while true; do echo -n "`hostname`: $i: "; date --rfc-3339 ns; sleep 29 | 0.1; i=$[$i+1]; done' 30 | 31 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | name: Kubernetes 2 | title: Kubernetes 3 | description: Production-Grade Container Orchestration 4 | markdown: kramdown 5 | kramdown: 6 | input: GFM 7 | html_to_native: true 8 | hard_wrap: false 9 | syntax_highlighter: rouge 10 | incremental: true 11 | 12 | safe: false 13 | lsi: false 14 | 15 | defaults: 16 | - 17 | scope: 18 | path: "" 19 | values: 20 | version: "v1.5.1" 21 | githubbranch: "master" 22 | docsbranch: "master" 23 | - 24 | scope: 25 | path: "docs" 26 | values: 27 | layout: docwithnav 28 | showedit: true 29 | 30 | permalink: pretty 31 | 32 | gems: 33 | - jekyll-redirect-from 34 | - jekyll-feed 35 | - jekyll-sitemap 36 | - jekyll-seo-tag 37 | - jekyll-include-cache 38 | 39 | # SEO 40 | logo: /images/favicon.png 41 | twitter: 42 | username: kubernetesio 43 | 44 | # Tables of contents, stored in the _data folder, that control the sidebar nav 45 | tocs: 46 | - docs-home 47 | - guides 48 | - tutorials 49 | - tasks 50 | - concepts 51 | - reference 52 | - tools 53 | - samples 54 | - support 55 | -------------------------------------------------------------------------------- /_sass/_reset.sass: -------------------------------------------------------------------------------- 1 | html, body 2 | margin: 0 3 | padding: 0 4 | 5 | 6 | input, button 7 | outline: none 8 | 9 | button 10 | cursor: pointer 11 | 12 | ul, li 13 | list-style: none 14 | 15 | ul 16 | margin: 0 17 | padding: 0 18 | 19 | a 20 | text-decoration: none 21 | 22 | // CONVENIENCE 23 | .clear 24 | display: block 25 | clear: both 26 | 27 | .light-text 28 | color: white 29 | 30 | .right 31 | float: right 32 | 33 | .left 34 | float: left 35 | 36 | .center 37 | text-align: center 38 | 39 | 40 | //mixins 41 | @mixin fullScreen 42 | position: fixed 43 | top: 0 44 | left: 0 45 | width: 100vw 46 | height: 100vh 47 | 48 | 49 | @mixin pureCenter($left: 50%, $top: 50%) 50 | position: absolute 51 | top: $top 52 | left: $left 53 | transform: translate(-50%, -50%) 54 | 55 | 56 | @mixin maintain-aspect-ratio ($width-factor: 16, $height-factor: 9, $target-width: 80vw, $target-height: 80vh) 57 | width: $target-width 58 | height: $target-width * ($height-factor / $width-factor) 59 | max-width: $target-height * ($width-factor / $height-factor) 60 | max-height: $target-height 61 | 62 | -------------------------------------------------------------------------------- /docs/user-guide/multi-pod.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: v1 3 | kind: Pod 4 | metadata: 5 | labels: 6 | name: redis 7 | redis-sentinel: "true" 8 | role: master 9 | name: redis-master 10 | spec: 11 | containers: 12 | - name: master 13 | image: kubernetes/redis:v1 14 | env: 15 | - name: MASTER 16 | value: "true" 17 | ports: 18 | - containerPort: 6379 19 | resources: 20 | limits: 21 | cpu: "0.5" 22 | volumeMounts: 23 | - mountPath: /redis-master-data 24 | name: data 25 | - name: sentinel 26 | image: kubernetes/redis:v1 27 | env: 28 | - name: SENTINEL 29 | value: "true" 30 | ports: 31 | - containerPort: 26379 32 | volumes: 33 | - name: data 34 | emptyDir: {} 35 | --- 36 | apiVersion: v1 37 | kind: Pod 38 | metadata: 39 | labels: 40 | name: redis-proxy 41 | role: proxy 42 | name: redis-proxy 43 | spec: 44 | containers: 45 | - name: proxy 46 | image: kubernetes/redis-proxy:v1 47 | ports: 48 | - containerPort: 6379 49 | name: api 50 | -------------------------------------------------------------------------------- /docs/api-reference/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | # API Reference 4 | 5 | Use the following reference docs to understand the Kubernetes REST API for various API group versions: 6 | 7 | * v1: [operations](/docs/api-reference/v1/operations.html), [model definitions](/docs/api-reference/v1/definitions.html) 8 | * extensions/v1beta1: [operations](/docs/api-reference/extensions/v1beta1/operations.html), [model definitions](/docs/api-reference/extensions/v1beta1/definitions.html) 9 | * batch/v1: [operations](/docs/api-reference/batch/v1/operations.html), [model definitions](/docs/api-reference/batch/v1/definitions.html) 10 | * autoscaling/v1: [operations](/docs/api-reference/autoscaling/v1/operations.html), [model definitions](/docs/api-reference/autoscaling/v1/definitions.html) 11 | * apps/v1beta1: [operations](/docs/api-reference/apps/v1beta1/operations.html), [model definitions](/docs/api-reference/apps/v1beta1/definitions.html) 12 | 13 | 14 | 15 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/api-reference/README.md?pixel)]() 16 | 17 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/build-images.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright 2014 The Kubernetes Authors All rights reserved. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # This script will build and push the images necessary for the demo. 18 | 19 | set -o errexit 20 | set -o nounset 21 | set -o pipefail 22 | 23 | DOCKER_HUB_USER=${DOCKER_HUB_USER:-kubernetes} 24 | 25 | set -x 26 | 27 | docker build -t "${DOCKER_HUB_USER}/update-demo:kitten" images/kitten 28 | docker build -t "${DOCKER_HUB_USER}/update-demo:nautilus" images/nautilus 29 | 30 | docker push "${DOCKER_HUB_USER}/update-demo" 31 | -------------------------------------------------------------------------------- /docs/tasks/administer-cluster/dns-horizontal-autoscaler.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: kube-dns-autoscaler 5 | namespace: kube-system 6 | labels: 7 | k8s-app: kube-dns-autoscaler 8 | spec: 9 | template: 10 | metadata: 11 | labels: 12 | k8s-app: kube-dns-autoscaler 13 | spec: 14 | containers: 15 | - name: autoscaler 16 | image: gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0 17 | resources: 18 | requests: 19 | cpu: "20m" 20 | memory: "10Mi" 21 | command: 22 | - /cluster-proportional-autoscaler 23 | - --namespace=kube-system 24 | - --configmap=kube-dns-autoscaler 25 | - --mode=linear 26 | - --target= 27 | # When cluster is using large nodes(with more cores), "coresPerReplica" should dominate. 28 | # If using small nodes, "nodesPerReplica" should dominate. 29 | - --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"min":1}} 30 | - --logtostderr=true 31 | - --v=2 32 | -------------------------------------------------------------------------------- /docs/admin/multiple-schedulers/my-scheduler.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | labels: 5 | component: scheduler 6 | tier: control-plane 7 | name: my-scheduler 8 | namespace: kube-system 9 | spec: 10 | replicas: 1 11 | template: 12 | metadata: 13 | labels: 14 | component: scheduler 15 | tier: control-plane 16 | version: second 17 | spec: 18 | containers: 19 | - command: [/usr/local/bin/kube-scheduler, --address=0.0.0.0, 20 | --scheduler-name=my-scheduler] 21 | image: gcr.io/my-gcp-project/my-kube-scheduler:1.0 22 | livenessProbe: 23 | httpGet: 24 | path: /healthz 25 | port: 10251 26 | initialDelaySeconds: 15 27 | name: kube-second-scheduler 28 | readinessProbe: 29 | httpGet: 30 | path: /healthz 31 | port: 10251 32 | resources: 33 | requests: 34 | cpu: '0.1' 35 | securityContext: 36 | privileged: false 37 | volumeMounts: [] 38 | hostNetwork: false 39 | hostPID: false 40 | volumes: [] -------------------------------------------------------------------------------- /docs/admin/ovs-networking.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - lavalamp 4 | - thockin 5 | title: Kubernetes OpenVSwitch GRE/VxLAN networking 6 | --- 7 | 8 | This document describes how OpenVSwitch is used to setup networking between pods across nodes. 9 | The tunnel type could be GRE or VxLAN. VxLAN is preferable when large scale isolation needs to be performed within the network. 10 | 11 | ![OVS Networking](/images/docs/ovs-networking.png) 12 | 13 | The vagrant setup in Kubernetes does the following: 14 | 15 | The docker bridge is replaced with a brctl generated linux bridge (kbr0) with a 256 address space subnet. Basically, a node gets 10.244.x.0/24 subnet and docker is configured to use that bridge instead of the default docker0 bridge. 16 | 17 | Also, an OVS bridge is created(obr0) and added as a port to the kbr0 bridge. All OVS bridges across all nodes are linked with GRE tunnels. So, each node has an outgoing GRE tunnel to all other nodes. It does not need to be a complete mesh really, just meshier the better. STP (spanning tree) mode is enabled in the bridges to prevent loops. 18 | 19 | Routing rules enable any 10.244.0.0/16 target to become reachable via the OVS bridge connected with the tunnels. 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /docs/tutorials/stateful-application/mysql-deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: mysql 5 | spec: 6 | ports: 7 | - port: 3306 8 | selector: 9 | app: mysql 10 | clusterIP: None 11 | --- 12 | apiVersion: v1 13 | kind: PersistentVolumeClaim 14 | metadata: 15 | name: mysql-pv-claim 16 | spec: 17 | accessModes: 18 | - ReadWriteOnce 19 | resources: 20 | requests: 21 | storage: 20Gi 22 | --- 23 | apiVersion: extensions/v1beta1 24 | kind: Deployment 25 | metadata: 26 | name: mysql 27 | spec: 28 | strategy: 29 | type: Recreate 30 | template: 31 | metadata: 32 | labels: 33 | app: mysql 34 | spec: 35 | containers: 36 | - image: mysql:5.6 37 | name: mysql 38 | env: 39 | # Use secret in real usage 40 | - name: MYSQL_ROOT_PASSWORD 41 | value: password 42 | ports: 43 | - containerPort: 3306 44 | name: mysql 45 | volumeMounts: 46 | - name: mysql-persistent-storage 47 | mountPath: /var/lib/mysql 48 | volumes: 49 | - name: mysql-persistent-storage 50 | persistentVolumeClaim: 51 | claimName: mysql-pv-claim 52 | -------------------------------------------------------------------------------- /docs/user-guide/update-demo/local/LICENSE.angular: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2010-2014 Google, Inc. http://angularjs.org 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /partners/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Partners 3 | --- 4 | 5 | 6 | 7 | {% include head-header.html %} 8 | 9 |
10 |

Kubernetes Partners

11 |
Growing the Kubernetes ecosystem.
12 | 13 |
14 | 15 |
16 |
17 |
We are working with a broad group of partners who contribute to the Kubernetes core codebase, making it stronger and richer. These partners create a vibrant Kubernetes ecosystem supporting a spectrum of complementing platforms, from open source solutions to market-leading technologies. Partners can get their services and offerings added to this page by completing and submitting the partner request form.
18 |

Technology Partners

19 |
20 |

Services Partners

21 |
22 |
23 |
24 | 25 | {% include footer.html %} 26 | {% include case-study-styles.html %} 27 | 28 | 31 | 32 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /docs/user-guide/environment-guide/containers/backend/backend.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors All rights reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package main 18 | 19 | import ( 20 | "fmt" 21 | "log" 22 | "net/http" 23 | "os" 24 | ) 25 | 26 | func printInfo(resp http.ResponseWriter, req *http.Request) { 27 | name := os.Getenv("POD_NAME") 28 | namespace := os.Getenv("POD_NAMESPACE") 29 | fmt.Fprintf(resp, "Backend Container\n") 30 | fmt.Fprintf(resp, "Backend Pod Name: %v\n", name) 31 | fmt.Fprintf(resp, "Backend Namespace: %v\n", namespace) 32 | } 33 | 34 | func main() { 35 | http.HandleFunc("/", printInfo) 36 | log.Fatal(http.ListenAndServe(":5000", nil)) 37 | } 38 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/cluster-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Creating a Cluster 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 | To interact with the Terminal, please use the desktop/tablet version 21 |
22 |
23 |
24 |
25 | 28 |
29 | 30 |
31 | 32 |
33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/public/images/module_04.svg: -------------------------------------------------------------------------------- 1 | 16.07.28_k8s_visual_diagrams -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/expose-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Exposing Your App 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 | To interact with the Terminal, please use the desktop/tablet version 21 |
22 |
23 |
24 |
25 |
26 | 29 |
30 | 31 |
32 | 33 |
34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /docs/user-guide/identifiers.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - mikedanese 4 | - thockin 5 | title: Names 6 | --- 7 | 8 | All objects in the Kubernetes REST API are unambiguously identified by a Name and a UID. 9 | 10 | For non-unique user-provided attributes, Kubernetes provides [labels](/docs/user-guide/labels) and [annotations](/docs/user-guide/annotations). 11 | 12 | ## Names 13 | 14 | Names are generally client-provided. Only one object of a given kind can have a given name at a time (i.e., they are spatially unique). But if you delete an object, you can make a new object with the same name. Names are used to refer to an object in a resource URL, such as `/api/v1/pods/some-name`. By convention, the names of Kubernetes resources should be up to maximum length of 253 characters and consist of lower case alphanumeric characters, `-`, and `.`, but certain resources have more specific restrictions. See the [identifiers design doc](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/identifiers.md) for the precise syntax rules for names. 15 | 16 | ## UIDs 17 | 18 | UID are generated by Kubernetes. Every object created over the whole lifetime of a Kubernetes cluster has a distinct UID (i.e., they are spatially and temporally unique). 19 | -------------------------------------------------------------------------------- /docs/user-guide/petset.yaml: -------------------------------------------------------------------------------- 1 | # A headless service to create DNS records 2 | apiVersion: v1 3 | kind: Service 4 | metadata: 5 | name: nginx 6 | labels: 7 | app: nginx 8 | spec: 9 | ports: 10 | - port: 80 11 | name: web 12 | # *.nginx.default.svc.cluster.local 13 | clusterIP: None 14 | selector: 15 | app: nginx 16 | --- 17 | apiVersion: apps/v1alpha1 18 | kind: PetSet 19 | metadata: 20 | name: web 21 | spec: 22 | serviceName: "nginx" 23 | replicas: 2 24 | template: 25 | metadata: 26 | labels: 27 | app: nginx 28 | annotations: 29 | pod.alpha.kubernetes.io/initialized: "true" 30 | spec: 31 | terminationGracePeriodSeconds: 0 32 | containers: 33 | - name: nginx 34 | image: gcr.io/google_containers/nginx-slim:0.8 35 | ports: 36 | - containerPort: 80 37 | name: web 38 | volumeMounts: 39 | - name: www 40 | mountPath: /usr/share/nginx/html 41 | volumeClaimTemplates: 42 | - metadata: 43 | name: www 44 | annotations: 45 | volume.alpha.kubernetes.io/storage-class: anything 46 | spec: 47 | accessModes: [ "ReadWriteOnce" ] 48 | resources: 49 | requests: 50 | storage: 1Gi 51 | 52 | -------------------------------------------------------------------------------- /images/search-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 13 | 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Instructions for Contributing to the Kubernetes Documentation 2 | 3 | Welcome! We are very pleased you want to contribute to the Kubernetes documentation. 4 | 5 | You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account called a *fork*. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it. 6 | 7 | For more information about contributing to the Kubernetes documentation, see: 8 | 9 | * [Contributing to the Kubernetes Documentation](http://kubernetes.io/editdocs/) 10 | * [Creating a Documentation Pull Request](http://kubernetes.io/docs/contribute/create-pull-request/) 11 | * [Writing a New Topic](http://kubernetes.io/docs/contribute/write-new-topic/) 12 | * [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/stage-documentation-changes/) 13 | * [Using Page Templates](http://kubernetes.io/docs/contribute/page-templates/) 14 | * [Documentation Style Guide](http://kubernetes.io/docs/contribute/style-guide/) 15 | 16 | ## Thank you! 17 | 18 | Kubernetes thrives on community participation, and we really appreciate your 19 | contributions to our site and our documentation! 20 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/deploy-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Deploying an App 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 |
21 | To interact with the Terminal, please use the desktop/tablet version 22 |
23 | 24 |
25 |
26 | 27 |
28 |
29 | 32 |
33 | 34 |
35 | 36 |
37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/explore-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Exploring Your App 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 | 21 |
22 | To interact with the Terminal, please use the desktop/tablet version 23 |
24 | 25 |
26 |
27 |
28 |
29 | 32 |
33 | 34 |
35 | 36 |
37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/user-guide/pod-templates.md: -------------------------------------------------------------------------------- 1 | --- 2 | assignees: 3 | - erictune 4 | 5 | --- 6 | Pod templates are [pod](/docs/user-guide/pods/) specifications which are included in other objects, such as 7 | [Replication Controllers](/docs/user-guide/replication-controller/), [Jobs](/docs/user-guide/jobs/), and 8 | [DaemonSets](/docs/admin/daemons/). Controllers use Pod Templates to make actual pods. 9 | 10 | Rather than specifying the current desired state of all replicas, pod templates are like cookie cutters. Once a cookie has been cut, the cookie has no relationship to the cutter. There is no quantum entanglement. Subsequent changes to the template or even switching to a new template has no direct effect on the pods already created. Similarly, pods created by a replication controller may subsequently be updated directly. This is in deliberate contrast to pods, which do specify the current desired state of all containers belonging to the pod. This approach radically simplifies system semantics and increases the flexibility of the primitive. 11 | 12 | 13 | ## Future Work 14 | 15 | A replication controller creates new pods from a template, which is currently inline in the `ReplicationController` object, but which we plan to extract into its own resource [#170](http://issue.k8s.io/170). 16 | -------------------------------------------------------------------------------- /docs/tutorials/kubernetes-basics/scale-interactive.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: Interactive Tutorial - Scaling Your App 3 | --- 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 | 18 |
19 |
20 | To interact with the Terminal, please use the desktop/tablet version 21 |
22 |
23 |
24 |
25 |
26 | 29 |
30 | 31 |
32 | 33 | 34 | 35 |
36 | 37 | 38 | 39 | --------------------------------------------------------------------------------