Skip to content

Commit a0134b6

Browse files
Alban BaillyGitHub Enterprise
authored andcommitted
Merge pull request linode#115 from Linode/development
Release 1.0.14
2 parents 11e6c7e + 80887ba commit a0134b6

File tree

8 files changed

+69
-12
lines changed

8 files changed

+69
-12
lines changed

content/kubernetes/_index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Container Tools
3+
subtitle: For Developers, by Developers
4+
Description: Create a High Availability Kubernetes Cluster with One Command
5+
author:
6+
name: Alban Bailly
7+
8+
description: Container Tools
9+
keywords: []
10+
license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)'
11+
date: 2018-12-02T08:55:08-04:00
12+
type: "container-tools"
13+
---
14+
Create a High Availability Kubernetes Cluster with One Command

static/img/kube.gif

2.44 MB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{{ define "main" }}
2+
3+
<div class="flex flex-wrap mb-8 -mx-4">
4+
5+
<div class="w-full px-4">
6+
<div class="my-4 md:mt-12 md:mt-8 max-w-3xl">
7+
<!-- <div class="mb-4 mt-8 sm:hidden text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div> -->
8+
<h2 class="font-normal text-BaseGreenDark text-center">Create a Kubernetes Cluster with One Command</h2>
9+
<h3 class="font-light text-center text-3xl mt-2">Integrated with Linode NodeBalancers and Block Storage</h3>
10+
<div class="flex justify-center mt-4">
11+
{{ partial "2_molecules/code-box.html" ( dict "Line1" "linode-cli k8s-alpha create mycluster") }}
12+
</div>
13+
<div class="flex justify-center mb-12 mt-8 md:mt-0">
14+
<a class="btn" href="https://github.com/linode/linode-cli" target="_blank">Get Started with the Linode CLI</a>
15+
</div>
16+
<div class="flex justify-center my-8">
17+
<div class="py-4" style="background-color: #000;">
18+
<video width="100%" height='100%' playsinline loop autoPlay muted controls>
19+
<source src='{{ "/video/linodek8s.mp4" | relURL }}'
20+
type="video/mp4">
21+
<source src='{{ "/video/linodek8s.webm" | relURL }}'
22+
type="video/webm">
23+
Sorry, your browser doesn't support embedded videos.
24+
</video>
25+
</div>
26+
</div>
27+
</div>
28+
</div>
29+
30+
</div>
31+
32+
<!-- <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script> -->
33+
<!-- <script src={{ "/assets/js/tools.js" | relURL }} type="text/javascript"></script> -->
34+
{{ end }}

themes/dlc/layouts/_default/libraries-tools.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,28 @@ <h4 class="uppercase mb-4 w-full community-header">Want More Help?</h4>
2626

2727
<div class="w-full px-4">
2828
<div class="my-4 md:mt-12 md:mt-8 max-w-3xl">
29-
<!-- <div class="mb-4 mt-8 sm:hidden text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div> -->
30-
<h2 class="font-normal text-BaseGreenDark mb-6 md:mb-0">Tools</h2>
31-
<div class="flex -mx-4 md:items-center flex-col-reverse md:flex-row mb-2">
29+
<h2 class="font-normal text-BaseGreenDark mb-6 md:mb-0 text-center">Tools</h2>
30+
<div class="flex mx-auto md:-mx-4 items-center md:justify-center flex-col-reverse md:flex-row mb-2 max-w-xs md:max-w-full">
3231
<div class="px-4 flex flex-wrap">
3332
<div style="width: 300px;">
34-
{{ partial "2_molecules/code-box.html" }}
33+
{{ partial "2_molecules/code-box.html" ( dict "Line1" "pip install linode-cli" "Line2" "linode-cli linodes create") }}
3534
</div>
36-
<div class="mt-4 md:hidden flex w-full"><a href="https://www.linode.com/cli" target="_blank" class="btn text-sm">Linode CLI on GitHub</a></div>
35+
<div class="mt-4 md:hidden flex w-full justify-center"><a href="https://www.linode.com/cli" target="_blank" class="btn text-sm">Linode CLI on GitHub</a></div>
3736
</div>
3837
<div class="px-4">
39-
<h3 class="md:text-2xl mt-0 font-normal text-BaseGreenDark">Linode CLI</h3>
40-
<div class="md:text-lg my-3 text-light">An easy way to get up and running with the Linode API.</div>
41-
<div class="pt-3 hidden hidden md:block"><a href="https://www.linode.com/cli" target="_blank" class="btn text-sm">Linode CLI on GitHub</a></div>
38+
<h3 class="md:text-2xl mt-0 font-normal text-BaseGreenDark text-center md:text-left">Linode CLI</h3>
39+
<div class="md:text-lg my-3 text-light text-center md:text-left">An easy way to get up and running with the Linode API.</div>
40+
<div class="pt-3 hidden md:block"><a href="https://www.linode.com/cli" target="_blank" class="btn text-sm">Linode CLI on GitHub</a></div>
4241
</div>
4342
</div>
44-
<div class="flex flex-wrap mt-8 md:mb-4 -mx-4">
43+
<div class="mx-auto max-w-xs md:max-w-full">
44+
<div class="mb-4 mt-8 text-center">{{ partial "0_svgs/divider.svg" (dict "width" 170) }}</div>
45+
<h3 class="font-normal text-BaseGreenDark text-center text-2xl mt-2">Alpha Kubernetes API</h3>
46+
<div class="flex justify-center mt-4 mb-12">
47+
<a class="btn text-sm" href="/kubernetes">Get started with the Linode CLI</a>
48+
</div>
49+
</div>
50+
<div class="flex flex-wrap mt-12 md:mb-4 -mx-4">
4551
<article class="item lib-item w-full md:w-1/2 px-4 mb-4 md:mb-8">
4652
<div class="p-8 h-full bg-ThemeCell tile">
4753
<header>

themes/dlc/layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<section class="header max-w-3xl mx-auto px-4 md:px-8 py-12 relative z-10">
88
<h2 class="text-center font-normal text-BaseGreenDark">Manage your Account with the Linode CLI</h2>
99
<div class="text-2xl my-3 text-center font-light">All of the functionality of the Manager from the command line.</div>
10-
{{ partial "2_molecules/code-box.html" }}
10+
{{ partial "2_molecules/code-box.html" ( dict "Line1" "pip install linode-cli" "Line2" "linode-cli linodes create") }}
1111
<div class="mt-6 text-center"><a href="https://www.linode.com/cli" target="_blank" class="btn mt-3">Get Started with the Linode CLI</a></div>
1212
</section>
1313
</div>

themes/dlc/layouts/partials/2_molecules/code-box.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
<span class="code-box-circle circle-green"></span>
66
</div>
77
<div class="code-box-content py-4 px-6">
8-
<pre>pip install linode-cli</pre>
9-
<pre>linode-cli linodes create</pre>
8+
<pre>{{ .Line1 }}</pre>
9+
<pre>{{ .Line2 }}</pre>
10+
<pre>{{ .Line3 }}</pre>
11+
<pre>{{ .Line4 }}</pre>
12+
<pre>{{ .Line5 }}</pre>
1013
</div>
1114
</div>

themes/dlc/static/video/linodek8s.mp4

18.8 MB
Binary file not shown.
4.77 MB
Binary file not shown.

0 commit comments

Comments
 (0)