2016-12-19 20:08:54 +00:00
{% for current_toc in site.tocs %}
{% if found_toc %}
{% break %}
{% else %}
{% assign toc=site.data[current_toc] %}
{% include tocsearch.html tree=toc.toc toc=toc %}
{% endif %}
{% endfor %}
2016-02-24 23:32:45 +00:00
<!Doctype html>
2016-12-19 20:08:54 +00:00
< html id = "docs" class = "{{ toc.bigheader }}" >
2016-02-24 23:32:45 +00:00
2016-03-05 00:02:00 +00:00
{% include head-header.html %}
2016-02-24 23:32:45 +00:00
<!-- HERO -->
2016-02-09 02:28:54 +00:00
< section id = "hero" class = "light-text" >
2016-12-19 20:08:54 +00:00
< h1 > {{ toc.bigheader }}< / h1 >
< h5 > {{ toc.abstract }}< / h5 >
2016-09-11 05:16:28 +00:00
< div id = "vendorStrip" class = "light-text" >
< ul >
2016-12-19 20:08:54 +00:00
< li > < a href = "/docs/" { % if toc . bigheader = = " Kubernetes Documentation " % } class = "YAH" { % endif % } > DOCS HOME< / a > < / li >
< li > < a href = "/docs/user-guide/" { % if toc . bigheader = = " Guides " % } class = "YAH" { % endif % } > GUIDES< / a > < / li >
< li > < a href = "/docs/tutorials/" { % if toc . bigheader = = " Tutorials " % } class = "YAH" { % endif % } > TUTORIALS< / a > < / li >
< li > < a href = "/docs/tasks/" { % if toc . bigheader = = " Tasks " % } class = "YAH" { % endif % } > TASKS< / a > < / li >
< li > < a href = "/docs/concepts/" { % if toc . bigheader = = " Concepts " % } class = "YAH" { % endif % } > CONCEPTS< / a > < / li >
< li > < a href = "/docs/reference/" { % if toc . bigheader = = " Reference Documentation " % } class = "YAH" { % endif % } > REFERENCE< / a > < / li >
< li > < a href = "/docs/tools/" { % if toc . bigheader = = " Tools " % } class = "YAH" { % endif % } > TOOLS< / a > < / li >
< li > < a href = "/docs/samples/" { % if toc . bigheader = = " Samples " % } class = "YAH" { % endif % } > SAMPLES< / a > < / li >
< li > < a href = "/docs/troubleshooting/" { % if toc . bigheader = = " Support " % } class = "YAH" { % endif % } > SUPPORT< / a > < / li >
2016-09-11 05:16:28 +00:00
< / ul >
< div id = "searchBox" >
< input type = "text" id = "search" placeholder = "Search" onkeydown = "if (event.keyCode==13) window.location.replace('/docs/search/?q=' + this.value)" >
< / div >
< / div >
2016-02-09 02:28:54 +00:00
< / section >
2016-02-24 23:32:45 +00:00
< section id = "encyclopedia" >
2016-09-11 05:16:28 +00:00
< div id = "docsToc" >
2016-02-09 21:23:33 +00:00
< div class = "pi-accordion" >
2016-12-19 20:08:54 +00:00
{% if toc.bigheader != "Kubernetes Documentation" %}
{% include_cached tree.html tree=toc.toc %}
2016-11-03 22:06:08 +00:00
{% endif %}
2016-02-09 21:23:33 +00:00
< / div > <!-- /pi - accordion -->
2016-09-11 05:16:28 +00:00
< button class = "push-menu-close-button" onclick = "kub.toggleToc()" > < / button >
< / div > <!-- /docsToc -->
< div id = "docsContent" >
2016-03-07 15:07:48 +00:00
< p > < a href = "/editdocs#{{ page.path }}" id = "editPageButton" > Edit This Page< / a > < / p >
2016-12-19 20:08:54 +00:00
{% unless page.notitle %}
< h1 > {{ page.title }}< / h1 >
{% endunless %}
{{ content }}
2016-02-11 10:15:49 +00:00
< p > < a href = "" > < img src = "https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/{{ page.path }}?pixel" alt = "Analytics" / > < / a >
2016-11-14 15:54:34 +00:00
{% if page.url != "/404.html" and page.url != "/docs/search/" %}
2016-03-02 07:45:06 +00:00
< script type = "text/javascript" >
2016-03-09 01:18:23 +00:00
PDRTJS_settings_8345992 = {
"id" : "8345992",
2016-12-19 20:08:54 +00:00
"unique_id" : "{{ page.url }}",
"title" : "{{ page.title }}",
"permalink" : "http://kubernetes.github.io{{ page.url }}"
2016-03-09 01:18:23 +00:00
};
(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'));
2016-09-06 22:54:10 +00:00
< / script >
< a href = "" onclick = "window.open('https://github.com/kubernetes/kubernetes.github.io/issues/new?title=Issue%20with%20' +
2016-11-14 15:57:48 +00:00
window.location.pathname)" class="button issue">Create an Issue< / a >
< a href = "/editdocs#{{ page.path }}" class = "button issue" > Edit this Page< / a >
2016-09-06 22:54:10 +00:00
{% endif %}
2016-02-09 02:28:54 +00:00
< / div >
2016-02-09 17:29:27 +00:00
< / section >
2016-02-24 23:32:45 +00:00
2016-12-19 20:08:54 +00:00
{% include_cached footer.html %}
2016-03-05 00:02:00 +00:00
2016-03-09 01:18:23 +00:00
< button class = "flyout-button" onclick = "kub.toggleToc()" > < / button >
2016-02-24 23:32:45 +00:00
2016-02-25 18:33:20 +00:00
< style >
2016-09-11 05:16:28 +00:00
.cse .gsc-control-cse, .gsc-control-cse, {
padding: 0;
}
.gsc-control-cse table, .gsc-control-cse-en table {
margin:0px !important;
}
.gsc-above-wrapper-area {
border-bottom: 0;
}
2016-02-25 18:33:20 +00:00
< / style >
2016-03-04 21:50:51 +00:00
< script >
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-36037335-10', 'auto');
ga('send', 'pageview');
2016-12-19 20:08:54 +00:00
2016-11-18 20:56:07 +00:00
// hide docs nav area if no nav is present, or if nav only contains a link to the current page
2016-11-18 18:27:25 +00:00
(function () {
window.addEventListener('DOMContentLoaded', init)
2016-12-19 20:08:54 +00:00
2016-11-18 18:27:25 +00:00
// play nice with our neighbors
function init() {
window.removeEventListener('DOMContentLoaded', init)
hideNav()
}
2016-12-19 20:08:54 +00:00
2016-11-18 18:27:25 +00:00
function hideNav(toc){
if (!toc) toc = document.querySelector('#docsToc')
var container = toc.querySelector('.container')
2016-12-19 20:08:54 +00:00
2016-11-18 18:27:25 +00:00
// container is built dynamically, so it may not be present on the first runloop
if (container) {
2016-11-18 20:56:07 +00:00
if (container.childElementCount === 0 || toc.querySelectorAll('a.item').length === 1) {
toc.style.display = 'none'
2016-11-18 18:27:25 +00:00
document.getElementById('docsContent').style.width = '100%'
}
} else {
requestAnimationFrame(function () {
hideNav(toc)
})
}
}
})();
2016-03-04 21:50:51 +00:00
< / script >
2016-03-06 10:24:03 +00:00
<!-- Commenting out AnswerDash for now; we need to work on our list of questions/answers/design first
<!-- Start of AnswerDash script <script>var AnswerDash;!function(e,t,n,s,a){if(!t.getElementById(s)){var i,r=t.createElement(n),c=t.getElementsByTagName(n)[0];e[a]||(i=e[a]=function(){i.__oninit.push(arguments)},i.__oninit=[]),r.type="text/javascript",r.async=!0,r.src="https://p1.answerdash.com/answerdash.min.js?siteid=756",r.setAttribute("id",s),c.parentNode.insertBefore(r,c)}}(window,document,"script","answerdash - script","AnswerDash");</script> <! - - End of AnswerDash script -->
2016-02-24 23:32:45 +00:00
< / body >
2016-03-10 15:22:58 +00:00
< / html >