merge origin master
@@ -18,5 +18,6 @@ approvers:
|
|||||||
- ryanmcginnis
|
- ryanmcginnis
|
||||||
- steveperry-53
|
- steveperry-53
|
||||||
- tengqm
|
- tengqm
|
||||||
|
- tfogo
|
||||||
- zacharysarah
|
- zacharysarah
|
||||||
- zparnold
|
- zparnold
|
||||||
|
|||||||
@@ -1126,7 +1126,6 @@ $feature-box-div-margin-bottom: 40px
|
|||||||
#video
|
#video
|
||||||
width: 100%
|
width: 100%
|
||||||
position: relative
|
position: relative
|
||||||
background-image: url(/images/kub_video_banner_homepage.jpg)
|
|
||||||
background-position: center center
|
background-position: center center
|
||||||
background-size: cover
|
background-size: cover
|
||||||
|
|
||||||
@@ -1721,35 +1720,25 @@ $feature-box-div-margin-bottom: 40px
|
|||||||
text-align: center
|
text-align: center
|
||||||
margin-bottom: 30px
|
margin-bottom: 30px
|
||||||
|
|
||||||
|
img
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
|
||||||
div
|
div
|
||||||
position: relative
|
position: relative
|
||||||
display: inline-block
|
display: inline-block
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
width: 100%
|
width: 100%
|
||||||
min-height: 230px
|
min-height: 230px
|
||||||
padding: 125px 10px 15px
|
margin-bottom: 60px
|
||||||
margin-bottom: 30px
|
padding-right: 1rem;
|
||||||
background-position: top center
|
background-position: top center
|
||||||
background-repeat: no-repeat
|
|
||||||
|
|
||||||
div:nth-child(1)
|
|
||||||
background-image: url(/images/community_logos/pearson_logo.png)
|
|
||||||
|
|
||||||
div:nth-child(2)
|
|
||||||
background-image: url(/images/community_logos/box_logo.png)
|
|
||||||
|
|
||||||
div:nth-child(3)
|
|
||||||
background-image: url(/images/community_logos/ebay_logo.png)
|
|
||||||
|
|
||||||
div:nth-child(4)
|
|
||||||
background-image: url(/images/community_logos/wikimedia_foundation_logo.png)
|
|
||||||
|
|
||||||
p
|
p
|
||||||
font-size: 20px
|
font-size: 20px
|
||||||
|
|
||||||
a
|
a
|
||||||
position: absolute
|
position: absolute
|
||||||
bottom: 0
|
bottom: -30px;
|
||||||
left: 50%
|
left: 50%
|
||||||
transform: translateX(-50%)
|
transform: translateX(-50%)
|
||||||
color: $blue
|
color: $blue
|
||||||
|
|||||||
@@ -138,7 +138,6 @@ $video-section-height: 550px
|
|||||||
#video
|
#video
|
||||||
height: $video-section-height
|
height: $video-section-height
|
||||||
position: relative
|
position: relative
|
||||||
background-image: url(../images/kub_video_banner_homepage.jpg)
|
|
||||||
background-position: center center
|
background-position: center center
|
||||||
background-size: cover
|
background-size: cover
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ pygmentsStyle = "emacs"
|
|||||||
# Enable Git variables like commit, lastmod
|
# Enable Git variables like commit, lastmod
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
|
# This is currently used for testing.
|
||||||
|
disableLanguages = ["no"]
|
||||||
|
|
||||||
[blackfriday]
|
[blackfriday]
|
||||||
hrefTargetBlank = true
|
hrefTargetBlank = true
|
||||||
fractions = false
|
fractions = false
|
||||||
@@ -133,4 +136,12 @@ description = "Production-Grade Container Orchestration"
|
|||||||
languageName = "Chinese"
|
languageName = "Chinese"
|
||||||
weight = 2
|
weight = 2
|
||||||
contentDir = "content/cn"
|
contentDir = "content/cn"
|
||||||
|
[languages.no]
|
||||||
|
title = "Kubernetes"
|
||||||
|
description = "Production-Grade Container Orchestration"
|
||||||
|
languageName ="Norsk"
|
||||||
|
weight = 3
|
||||||
|
contentDir = "content/no"
|
||||||
|
# A list of language codes to look for untranslated content, ordered from left to right.
|
||||||
|
language_alternatives = ["en"]
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
headless: true
|
||||||
|
---
|
||||||
@@ -6,178 +6,57 @@ cid: home
|
|||||||
|
|
||||||
{{< deprecationwarning >}}
|
{{< deprecationwarning >}}
|
||||||
|
|
||||||
<!-- OCEAN NODES -->
|
{{< blocks/section id="oceanNodes" >}}
|
||||||
<section id="oceanNodes">
|
{{% blocks/feature image="flower" %}}
|
||||||
<main>
|
### [Kubernetes]({{< relref "/docs/concepts/overview/what-is-kubernetes" >}}) is an open-source system for automating deployment, scaling, and management of containerized applications.
|
||||||
<div class="image-wrapper"><img src="images/flower.png"></div>
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/docs/concepts/overview/what-is-kubernetes/">Kubernetes</a> is an open-source system for automating deployment, scaling, and management of containerized applications.</h3>
|
|
||||||
<p>It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds
|
|
||||||
upon <a href="http://queue.acm.org/detail.cfm?id=2898444">15 years of experience of running production workloads at Google</a>,
|
|
||||||
combined with best-of-breed ideas and practices from the community.</p>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<main>
|
|
||||||
<div class="image-wrapper"><img src="images/scalable.png"></div>
|
|
||||||
<div class="content">
|
|
||||||
<h4>Planet Scale</h4>
|
|
||||||
<p>Designed on the same principles that allows Google to run billions of containers a week, Kubernetes can scale without increasing your ops team.</p>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<main>
|
|
||||||
<div class="image-wrapper"><img src="images/blocks.png"></div>
|
|
||||||
<div class="content">
|
|
||||||
<h4>Never Outgrow</h4>
|
|
||||||
<p>Whether testing locally or running a global enterprise, Kubernetes flexibility grows with you to deliver your applications consistently and easily no matter how complex your need is.</p>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<main>
|
|
||||||
<div class="image-wrapper"><img src="images/suitcase.png"></div>
|
|
||||||
<div class="content">
|
|
||||||
<h4>Run Anywhere</h4>
|
|
||||||
<p>Kubernetes is open source giving you the freedom to take advantage of on-premises, hybrid, or public cloud infrastructure, letting you effortlessly move workloads to where it matters to you.</p>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="video">
|
It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon [15 years of experience of running production workloads at Google](http://queue.acm.org/detail.cfm?id=2898444), combined with best-of-breed ideas and practices from the community.
|
||||||
<div class="light-text">
|
{{% /blocks/feature %}}
|
||||||
<h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2>
|
|
||||||
|
{{% blocks/feature image="scalable" %}}
|
||||||
|
#### Planet Scale
|
||||||
|
|
||||||
|
Designed on the same principles that allows Google to run billions of containers a week, Kubernetes can scale without increasing your ops team.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{% blocks/feature image="blocks" %}}
|
||||||
|
#### Never Outgrow
|
||||||
|
|
||||||
|
Whether testing locally or running a global enterprise, Kubernetes flexibility grows with you to deliver your applications consistently and easily no matter how complex your need is.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{% blocks/feature image="suitcase" %}}
|
||||||
|
#### Run Anywhere
|
||||||
|
|
||||||
|
Kubernetes is open source giving you the freedom to take advantage of on-premises, hybrid, or public cloud infrastructure, letting you effortlessly move workloads to where it matters to you.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{< /blocks/section >}}
|
||||||
|
|
||||||
|
{{< blocks/section id="video" background-image="kub_video_banner_homepage" >}}
|
||||||
|
<div class="light-text">
|
||||||
|
<h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2>
|
||||||
<p>By Sarah Wells, Technical Director for Operations and Reliability, Financial Times</p>
|
<p>By Sarah Wells, Technical Director for Operations and Reliability, Financial Times</p>
|
||||||
<button id="desktopShowVideoButton" onclick="kub.showVideo()">Watch Video</button>
|
<button id="desktopShowVideoButton" onclick="kub.showVideo()">Watch Video</button>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<a href="https://events.linuxfoundation.cn/events/kubecon-cloudnativecon-china-2018/" button id= "desktopKCButton">Attend KubeCon in Shanghai on Nov. 13-15, 2018</a>
|
<a href="https://www.lfasiallc.com/events/kubecon-cloudnativecon-china-2018/" button id="desktopKCButton">Attend KubeCon in Shanghai on Nov. 13-15, 2018</a>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<a href="https://events.linuxfoundation.org/events/kubecon-cloudnativecon-north-america-2018/" button id= "desktopKCButton">Attend KubeCon in Seattle on Dec. 11-13, 2018</a>
|
<a href="https://events.linuxfoundation.org/events/kubecon-cloudnativecon-north-america-2018/" button id="desktopKCButton">Attend KubeCon in Seattle on Dec. 11-13, 2018</a>
|
||||||
</div>
|
</div>
|
||||||
<button id="mobileShowVideoButton" onclick="kub.showVideo()"></button>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="features">
|
|
||||||
<main>
|
|
||||||
<h3 class="center">Kubernetes Features</h3>
|
|
||||||
|
|
||||||
<div class="feature-box">
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/configuration/manage-compute-resources-container/">Automatic binpacking</a></h4>
|
|
||||||
<p>Automatically places containers based on their resource requirements and other constraints, while not
|
|
||||||
sacrificing availability. Mix critical and best-effort workloads in order to drive up utilization and save even more resources.</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller">Self-healing</a></h4>
|
|
||||||
<p>Restarts containers that fail, replaces and reschedules containers when nodes die, kills containers
|
|
||||||
that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="feature-box">
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/tasks/run-application/horizontal-pod-autoscale/">Horizontal scaling</a></h4>
|
|
||||||
<p>Scale your application up and down with a simple command, with a UI, or automatically based on CPU usage.</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/services-networking/service/">Service discovery and load balancing</a></h4>
|
|
||||||
<p>No need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives
|
|
||||||
containers their own IP addresses and a single DNS name for a set of containers, and can load-balance across them.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="feature-box">
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/workloads/controllers/deployment/#what-is-a-deployment">Automated rollouts and rollbacks</a></h4>
|
|
||||||
<p>Kubernetes progressively rolls out changes to your application or its configuration, while monitoring
|
|
||||||
application health to ensure it doesn't kill all your instances at the same time. If something goes
|
|
||||||
wrong, Kubernetes will rollback the change for you. Take advantage of a growing ecosystem of deployment solutions.</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/configuration/secret/">Secret</a> and <a href="/docs/tasks/configure-pod-container/configure-pod-configmap/">configuration</a> management</h4>
|
|
||||||
<p>Deploy and update secrets and application configuration without rebuilding your image and without
|
|
||||||
exposing secrets in your stack configuration.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="feature-box">
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/storage/persistent-volumes/">Storage orchestration</a></h4>
|
|
||||||
<p>Automatically mount the storage system of your choice, whether from local storage, a public cloud provider
|
|
||||||
such as <a href="https://cloud.google.com/storage/">GCP</a> or <a href="https://aws.amazon.com/products/storage/">AWS</a>, or a network storage system such as NFS, iSCSI,
|
|
||||||
Gluster, Ceph, Cinder, or Flocker.</p>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h4><a href="/docs/concepts/workloads/controllers/jobs-run-to-completion/">Batch execution</a></h4>
|
|
||||||
<p>In addition to services, Kubernetes can manage your batch and CI workloads, replacing containers that fail, if desired.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="talkToUs">
|
|
||||||
<main>
|
|
||||||
<h3>Case Studies</h3>
|
|
||||||
<div id="caseStudiesWrapper">
|
|
||||||
<div>
|
|
||||||
<p>Sling TV: Marrying Kubernetes and AI to Enable Proper Web Scale</p>
|
|
||||||
<a href="/case-studies/slingtv">Read more</a>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<p>Using OpenTracing to Help Pinpoint the Bottlenecks</p>
|
|
||||||
<a href="/case-studies/workiva">Read more</a>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<p>Pinning Its Past, Present, and Future on Cloud Native</p>
|
|
||||||
<a href="/case-studies/pinterest">Read more</a>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<p>Reinventing the World’s Largest Education Company With Kubernetes</p>
|
|
||||||
<a href="/case-studies/pearson">Read more</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--<div id="bigSocial">-->
|
|
||||||
<!--<!–<div>–>-->
|
|
||||||
<!--<!–<a href="https://youtu.be/OLwzSHBtxhI">Watch the video</a>–>-->
|
|
||||||
<!--<!–<p>Creating Next Generation Kubernetes Infrastructure at Viacom</p>–>-->
|
|
||||||
<!--<!–</div>–>-->
|
|
||||||
<!--<div>-->
|
|
||||||
<!--<p>Using Kubernetes to reinvent the world's largest educational company</p>-->
|
|
||||||
<!--<a href="/case-studies/pearson/">Read more</a>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<!--<div>-->
|
|
||||||
<!--<p>Kubernetes at Box: Microservices at Maximum Velocity</p>-->
|
|
||||||
<!--<a href="https://blog.box.com/blog/kubernetes-box-microservices-maximum-velocity/">Read more</a>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<!--<div>-->
|
|
||||||
<!--<p>Inside eBay's shift to Kubernetes and containers atop OpenStack</p>-->
|
|
||||||
<!--<a href="http://www.nextplatform.com/2015/11/12/inside-ebays-shift-to-kubernetes-and-containers-atop-openstack/">Read the story</a>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<!--<div>-->
|
|
||||||
<!--<p>Migrating from a homegrown 'cluster' to Kubernetes</p>-->
|
|
||||||
<!--<a href="https://www.youtube.com/watch?v=6XGUTu3WhBw">Watch the video</a>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<h5 style="text-align: center"><a href="/case-studies/" style="color: #3371E3; font-weight: 400">View all case studies</a></h5>
|
|
||||||
</main>
|
|
||||||
</section>
|
|
||||||
<section id="cncf">
|
|
||||||
<main>
|
|
||||||
<center>
|
|
||||||
<p style="font-size: 20px">We are a <a href="https://cncf.io/">CNCF</a> graduated project</p>
|
|
||||||
</center>
|
|
||||||
</main>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="videoPlayer">
|
<div id="videoPlayer">
|
||||||
<iframe data-url="https://www.youtube.com/embed/H06qrNmGqyE?autoplay=1" frameborder="0" allowfullscreen></iframe>
|
<iframe data-url="https://www.youtube.com/embed/H06qrNmGqyE?autoplay=1" frameborder="0" allowfullscreen></iframe>
|
||||||
<button id="closeButton"></button>
|
<button id="closeButton"></button>
|
||||||
</div>
|
</div>
|
||||||
|
{{< /blocks/section >}}
|
||||||
|
|
||||||
|
{{< blocks/kubernetes-features >}}
|
||||||
|
|
||||||
|
{{< blocks/case-studies >}}
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Blog
|
title: Kubernetes Blog
|
||||||
|
linkTitle: Blog
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
title: "Blog"
|
||||||
|
weight: 40
|
||||||
|
post: >
|
||||||
|
<p>Read the latest news for Kubernetes and the containers space in general, and get technical how-tos hot off the presses.</p>
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Case Studies
|
title: Case Studies
|
||||||
|
linkTitle: Case Studies
|
||||||
bigheader: Kubernetes User Case Studies
|
bigheader: Kubernetes User Case Studies
|
||||||
abstract: A collection of users running Kubernetes in production.
|
abstract: A collection of users running Kubernetes in production.
|
||||||
layout: basic
|
layout: basic
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: "Community"
|
title: "Community"
|
||||||
weight: 80
|
weight: 80
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
title: "Community"
|
||||||
|
weight: 30
|
||||||
|
post: >
|
||||||
|
<p>If you need help, you can connect with other Kubernetes users and the Kubernetes authors, attend community events, and watch video presentations from around the web.</p>
|
||||||
---
|
---
|
||||||
|
|
||||||
This section of the Kubernetes documentation surfaces key topics imported from the [kubernetes/community](https://github.com/kubernetes/community) repo. It is the starting point for becoming a contributor -- improving docs, improving code, giving talks etc.
|
This section of the Kubernetes documentation surfaces key topics imported from the [kubernetes/community](https://github.com/kubernetes/community) repo. It is the starting point for becoming a contributor -- improving docs, improving code, giving talks etc.
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
title: Managing Compute Resources for Containers
|
title: Managing Compute Resources for Containers
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 20
|
weight: 20
|
||||||
|
feature:
|
||||||
|
title: Automatic binpacking
|
||||||
|
description: >
|
||||||
|
Automatically places containers based on their resource requirements and other constraints, while not sacrificing availability. Mix critical and best-effort workloads in order to drive up utilization and save even more resources.
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% capture overview %}}
|
{{% capture overview %}}
|
||||||
|
|||||||
@@ -3,6 +3,10 @@ reviewers:
|
|||||||
- mikedanese
|
- mikedanese
|
||||||
title: Secrets
|
title: Secrets
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
|
feature:
|
||||||
|
title: Secret and configuration management
|
||||||
|
description: >
|
||||||
|
Deploy and update secrets and application configuration without rebuilding your image and without exposing secrets in your stack configuration.
|
||||||
weight: 50
|
weight: 50
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
reviewers:
|
reviewers:
|
||||||
- bprashanth
|
- bprashanth
|
||||||
title: Services
|
title: Services
|
||||||
|
feature:
|
||||||
|
title: Service discovery and load balancing
|
||||||
|
description: >
|
||||||
|
No need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives containers their own IP addresses and a single DNS name for a set of containers, and can load-balance across them.
|
||||||
|
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 10
|
weight: 10
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ reviewers:
|
|||||||
- thockin
|
- thockin
|
||||||
- msau42
|
- msau42
|
||||||
title: Persistent Volumes
|
title: Persistent Volumes
|
||||||
|
feature:
|
||||||
|
title: Storage orchestration
|
||||||
|
description: >
|
||||||
|
Automatically mount the storage system of your choice, whether from local storage, a public cloud provider such as <a href="https://cloud.google.com/storage/">GCP</a> or <a href="https://aws.amazon.com/products/storage/">AWS</a>, or a network storage system such as NFS, iSCSI, Gluster, Ceph, Cinder, or Flocker.
|
||||||
|
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 20
|
weight: 20
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -3,6 +3,11 @@ reviewers:
|
|||||||
- bgrant0607
|
- bgrant0607
|
||||||
- janetkuo
|
- janetkuo
|
||||||
title: Deployments
|
title: Deployments
|
||||||
|
feature:
|
||||||
|
title: Automated rollouts and rollbacks
|
||||||
|
description: >
|
||||||
|
Kubernetes progressively rolls out changes to your application or its configuration, while monitoring application health to ensure it doesn't kill all your instances at the same time. If something goes wrong, Kubernetes will rollback the change for you. Take advantage of a growing ecosystem of deployment solutions.
|
||||||
|
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 30
|
weight: 30
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ reviewers:
|
|||||||
- soltysh
|
- soltysh
|
||||||
title: Jobs - Run to Completion
|
title: Jobs - Run to Completion
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
|
feature:
|
||||||
|
title: Batch execution
|
||||||
|
description: >
|
||||||
|
In addition to services, Kubernetes can manage your batch and CI workloads, replacing containers that fail, if desired.
|
||||||
weight: 70
|
weight: 70
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,12 @@ reviewers:
|
|||||||
- bprashanth
|
- bprashanth
|
||||||
- janetkuo
|
- janetkuo
|
||||||
title: ReplicationController
|
title: ReplicationController
|
||||||
|
feature:
|
||||||
|
title: Self-healing
|
||||||
|
anchor: How a ReplicationController Works
|
||||||
|
description: >
|
||||||
|
Restarts containers that fail, replaces and reschedules containers when nodes die, kills containers that don't respond to your user-defined health check, and doesn't advertise them to clients until they are ready to serve.
|
||||||
|
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 20
|
weight: 20
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ status:
|
|||||||
lastTransitionTime: 2018-01-01T00:00:00Z
|
lastTransitionTime: 2018-01-01T00:00:00Z
|
||||||
- type: "www.example.com/feature-1" # an extra PodCondition
|
- type: "www.example.com/feature-1" # an extra PodCondition
|
||||||
status: "False"
|
status: "False"
|
||||||
lastProbeTIme: null
|
lastProbeTime: null
|
||||||
lastTransitionTime: 2018-01-01T00:00:00Z
|
lastTransitionTime: 2018-01-01T00:00:00Z
|
||||||
containerStatuses:
|
containerStatuses:
|
||||||
- containerID: docker://abcd...
|
- containerID: docker://abcd...
|
||||||
|
|||||||
@@ -263,6 +263,29 @@ The output is:
|
|||||||
**Warning:** Beware.
|
**Warning:** Beware.
|
||||||
{{< /warning >}}
|
{{< /warning >}}
|
||||||
|
|
||||||
|
### Katacoda Embedded Live Environment
|
||||||
|
|
||||||
|
This button lets users run Minikube in their browser using the [Katacoda Terminal](https://www.katacoda.com/embed/panel).
|
||||||
|
It lowers the barier of entry by allowing users to use Minikube with one click instead of going through the complete
|
||||||
|
Minikube and Kubectl installation process locally.
|
||||||
|
|
||||||
|
The Embedded Live Environment is configured to run `minikube start` and lets users complete tutorials in the same window
|
||||||
|
as the documentation.
|
||||||
|
|
||||||
|
{{< caution >}}
|
||||||
|
**Caution:** The session is limited to 15 minutes.
|
||||||
|
{{< /caution >}}
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
{{</* kat-button */>}}
|
||||||
|
```
|
||||||
|
|
||||||
|
The output is:
|
||||||
|
|
||||||
|
{{< kat-button >}}
|
||||||
|
|
||||||
## Common Shortcode Issues
|
## Common Shortcode Issues
|
||||||
|
|
||||||
### Ordered Lists
|
### Ordered Lists
|
||||||
|
|||||||
@@ -8,7 +8,13 @@ cid: userJourneys
|
|||||||
css: /css/style_user_journeys.css
|
css: /css/style_user_journeys.css
|
||||||
js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js
|
js: /js/user-journeys/home.js, https://use.fontawesome.com/4bcc658a89.js
|
||||||
display_browse_numbers: true
|
display_browse_numbers: true
|
||||||
linkTitle: "Home"
|
linkTitle: Documentation
|
||||||
main_menu: true
|
main_menu: true
|
||||||
weight: 10
|
weight: 10
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
title: "Documentation"
|
||||||
|
weight: 20
|
||||||
|
post: >
|
||||||
|
<p>Learn how to use Kubernetes with the use of walkthroughs, samples, and reference documentation. You can even <a href="/editdocs/" data-auto-burger-exclude>help contribute to the docs</a>!</p>
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -107,8 +107,8 @@ this example.
|
|||||||
|
|
||||||
If you already have a CA then the only action that is copying the CA's `crt` and
|
If you already have a CA then the only action that is copying the CA's `crt` and
|
||||||
`key` file to `/etc/kubernetes/pki/etcd/ca.crt` and
|
`key` file to `/etc/kubernetes/pki/etcd/ca.crt` and
|
||||||
`/etc/kubernetes/pki/etcd/ca.key`. After those files have been copied, please
|
`/etc/kubernetes/pki/etcd/ca.key`. After those files have been copied,
|
||||||
proceed to "Create certificates for each member".
|
proceed to the next step, "Create certificates for each member".
|
||||||
|
|
||||||
If you do not already have a CA then run this command on `$HOST0` (where you
|
If you do not already have a CA then run this command on `$HOST0` (where you
|
||||||
generated the configuration files for kubeadm).
|
generated the configuration files for kubeadm).
|
||||||
|
|||||||
@@ -210,8 +210,8 @@ Now lets validate that Kubernetes automatically labeled the zone & region the PV
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
> kubectl get pv --show-labels
|
> kubectl get pv --show-labels
|
||||||
NAME CAPACITY ACCESSMODES STATUS CLAIM REASON AGE LABELS
|
NAME CAPACITY ACCESSMODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE LABELS
|
||||||
pv-gce-mj4gm 5Gi RWO Bound default/claim1 46s failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a
|
pv-gce-mj4gm 5Gi RWO Retain Bound default/claim1 manual 46s failure-domain.beta.kubernetes.io/region=us-central1,failure-domain.beta.kubernetes.io/zone=us-central1-a
|
||||||
```
|
```
|
||||||
|
|
||||||
So now we will create a pod that uses the persistent volume claim.
|
So now we will create a pod that uses the persistent volume claim.
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ We recommend that you use the etcd version which is provided in the Kubernetes b
|
|||||||
were tested extensively with this version of etcd and not with any other version.
|
were tested extensively with this version of etcd and not with any other version.
|
||||||
The recommended version number can also be found as the value of `TAG` in `kubernetes/cluster/images/etcd/Makefile`.
|
The recommended version number can also be found as the value of `TAG` in `kubernetes/cluster/images/etcd/Makefile`.
|
||||||
|
|
||||||
For the miniumum recommended version of etcd, please refer to
|
For the miniumum recommended version of etcd, refer to
|
||||||
[Configuring and Updating etcd](/docs/tasks/administer-cluster/configure-upgrade-etcd/)
|
[Configuring and Updating etcd](/docs/tasks/administer-cluster/configure-upgrade-etcd/)
|
||||||
|
|
||||||
The remainder of the document assumes that the image identifiers have been chosen and stored in corresponding env vars. Examples (replace with latest tags and appropriate registry):
|
The remainder of the document assumes that the image identifiers have been chosen and stored in corresponding env vars. Examples (replace with latest tags and appropriate registry):
|
||||||
@@ -419,7 +419,7 @@ Note that on some Linux platforms, you may need to manually install the
|
|||||||
`conntrack` package which is a dependency of kube-proxy, or else kube-proxy
|
`conntrack` package which is a dependency of kube-proxy, or else kube-proxy
|
||||||
cannot be started successfully.
|
cannot be started successfully.
|
||||||
|
|
||||||
For more details on debugging kube-proxy problems, please refer to
|
For more details about debugging kube-proxy problems, refer to
|
||||||
[Debug Services](/docs/tasks/debug-application-cluster/debug-service/)
|
[Debug Services](/docs/tasks/debug-application-cluster/debug-service/)
|
||||||
|
|
||||||
### Networking
|
### Networking
|
||||||
@@ -864,7 +864,7 @@ pinging or SSH-ing from one node to another.
|
|||||||
|
|
||||||
### Getting Help
|
### Getting Help
|
||||||
|
|
||||||
If you run into trouble, please see the section on [troubleshooting](/docs/setup/turnkey/gce/#troubleshooting), post to the
|
If you run into trouble, see the section on [troubleshooting](/docs/setup/turnkey/gce/#troubleshooting), post to the
|
||||||
[kubernetes-users group](https://groups.google.com/forum/#!forum/kubernetes-users), or come ask questions on [Slack](/docs/troubleshooting#slack).
|
[kubernetes-users group](https://groups.google.com/forum/#!forum/kubernetes-users), or come ask questions on [Slack](/docs/troubleshooting#slack).
|
||||||
|
|
||||||
## Support Level
|
## Support Level
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Configuring the [aggregation layer](/docs/concepts/api-extension/apiserver-aggre
|
|||||||
Enable the aggregation layer via the following kube-apiserver flags. They may have already been taken care of by your provider.
|
Enable the aggregation layer via the following kube-apiserver flags. They may have already been taken care of by your provider.
|
||||||
|
|
||||||
--requestheader-client-ca-file=<path to aggregator CA cert>
|
--requestheader-client-ca-file=<path to aggregator CA cert>
|
||||||
--requestheader-allowed-names=aggregator
|
--requestheader-allowed-names=front-proxy-client
|
||||||
--requestheader-extra-headers-prefix=X-Remote-Extra-
|
--requestheader-extra-headers-prefix=X-Remote-Extra-
|
||||||
--requestheader-group-headers=X-Remote-Group
|
--requestheader-group-headers=X-Remote-Group
|
||||||
--requestheader-username-headers=X-Remote-User
|
--requestheader-username-headers=X-Remote-User
|
||||||
|
|||||||
@@ -390,7 +390,9 @@ TARGET_VERSION=2.2.1
|
|||||||
STORAGE_MEDIA_TYPE=application/json
|
STORAGE_MEDIA_TYPE=application/json
|
||||||
```
|
```
|
||||||
|
|
||||||
** Note: this upgrade procedure is for getting from 2.x to 3.x. Version `3.0.17` is not recommended for running in production (see [prerequisites](#prereqisites) for minimum recommended etcd versions.
|
{{< note >}}
|
||||||
|
**Note:** This procedure upgrades from 2.x to 3.x. Version `3.0.17` is not recommended for running in production (see [prerequisites](#prerequisites) for minimum recommended etcd versions).
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
## Notes for etcd Version 2.2.1
|
## Notes for etcd Version 2.2.1
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ reviewers:
|
|||||||
- jszczepkowski
|
- jszczepkowski
|
||||||
- directxman12
|
- directxman12
|
||||||
title: Horizontal Pod Autoscaler
|
title: Horizontal Pod Autoscaler
|
||||||
|
feature:
|
||||||
|
title: Horizontal scaling
|
||||||
|
description: >
|
||||||
|
Scale your application up and down with a simple command, with a UI, or automatically based on CPU usage.
|
||||||
|
|
||||||
content_template: templates/concept
|
content_template: templates/concept
|
||||||
weight: 90
|
weight: 90
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -346,3 +346,7 @@ To add shortcodes to includes.
|
|||||||
{{< note >}}
|
{{< note >}}
|
||||||
{{< include "federation-current-state.md" >}}
|
{{< include "federation-current-state.md" >}}
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
## Katacoda Embedded Live Environment
|
||||||
|
|
||||||
|
{{< kat-button >}}
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
title: Hello Minikube
|
title: Hello Minikube
|
||||||
content_template: templates/tutorial
|
content_template: templates/tutorial
|
||||||
weight: 5
|
weight: 5
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
title: "Get Started"
|
||||||
|
weight: 10
|
||||||
|
post: >
|
||||||
|
<p>Ready to get your hands dirty? Build a simple Kubernetes cluster that runs "Hello World" for Node.js.</p>
|
||||||
---
|
---
|
||||||
|
|
||||||
{{% capture overview %}}
|
{{% capture overview %}}
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ weight: 10
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<link href="./public/css/styles.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<div class="layout" id="top">
|
<div class="layout" id="top">
|
||||||
|
|
||||||
<main class="content">
|
<main class="content">
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
headless: true
|
||||||
|
---
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
---
|
||||||
|
title: "Produksjonsklar kontainer-orkestrering"
|
||||||
|
abstract: "Automatisert kontainer-deployment og -administrasjon"
|
||||||
|
cid: home
|
||||||
|
---
|
||||||
|
|
||||||
|
{{< deprecationwarning >}}
|
||||||
|
|
||||||
|
{{< blocks/section id="oceanNodes" >}}
|
||||||
|
{{% blocks/feature image="flower" %}}
|
||||||
|
### Kubernetes
|
||||||
|
|
||||||
|
Litt tekst om Kubernetes.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{% blocks/feature image="scalable" %}}
|
||||||
|
#### Skalberbar
|
||||||
|
|
||||||
|
Litt tekst om skalerberhet.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{% blocks/feature image="blocks" %}}
|
||||||
|
#### Vokser med deg
|
||||||
|
|
||||||
|
Litt tekst.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{% blocks/feature image="suitcase" %}}
|
||||||
|
#### Kjør overalt
|
||||||
|
|
||||||
|
Litt tekst.
|
||||||
|
|
||||||
|
{{% /blocks/feature %}}
|
||||||
|
|
||||||
|
{{< /blocks/section >}}
|
||||||
|
|
||||||
|
{{< blocks/section id="video" background-image="kub_video_banner_homepage" >}}
|
||||||
|
<div class="light-text">
|
||||||
|
<h2>Om å flytte 150+ microservicer til Kubernetes</h2>
|
||||||
|
<p>Av Sarah Wells, teknisk direktør for Operations and Reliability, Financial Times</p>
|
||||||
|
<button id="desktopShowVideoButton" onclick="kub.showVideo()">Se video</button>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<a href="https://www.lfasiallc.com/events/kubecon-cloudnativecon-china-2018/" button id="desktopKCButton">KubeCon i Shanghai 13.-15. november, 2018</a>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<a href="https://events.linuxfoundation.org/events/kubecon-cloudnativecon-north-america-2018/" button id="desktopKCButton">KubeCon i Seattle 11.-13. desember, 2018</a>
|
||||||
|
</div>
|
||||||
|
<div id="videoPlayer">
|
||||||
|
<iframe data-url="https://www.youtube.com/embed/H06qrNmGqyE?autoplay=1" frameborder="0" allowfullscreen></iframe>
|
||||||
|
<button id="closeButton"></button>
|
||||||
|
</div>
|
||||||
|
{{< /blocks/section >}}
|
||||||
|
|
||||||
|
{{< blocks/kubernetes-features >}}
|
||||||
|
|
||||||
|
{{< blocks/case-studies >}}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
title: Eksempler på Kubernetes-bruk
|
||||||
|
|
||||||
|
---
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# i18n strings for the English (main) site.
|
||||||
|
|
||||||
|
[main_read_about]
|
||||||
|
other = "Read about"
|
||||||
|
|
||||||
|
[main_read_more]
|
||||||
|
other = "Read more"
|
||||||
|
|
||||||
|
[main_github_invite]
|
||||||
|
other = "Interested in hacking on the core Kubernetes code base?"
|
||||||
|
|
||||||
|
[main_github_view_on]
|
||||||
|
other = "View On Github"
|
||||||
|
|
||||||
|
[main_github_create_an_issue]
|
||||||
|
other = "Create an Issue"
|
||||||
|
|
||||||
|
[main_community_explore]
|
||||||
|
other = "Explore the community"
|
||||||
|
|
||||||
|
[main_kubernetes_features]
|
||||||
|
other = "Kubernetes Features"
|
||||||
|
|
||||||
|
[main_cncf_project]
|
||||||
|
other = """We are a <a href="https://cncf.io/">CNCF</a> graduated project</p>"""
|
||||||
|
|
||||||
|
[main_contribute]
|
||||||
|
other = "Contribute"
|
||||||
|
|
||||||
|
[main_edit_this_page]
|
||||||
|
other = "Edit This Page"
|
||||||
|
|
||||||
|
[main_page_history]
|
||||||
|
other ="Page History"
|
||||||
|
|
||||||
|
[main_page_last_modified_on]
|
||||||
|
other = "Page last modified on"
|
||||||
|
|
||||||
|
[main_by]
|
||||||
|
other = "by"
|
||||||
|
|
||||||
|
[main_documentation_license]
|
||||||
|
other = """The Kubernetes Authors | Documentation Distributed under <a href="https://git.k8s.io/website/LICENSE" class="light-text">CC BY 4.0</a>"""
|
||||||
|
|
||||||
|
[main_copyright_notice]
|
||||||
|
other = """The Linux Foundation ®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">Trademark Usage page</a>"""
|
||||||
|
|
||||||
|
# Community links
|
||||||
|
[community_twitter_name]
|
||||||
|
other = "Twitter"
|
||||||
|
[community_github_name]
|
||||||
|
other = "GitHub"
|
||||||
|
[community_slack_name]
|
||||||
|
other = "Slack"
|
||||||
|
[community_stack_overflow_name]
|
||||||
|
other = "Stack Overflow"
|
||||||
|
[community_forum_name]
|
||||||
|
other = "Forum"
|
||||||
|
[community_events_calendar]
|
||||||
|
other = "Events Calendar"
|
||||||
|
|
||||||
|
# UI elements
|
||||||
|
[ui_search_placeholder]
|
||||||
|
other = "Search"
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# i18n strings for the Norwegian translation.
|
||||||
|
|
||||||
|
[main_read_about]
|
||||||
|
other = "Les om"
|
||||||
|
|
||||||
|
[main_read_more]
|
||||||
|
other = "Les mer"
|
||||||
|
|
||||||
|
[main_github_invite]
|
||||||
|
other = "Interessert kode i Kubernetes?"
|
||||||
|
|
||||||
|
[main_github_view_on]
|
||||||
|
other = "Åpne på Github"
|
||||||
|
|
||||||
|
[main_github_create_an_issue]
|
||||||
|
other = "Opprett en issue"
|
||||||
|
|
||||||
|
[main_community_explore]
|
||||||
|
other = "Utforsk folkene bak Kubernetes"
|
||||||
|
|
||||||
|
[main_kubernetes_features]
|
||||||
|
other = "Egenskaper i Kubernetes"
|
||||||
|
|
||||||
|
[main_cncf_project]
|
||||||
|
other = """Vi er et <a href="https://cncf.io/">CNCF</a>-prosjekt</p>"""
|
||||||
|
|
||||||
|
[main_contribute]
|
||||||
|
other = "Bidra"
|
||||||
|
|
||||||
|
[main_edit_this_page]
|
||||||
|
other = "Endre denne siden"
|
||||||
|
|
||||||
|
[main_page_history]
|
||||||
|
other ="Side-historikk"
|
||||||
|
|
||||||
|
[main_page_last_modified_on]
|
||||||
|
other = "Side sist endret"
|
||||||
|
|
||||||
|
[main_by]
|
||||||
|
other = "av"
|
||||||
|
|
||||||
|
[main_documentation_license]
|
||||||
|
other = """Kubernetes-forfatterene | Dokumentasjonen er utgitt med <a href="https://git.k8s.io/website/LICENSE" class="light-text">CC BY 4.0-lisens</a>"""
|
||||||
|
|
||||||
|
[main_copyright_notice]
|
||||||
|
other = """The Linux Foundation ®. Alle retter er reservert. The Linux Foundation har registrerte varemerker. For en oversikt, se <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">Bruk av varemerker</a>"""
|
||||||
|
|
||||||
|
# Community links
|
||||||
|
[community_twitter_name]
|
||||||
|
other = "Twitter"
|
||||||
|
[community_github_name]
|
||||||
|
other = "GitHub"
|
||||||
|
[community_slack_name]
|
||||||
|
other = "Slack"
|
||||||
|
[community_stack_overflow_name]
|
||||||
|
other = "Stack Overflow"
|
||||||
|
[community_forum_name]
|
||||||
|
other = "Forum"
|
||||||
|
[community_events_calendar]
|
||||||
|
other = "Kalender"
|
||||||
|
|
||||||
|
# UI elements
|
||||||
|
[ui_search_placeholder]
|
||||||
|
other = "Søk"
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partialCached "header.html" . "default" }}
|
{{ partial "header.html" . }}
|
||||||
{{ block "hero" . }}
|
{{ block "hero" . }}
|
||||||
<!-- HERO -->
|
<!-- HERO -->
|
||||||
<section id="hero" class="light-text">
|
<section id="hero" class="light-text">
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="{{ "css/blog.css" | relURL }}">
|
<link rel="stylesheet" type="text/css" href="{{ "css/blog.css" | relURL }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partialCached "header.html" . "blog" }}
|
{{ partial "header.html" . }}
|
||||||
<section id="hero" class="light-text no-sub">
|
<section id="hero" class="light-text no-sub">
|
||||||
<h1>Kubernetes Blog</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
</section>
|
</section>
|
||||||
<div class="container-fluid" style="padding-top: 2em">
|
<div class="container-fluid" style="padding-top: 2em">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partialCached "header.html" . "default" }}
|
{{ partial "header.html" . }}
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
{{ partialCached "footer.html" . }}
|
{{ partialCached "footer.html" . }}
|
||||||
{{ partialCached "footer-scripts.html" . }}
|
{{ partialCached "footer-scripts.html" . }}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ partialCached "header.html" . "docs" }}
|
{{ partial "header.html" . }}
|
||||||
{{ block "hero" . }}
|
{{ block "hero" . }}
|
||||||
<!-- HERO -->
|
<!-- HERO -->
|
||||||
<section id="hero" class="light-text no-sub">
|
<section id="hero" class="light-text no-sub">
|
||||||
@@ -30,23 +30,42 @@
|
|||||||
"title" : "{{ .Title }}",
|
"title" : "{{ .Title }}",
|
||||||
"permalink" : "{{ .Permalink }}"
|
"permalink" : "{{ .Permalink }}"
|
||||||
};
|
};
|
||||||
|
(function(d,c,j){if(!document.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src=('https:'==document.location.protocol)?'https://polldaddy.com/js/rating/rating.js':'http://i0.poll.fm/js/rating/rating.js';s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);}}(document,'script','pd-rating-js'));
|
||||||
</script>
|
</script>
|
||||||
<a href="https://github.com/kubernetes/website/issues/new?title=Issue%20with%20k8s.io/{{ .URL }}%20%5BFile:%20/content/en/{{ .File.Path }}%5D" class="button issue" target="_blank">Report a problem</a>
|
<a href="" onclick="window.open('https://github.com/kubernetes/website/issues/new?title=Issue%20with%20' +
|
||||||
|
'k8s.io'+window.location.pathname)" class="button issue">{{ T "main_github_create_an_issue" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if not .Params.noedit }}
|
{{ if not .Params.noedit }}
|
||||||
<a href="https://github.com/kubernetes/website/edit/master/content/en/{{ .File.Path }}" class="button issue" target="_blank">Edit on Github</a>
|
<a href="{{ printf "%s#%s" ("docs/editdocs" | relURL) .Path | safeURL }}" class="button issue">{{ T "main_edit_this_page" }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ if not .Params.showcommit }}
|
{{ if not .Params.showcommit }}
|
||||||
{{ if $.GitInfo }}
|
{{ if $.GitInfo }}
|
||||||
<div id="lastedit" class="lastedit issue-button-container">
|
<div id="lastedit" class="lastedit issue-button-container">
|
||||||
{{ .GitInfo.AuthorDate.Format "Page last modified on January 02, 2006 at 3:04 PM PST" }} by <a href="https://github.com/kubernetes/website/commit/{{ .GitInfo.Hash }}/">{{ .GitInfo.Subject }}</a> (<a href="https://github.com/kubernetes/website/commits/master/content/en/{{ .File.Path }}">Page history</a>)
|
{{ T "main_page_last_modified_on" }} {{ .GitInfo.AuthorDate.Format "January 02, 2006 at 3:04 PM PST" }} {{ T "main_by" }} <a href="https://github.com/kubernetes/website/commit/{{ .GitInfo.Hash }}/">{{ .GitInfo.Subject }}</a> (<a href="https://github.com/kubernetes/website/commits/master/content/en/{{ .File.Path }}">{{ T "main_page_history" }}</a>)
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ partialCached "footer.html" . }}
|
{{ partialCached "footer.html" . }}
|
||||||
{{ partialCached "footer-scripts.html" . }}
|
{{ partialCached "footer-scripts.html" . }}
|
||||||
|
<script language="application/javascript">
|
||||||
|
// This script turns in-page headers into clickable and shareable
|
||||||
|
(function addHeadingLinks(){
|
||||||
|
var article = document.getElementById('docsContent');
|
||||||
|
var headings = article.querySelectorAll('h1, h2, h3, h4, h5, h6');
|
||||||
|
headings.forEach(function(heading){
|
||||||
|
if(heading.id){
|
||||||
|
var a = document.createElement('a');
|
||||||
|
a.innerHTML = heading.innerHTML;
|
||||||
|
a.href = '#'+heading.id;
|
||||||
|
a.classList.add('inpage_heading');
|
||||||
|
heading.innerHTML = '';
|
||||||
|
heading.appendChild(a);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
<section id="cncf">
|
||||||
|
<main>
|
||||||
|
<center>
|
||||||
|
<p style="font-size: 20px">{{ T "main_cncf_project" | safeHTML }}
|
||||||
|
</center>
|
||||||
|
</main>
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
<form id="searchBox" action="/docs/search/">
|
<form id="searchBox" action="/docs/search/">
|
||||||
<input type="text" id="search" name="q" placeholder="Search" aria-label="Search">
|
<input type="text" id="search" name="q" placeholder="{{ T "ui_search_placeholder" }}" aria-label="Search">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,25 +9,26 @@
|
|||||||
</nav>
|
</nav>
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<div>
|
<div>
|
||||||
<a href="https://twitter.com/kubernetesio" class="twitter"><span>twitter</span></a>
|
<a href="https://twitter.com/kubernetesio" class="twitter"><span>{{ T "community_twitter_name" }}</span></a>
|
||||||
<a href="https://github.com/kubernetes/kubernetes" class="github"><span>Github</span></a>
|
<a href="https://github.com/kubernetes/kubernetes" class="github"><span>{{ T "community_github_name" }}</span></a>
|
||||||
<a href="http://slack.k8s.io/" class="slack"><span>Slack</span></a>
|
<a href="http://slack.k8s.io/" class="slack"><span>Slack</span></a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="http://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>Stack Overflow</span></a>
|
<a href="http://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>
|
||||||
<a href="https://discuss.kubernetes.io" class="mailing-list"><span>Forum</span></a>
|
<a href="http://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>{{ T "community_stack_overflow_name" }}</span></a>
|
||||||
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>Events Calendar</span></a>
|
<a href="https://discuss.kubernetes.io" class="mailing-list"><span>{{ T "community_forum_name" }}</span></a>
|
||||||
|
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>{{ T "community_events_calendar" }}</span></a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="/docs/setup/pick-right-solution/" class="button">Get Kubernetes</a>
|
{{ with .Site.GetPage "page" "/docs/setup/pick-right-solution/" }}<a href="{{ .RelPermalink }}" class="button">{{ .LinkTitle }}</a>{{ end }}
|
||||||
<a href="https://git.k8s.io/community/contributors/guide" class="button">Contribute</a>
|
<a href="https://git.k8s.io/community/contributors/guide" class="button">{{ T "main_contribute" }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="miceType" class="center">
|
<div id="miceType" class="center">
|
||||||
© {{ now.Year }} The Kubernetes Authors | Documentation Distributed under <a href="https://git.k8s.io/website/LICENSE" class="light-text">CC BY 4.0</a>
|
© {{ now.Year }} {{ T "main_documentation_license" | safeHTML }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="miceType" class="center">
|
<div id="miceType" class="center">
|
||||||
Copyright © {{ now.Year }} The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">Trademark Usage page</a>
|
Copyright © {{ now.Year }} {{ T "main_copyright_notice" | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
<div id="miceType" class="center">
|
<div id="miceType" class="center">
|
||||||
ICP license: 京ICP备17074266号-3
|
ICP license: 京ICP备17074266号-3
|
||||||
|
|||||||
@@ -1,21 +1,22 @@
|
|||||||
<div id="cellophane" onclick="kub.toggleMenu()"></div>
|
<div id="cellophane" onclick="kub.toggleMenu()"></div>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/" class="logo"></a>
|
<a href="{{ .Site.Home.RelPermalink }}" class="logo"></a>
|
||||||
|
|
||||||
<div class="nav-buttons" data-auto-burger="primary">
|
<div class="nav-buttons" data-auto-burger="primary">
|
||||||
<ul class="global-nav">
|
<ul class="global-nav">
|
||||||
{{ $sections := slice "docs" "blog" "partners" "community" "case-studies" }}
|
{{ $sections := slice "docs/home" "blog" "partners" "community" "case-studies" }}
|
||||||
{{ range $sections }}
|
{{ range $sections }}
|
||||||
{{ with $.Site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>{{ end }}
|
{{ with $.Site.GetPage "section" . }}<li><a href="{{ .RelPermalink }}"{{ if eq .Section $.Section }} class="active"{{ end}}>{{ .LinkTitle }}</a></li>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $home := .Site.Home }}
|
{{/* Link directly to documentation etc., if possible. */}}
|
||||||
|
{{ $langPage := cond (gt (len .Translations) 0) . .Site.Home }}
|
||||||
<li>
|
<li>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
{{ $home.Language.LanguageName }} <span class="ui-icon ui-icon-carat-1-s"></span>
|
{{ $langPage.Language.LanguageName }} <span class="ui-icon ui-icon-carat-1-s"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $home.Translations }}
|
{{ range $langPage.Translations }}
|
||||||
<li><a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
<li><a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -32,45 +33,37 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- <a href="/docs/home" class="button" id="viewDocs" data-auto-burger-exclude>View Documentation</a> -->
|
{{ with .Site.GetPage "section" "docs/tutorials/kubernetes-basics" }}
|
||||||
<a href="/docs/tutorials/kubernetes-basics/" class="button" id="tryKubernetes" data-auto-burger-exclude>Try Kubernetes</a>
|
<a href="{{ .RelPermalink }}" class="button" id="tryKubernetes" data-auto-burger-exclude>{{ .LinkTitle }}</a>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
|
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav id="mainNav">
|
<nav id="mainNav">
|
||||||
<main data-auto-burger="primary">
|
<main data-auto-burger="primary">
|
||||||
<div class="nav-box">
|
{{ range .Site.Menus.main }}
|
||||||
<h3><a href="/docs/tutorials/stateless-application/hello-minikube/">Get Started</a></h3>
|
<div class="nav-box">
|
||||||
<p>Ready to get your hands dirty? Build a simple Kubernetes cluster that runs "Hello World" for Node.js.</p>
|
<h3><a href="{{ .URL }}">{{ .Title }}</a></h3>
|
||||||
</div>
|
{{ .Post }}
|
||||||
<div class="nav-box">
|
|
||||||
<h3><a href="/docs/home/">Documentation</a></h3>
|
|
||||||
<p>Learn how to use Kubernetes with the use of walkthroughs, samples, and reference documentation. You can even <a href="/editdocs/" data-auto-burger-exclude>help contribute to the docs</a>!</p>
|
|
||||||
</div>
|
|
||||||
<div class="nav-box">
|
|
||||||
<h3><a href="/community/">Community</a></h3>
|
|
||||||
<p>If you need help, you can connect with other Kubernetes users and the Kubernetes authors, attend community events, and watch video presentations from around the web.</p>
|
|
||||||
</div>
|
|
||||||
<div class="nav-box">
|
|
||||||
<h3><a href="/blog/">Blog</a></h3>
|
|
||||||
<p>Read the latest news for Kubernetes and the containers space in general, and get technical how-tos hot off the presses.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
</main>
|
</main>
|
||||||
<main data-auto-burger="primary">
|
<main data-auto-burger="primary">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<h5 class="github-invite">Interested in hacking on the core Kubernetes code base?</h5>
|
<h5 class="github-invite">{{ T "main_github_invite" }}</h5>
|
||||||
<a href="https://github.com/kubernetes/kubernetes" class="button" data-auto-burger-exclude>View On Github</a>
|
<a href="https://github.com/kubernetes/kubernetes" class="button" data-auto-burger-exclude>{{ T "main_github_view_on" }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<h5 class="github-invite">Explore the community</h5>
|
<h5 class="github-invite">{{ T "main_community_explore" }}</h5>
|
||||||
<div class="social">
|
<div class="social">
|
||||||
<a href="https://twitter.com/kubernetesio" class="twitter"><span>Twitter</span></a>
|
<a href="https://twitter.com/kubernetesio" class="twitter"><span>{{ T "community_twitter_name" }}</span></a>
|
||||||
<a href="https://github.com/kubernetes/kubernetes" class="github"><span>Github</span></a>
|
<a href="https://github.com/kubernetes/kubernetes" class="github"><span>{{ T "community_github_name" }}</span></a>
|
||||||
<a href="http://slack.k8s.io/" class="slack"><span>Slack</span></a>
|
<a href="http://slack.k8s.io/" class="slack"><span>{{ T "community_slack_name" }} Slack</span></a>
|
||||||
<a href="https://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>Stack Overflow</span></a>
|
<a href="https://stackoverflow.com/questions/tagged/kubernetes" class="stack-overflow"><span>{{ T "community_stack_overflow_name" }}</span></a>
|
||||||
<a href="https://discuss.kubernetes.io" class="mailing-list"><span>Forum</span></a>
|
<a href="https://discuss.kubernetes.io" class="mailing-list"><span>{{ T "community_forum_name" }}</span></a>
|
||||||
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>Events Calendar</span></a>
|
<a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com" class="calendar"><span>{{ T "community_events_calendar" }}</span></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear" style="clear: both"></div>
|
<div class="clear" style="clear: both"></div>
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{{/* This file contains some common template definitions used in the blocks shortcodes.
|
||||||
|
The reasoning behind the long and hard-to-remember template names is that these templates are global. */}}
|
||||||
|
{{ define "shortcodes-blocks_getimage" }}
|
||||||
|
{{- $cr := .ctx.Site.GetPage "/_common-resources" -}}
|
||||||
|
{{- with $cr -}}
|
||||||
|
{{- $image := $cr.Resources.GetMatch (printf "images/**%s*" $.name ) -}}
|
||||||
|
{{- with $image -}}
|
||||||
|
{{- $.ctx.Scratch.Set $.target $image -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- errorf "Image matching %q not found _common-resources" $.name -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{ errorf "[%s] No resource bundle found. Create an empty headless bundle; create content/%s/_common-resources/index.md with \"headless: true\" in front matter. See https://gohugo.io/content-management/page-bundles/#headless-bundle" $.ctx.Page.Lang $.ctx.Page.Lang }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{{ $caseStudiesSection := .Site.GetPage "case-studies" }}
|
||||||
|
{{ if not $caseStudiesSection }}
|
||||||
|
{{ errorf "[%s] No case-studies section found. Create content/%s/case-studies/_index.md" $.Page.Lang $.Page.Lang }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $caseStudiesPages := where $caseStudiesSection.Pages "Params.featured" true | first 4 }}
|
||||||
|
<section id="talkToUs">
|
||||||
|
<main>
|
||||||
|
<h3>{{ $caseStudiesSection.Title }}</h3>
|
||||||
|
<div id="caseStudiesWrapper">
|
||||||
|
{{ range $caseStudiesPages }}
|
||||||
|
{{ $logo := .Resources.GetMatch "**logo*.png" }}
|
||||||
|
<div>
|
||||||
|
{{ with $logo }}<img src="{{ .RelPermalink }}">{{ end }}
|
||||||
|
<p>"{{ .Params.quote | truncate 100 }}"</p>
|
||||||
|
<a href="{{ .RelPermalink }}">{{ T "main_read_more" }}</a>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
<h5 style="text-align: center"><a href="/case-studies/" style="color: #3371E3; font-weight: 400">{{ $caseStudiesSection.LinkTitle }}</a></h5>
|
||||||
|
</main>
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{{/*
|
||||||
|
This shortcode renders a main feature as seen on the top of the Kubernetes home page.
|
||||||
|
|
||||||
|
It can be given a "image" parameter with a name partially matching a file in the images folder of the _common-resources bundle.
|
||||||
|
|
||||||
|
*/}}
|
||||||
|
{{- $imageName := $.Get "image" | default "flower" -}}
|
||||||
|
{{ if $imageName }}{{- template "shortcodes-blocks_getimage" (dict "name" $imageName "ctx" . "target" "feature-image") -}}{{ end }}
|
||||||
|
{{- $image := $.Scratch.Get "feature-image" -}}
|
||||||
|
<main>
|
||||||
|
{{ with $image }}<div class="image-wrapper"><img src="{{ .RelPermalink }}" alt="{{ .Title }}"></div>{{ end }}
|
||||||
|
<div class="content">
|
||||||
|
{{ $.Inner }}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{{/*
|
||||||
|
|
||||||
|
This shortcode lists pages that have a "feature" section configured in front matter.
|
||||||
|
|
||||||
|
This creates a set of feature boxes as seen on the home page.
|
||||||
|
|
||||||
|
See /content/en/docs/concepts/services-networking/service.md for an example:
|
||||||
|
|
||||||
|
feature:
|
||||||
|
title: Service discovery and load balancing
|
||||||
|
description: >
|
||||||
|
No need to modify your application to use an unfamiliar service discovery mechanism. Kubernetes gives containers their own IP addresses and a single DNS name for a set of containers, and can load-balance across them.
|
||||||
|
|
||||||
|
Note that markdown can be used in the description.
|
||||||
|
|
||||||
|
*/}}
|
||||||
|
<section id="features">
|
||||||
|
<main>
|
||||||
|
<h3 class="center">{{ T "main_kubernetes_features" }}</h3>
|
||||||
|
{{ $pages := where .Site.Pages ".Params.feature" "!=" nil }}
|
||||||
|
{{range $i, $p := $pages }}
|
||||||
|
{{ if and (gt $i 0) (modBool $i 2) }}</div>{{ end }}
|
||||||
|
{{ if modBool $i 2 }}
|
||||||
|
<div class="feature-box">
|
||||||
|
{{ end }}
|
||||||
|
<div>
|
||||||
|
{{ with .Params.feature }}
|
||||||
|
<h4><a href="{{ $p.RelPermalink}}{{ with .anchor }}#{{ . | anchorize }}{{ end }}">{{ .title }}</a></h4>
|
||||||
|
{{ $description := .description | default $p.Params.description }}
|
||||||
|
{{ $description | markdownify }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</main>
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{{- $class := .Get "class" -}}
|
||||||
|
{{- $style := .Get "style" -}}
|
||||||
|
{{- $id := .Get "id" | default (printf "section-%d" .Ordinal) -}}
|
||||||
|
{{- $bg := .Get "background-image" -}}
|
||||||
|
{{- if $bg -}}
|
||||||
|
{{ template "shortcodes-blocks_getimage" (dict "name" $bg "ctx" . "target" "bg") }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $image := $.Scratch.Get "bg" -}}
|
||||||
|
<section id="{{ $id }}"{{ with $class }} class="{{ . }}"{{ end }} style="{{ with $image }}background-image: url({{ .Permalink }}); {{ end }}{{ with $style }}{{ . | safeCSS }}{{ end }}">
|
||||||
|
{{ $.Inner }}
|
||||||
|
</section>
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<div id="my-panel" data-katacoda-ondemand="true" data-katacoda-env="minikube" data-katacoda-command="minikube version; minikube start" data-katacoda-ui="panel"></div>
|
||||||
|
<script src="https://katacoda.com/embed.js"></script>
|
||||||
|
<button class="button" onclick="window.katacoda.init(); ">Launch Terminal</button>
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"Target":"css/styles.css","MediaType":"text/css","Data":{}}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"Target":"css/styles.css","MediaType":"text/css","Data":{}}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"Target":"css/styles.min.ece7e7b8765fe37209670b4fdb98dc7c18c77ce66f423368a943e602cf2ab436.css","MediaType":"text/css","Data":{"Integrity":"sha256-7OfnuHZf43IJZwtP25jcfBjHfOZvQjNoqUPmAs8qtDY="}}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"Target":"css/styles.min.36e2d5e7b70bfce1c48918362c1c1fc87ea3c820c5a8e9985d1f9b09c0bf737a.css","MediaType":"text/css","Data":{"Integrity":"sha256-NuLV57cL/OHEiRg2LBwfyH6jyCDFqOmYXR+bCcC/c3o="}}
|
|
||||||
@@ -178,6 +178,9 @@ var kub = (function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setHomeHeaderStyles() {
|
function setHomeHeaderStyles() {
|
||||||
|
if (!quickstartButton[0]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
var Y = window.pageYOffset;
|
var Y = window.pageYOffset;
|
||||||
var quickstartBottom = quickstartButton[0].getBoundingClientRect().bottom;
|
var quickstartBottom = quickstartButton[0].getBoundingClientRect().bottom;
|
||||||
|
|
||||||
@@ -517,11 +520,6 @@ $(function() {
|
|||||||
addAnchorTags();
|
addAnchorTags();
|
||||||
|
|
||||||
|
|
||||||
// Make global nav be active based on pathname
|
|
||||||
if ((location.pathname.split("/")[1]) !== ""){
|
|
||||||
$('.global-nav li a[href^="/' + location.pathname.split("/")[1] + '"]').addClass('active');
|
|
||||||
}
|
|
||||||
|
|
||||||
// If vendor strip doesn't exist add className
|
// If vendor strip doesn't exist add className
|
||||||
if ( !$('#vendorStrip').length > 0 ) {
|
if ( !$('#vendorStrip').length > 0 ) {
|
||||||
$('#hero').addClass('bot-bar');
|
$('#hero').addClass('bot-bar');
|
||||||
|
|||||||