Skip to content

Commit

Permalink
Merge pull request #53 from devzero-inc/staging
Browse files Browse the repository at this point in the history
merge to main
  • Loading branch information
dray92 authored Jul 19, 2024
2 parents f96b241 + 5e155ba commit 6d4a592
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 1 deletion.
Binary file added .gitbook/assets/k9s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/kubectx-kubens.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
* [Infra Templates](references/starter-templates/infra/README.md)
* [Helm](references/starter-templates/infra/helm.md)
* [Kubectl](references/starter-templates/infra/kubectl.md)
* [Kubectx / Kubens](references/starter-templates/infra/kubectx - kubens.md)
* [K9s](references/starter-templates/infra/k9s.md)
* [Kubectl](references/starter-templates/infra/kubectl.md)
* [Pulumi](references/starter-templates/infra/pulumi.md)
* [Skaffold](references/starter-templates/infra/skaffold.md)
* [Terraform](references/starter-templates/infra/terraform.md)
Expand Down
100 changes: 99 additions & 1 deletion references/starter-templates/infra/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,101 @@
# Infra Templates

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Argo CLI</strong></td><td><a href="argo.md">argo.md</a></td><td><a href="../../../.gitbook/assets/argo-cd.png">argo-cd.png</a></td></tr><tr><td><strong>Helm</strong></td><td><a href="helm.md">helm.md</a></td><td><a href="../../../.gitbook/assets/helm.png">helm.png</a></td></tr><tr><td><strong>Kubectl</strong></td><td><a href="kubectl.md">kubectl.md</a></td><td><a href="../../../.gitbook/assets/kubernetes.png">kubernetes.png</a></td></tr><tr><td><strong>Pulumi CLI</strong></td><td><a href="pulumi.md">pulumi.md</a></td><td><a href="../../../.gitbook/assets/pulumi.svg">pulumi.svg</a></td></tr><tr><td><strong>Skaffold</strong></td><td><a href="../../common-tools/infra/skaffold.md">skaffold.md</a></td><td><a href="../../../.gitbook/assets/skaffold.png">skaffold.png</a></td></tr><tr><td><strong>Terraform CLI</strong></td><td><a href="terraform.md">terraform.md</a></td><td><a href="../../../.gitbook/assets/terraform.png">terraform.png</a></td></tr></tbody></table>
<table data-card-size="large" data-view="cards">
<thead>
<tr>
<th></th>
<th data-hidden data-card-target data-type="content-ref"></th>
<th data-hidden data-card-cover data-type="files"></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<strong>Argo CLI</strong>
</td>
<td>
<a href="argo.md">argo.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/argo-cd.png">argo-cd.png</a>
</td>
</tr>
<tr>
<td>
<strong>Helm</strong>
</td>
<td>
<a href="helm.md">helm.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/helm.png">helm.png</a>
</td>
</tr>
<tr>
<td>
<strong>Kubectl</strong>
</td>
<td>
<a href="kubectl.md">kubectl.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/kubernetes.png">kubernetes.png</a>
</td>
</tr>
<tr>
<td>
<strong>Kubectx + Kubens</strong>
</td>
<td>
<a href="kubectx-kubens.md">kubectx-kubens.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/kubectx-kubens.png">kubectx-kubens.png</a>
</td>
</tr>
<tr>
<td>
<strong>K9s</strong>
</td>
<td>
<a href="k9s.md">k9s.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/k9s.png">k9s.png</a>
</td>
</tr>
<tr>
<td>
<strong>Pulumi CLI</strong>
</td>
<td>
<a href="pulumi.md">pulumi.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/pulumi.svg">pulumi.svg</a>
</td>
</tr>
<tr>
<td>
<strong>Skaffold</strong>
</td>
<td>
<a href="../../common-tools/infra/skaffold.md">skaffold.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/skaffold.png">skaffold.png</a>
</td>
</tr>
<tr>
<td>
<strong>Terraform CLI</strong>
</td>
<td>
<a href="terraform.md">terraform.md</a>
</td>
<td>
<a href="../../../.gitbook/assets/terraform.png">terraform.png</a>
</td>
</tr>
</tbody>
</table>
19 changes: 19 additions & 0 deletions references/starter-templates/infra/k9s.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# K9s

{% code overflow="wrap" lineNumbers="true" %}
```yaml
version: "3"
build:
steps:
- type: apt-get
packages: ["wget"]
- type: command
command: |
VERSION=v0.32.5
wget https://github.com/derailed/k9s/releases/download/$VERSION/k9s_Linux_amd64.tar.gz
mkdir k9s_Linux_amd64
tar -xvf k9s_Linux_amd64.tar.gz -C k9s_Linux_amd64
sudo mv k9s_Linux_amd64/k9s /usr/local/bin/
rm -rf k9s_Linux_amd64*
```
{% endcode %}
19 changes: 19 additions & 0 deletions references/starter-templates/infra/kubectx-kubens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Kubectx and Kubens

{% code overflow="wrap" lineNumbers="true" %}
```yaml
version: "3"
build:
steps:
- type: apt-get
packages: ["git"]
- type: command
command: |
git clone https://github.com/ahmetb/kubectx /usr/local/src
ln -s /usr/local/src/kubectx /usr/local/bin/kubectx
ln -s /usr/local/src/kubens /usr/local/bin/kubens
chmod +x /usr/local/bin/kubectx
chmod +x /usr/local/bin/kubens
user: root
```
{% endcode %}

0 comments on commit 6d4a592

Please sign in to comment.