diff --git a/PodPreset/README.md b/PodPreset/README.md deleted file mode 100644 index aa47ad1..0000000 --- a/PodPreset/README.md +++ /dev/null @@ -1,9 +0,0 @@ -## PodPreset Example ---- - -1. Change the metadata `name` tag to the name you want -2. Set the `role`. The preset will act on all Pods with the same role. -3. Set the environment variables and values you need for the Pods. -4. Mount a volume if wanted. - -Reference: https://kubernetes.io/docs/tasks/inject-data-application/podpreset/ diff --git a/PodPreset/pod-preset.yaml b/PodPreset/pod-preset.yaml deleted file mode 100644 index e6e8ec0..0000000 --- a/PodPreset/pod-preset.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -apiVersion: settings.k8s.io/v1alpha1 -kind: PodPreset -metadata: - name: pod-preset-simple -spec: - selector: - matchLabels: - role: frontend - env: - - name: DB_PORT - value: "6379" - volumeMounts: - - mountPath: /cache - name: pod-preset-simple-cache-volume - volumes: - - name: pod-preset-simple-cache-volume - emptyDir: {}