sokoow il y a 3 ans
commit
3b38cd244a
3 fichiers modifiés avec 34 ajouts et 0 suppressions
  1. 0 0
      Readme.md
  2. 28 0
      deployments/redis-master.yaml
  3. 6 0
      fleet.yaml

+ 0 - 0
Readme.md


+ 28 - 0
deployments/redis-master.yaml

@@ -0,0 +1,28 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: redis-master
+spec:
+  selector:
+    matchLabels:
+      app: redis
+      role: master
+      tier: backend
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: redis
+        role: master
+        tier: backend
+    spec:
+      containers:
+      - name: master
+        image: k8s.gcr.io/redis:e2e
+        resources:
+          requests:
+            cpu: 100m
+            memory: 100Mi
+        ports:
+        - containerPort: 6379
+

+ 6 - 0
fleet.yaml

@@ -0,0 +1,6 @@
+# This file and all contents in it are OPTIONAL.
+
+# The default namespace to apply to resources that are namespaced
+# but do not specify a namespace.  In this example no resources
+# are configured with a namespace so this default will apply
+namespace: fleet-manifest-example