mirror of https://github.com/helm/helm
parent
e0eb95be86
commit
95bc672629
@ -0,0 +1,4 @@
|
|||||||
|
# Helm Examples
|
||||||
|
|
||||||
|
This directory contains example charts to help you get started with
|
||||||
|
chart development.
|
@ -0,0 +1,4 @@
|
|||||||
|
name: alpine
|
||||||
|
description: Deploy a basic Alpine Linux pod
|
||||||
|
version: 0.1.0
|
||||||
|
home: "https://github.com/deis/tiller"
|
@ -0,0 +1,9 @@
|
|||||||
|
This example was generated using the command `helm create alpine`.
|
||||||
|
|
||||||
|
The `templates/` directory contains a very simple pod resource with a
|
||||||
|
couple of parameters.
|
||||||
|
|
||||||
|
The `values.toml` file contains the default values for the
|
||||||
|
`alpine-pod.yaml` template.
|
||||||
|
|
||||||
|
You can install this example using `helm install docs/examples/alpine`.
|
@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: {{default "alpine" .name}}
|
||||||
|
labels:
|
||||||
|
heritage: helm
|
||||||
|
spec:
|
||||||
|
restartPolicy: {{default "Never" .restart_policy}}
|
||||||
|
containers:
|
||||||
|
- name: waiter
|
||||||
|
image: "alpine:3.3"
|
||||||
|
command: ["/bin/sleep","9000"]
|
@ -0,0 +1,2 @@
|
|||||||
|
# The pod name
|
||||||
|
name = "my-alpine"
|
Loading…
Reference in new issue