diff --git a/README.md b/README.md index c5c4b38..d8a5b07 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ here](https://github.com/weaveworks/flux/blob/master/site/helm-get-started.md). ## Getting Help -If you have any questions about, feedback for or problems with `flux-helm-test`: +If you have any questions about, feedback for or problems with `flux-get-started`: - Invite yourself to the Weave community slack. - Ask a question on the [#flux](https://weave-community.slack.com/messages/flux/) slack channel. diff --git a/namespaces/demo.yaml b/namespaces/demo.yaml new file mode 100644 index 0000000..45ab8cc --- /dev/null +++ b/namespaces/demo.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + labels: + name: demo + name: demo diff --git a/workloads/podinfo-dep.yaml b/workloads/podinfo-dep.yaml new file mode 100644 index 0000000..cae2cf4 --- /dev/null +++ b/workloads/podinfo-dep.yaml @@ -0,0 +1,59 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: podinfo + namespace: demo + labels: + app: podinfo + annotations: + flux.weave.works/automated: "true" + flux.weave.works/tag.podinfod: semver:~1.3 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 0 + type: RollingUpdate + selector: + matchLabels: + app: podinfo + template: + metadata: + annotations: + prometheus.io/scrape: "true" + labels: + app: podinfo + spec: + containers: + - name: podinfod + image: stefanprodan/podinfo:1.3.2 + imagePullPolicy: IfNotPresent + ports: + - containerPort: 9898 + name: http + protocol: TCP + command: + - ./podinfo + - --port=9898 + - --level=info + - --random-delay=false + - --random-error=false + env: + - name: PODINFO_UI_COLOR + value: green + livenessProbe: + httpGet: + path: /healthz + port: 9898 + readinessProbe: + httpGet: + path: /readyz + port: 9898 + resources: + limits: + cpu: 1000m + memory: 128Mi + requests: + cpu: 10m + memory: 64Mi diff --git a/workloads/podinfo-svc.yaml b/workloads/podinfo-svc.yaml new file mode 100644 index 0000000..5d2b811 --- /dev/null +++ b/workloads/podinfo-svc.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: podinfo + namespace: demo + labels: + app: podinfo +spec: + type: ClusterIP + selector: + app: podinfo + ports: + - name: http + port: 9898 + protocol: TCP + targetPort: http