Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.08 KB | None | 0 0
  1. oc export petset manageiq
  2. ---
  3. apiVersion: apps/v1alpha1
  4. kind: PetSet
  5. metadata:
  6.   annotations:
  7.     description: Defines how to deploy the ManageIQ appliance
  8.     openshift.io/generated-by: OpenShiftNewApp
  9.   creationTimestamp: null
  10.   generation: 2
  11.   labels:
  12.     app: manageiq
  13.     template: manageiq
  14.   name: manageiq
  15. spec:
  16.   replicas: 1
  17.   selector:
  18.     matchLabels:
  19.       name: manageiq
  20.   serviceName: manageiq
  21.   template:
  22.     metadata:
  23.       creationTimestamp: null
  24.       labels:
  25.         name: manageiq
  26.       name: manageiq
  27.     spec:
  28.       containers:
  29.       - env:
  30.         - name: APPLICATION_INIT_DELAY
  31.           value: "15"
  32.         - name: DATABASE_SERVICE_NAME
  33.           value: postgresql
  34.         - name: DATABASE_REGION
  35.           value: "0"
  36.         - name: MEMCACHED_SERVICE_NAME
  37.           value: memcached
  38.         - name: POSTGRESQL_USER
  39.           value: root
  40.         - name: POSTGRESQL_PASSWORD
  41.           valueFrom:
  42.             secretKeyRef:
  43.               key: pg-password
  44.               name: manageiq-secrets
  45.         - name: POSTGRESQL_DATABASE
  46.           value: vmdb_production
  47.         - name: POSTGRESQL_MAX_CONNECTIONS
  48.           value: "100"
  49.         - name: POSTGRESQL_SHARED_BUFFERS
  50.           value: 256MB
  51.         image: docker.io/manageiq/manageiq-pods:app-latest
  52.         imagePullPolicy: IfNotPresent
  53.         lifecycle:
  54.           preStop:
  55.             exec:
  56.               command:
  57.              - /opt/manageiq/container-scripts/sync-pv-data
  58.         livenessProbe:
  59.           failureThreshold: 3
  60.           initialDelaySeconds: 480
  61.           periodSeconds: 10
  62.           successThreshold: 1
  63.           tcpSocket:
  64.             port: 443
  65.           timeoutSeconds: 3
  66.         name: manageiq
  67.         ports:
  68.         - containerPort: 80
  69.           protocol: TCP
  70.         - containerPort: 443
  71.           protocol: TCP
  72.         readinessProbe:
  73.           failureThreshold: 3
  74.           httpGet:
  75.             path: /
  76.             port: 443
  77.             scheme: HTTPS
  78.           initialDelaySeconds: 600
  79.           periodSeconds: 10
  80.           successThreshold: 1
  81.           timeoutSeconds: 3
  82.         resources:
  83.           limits:
  84.             memory: 16Gi
  85.           requests:
  86.             cpu: "1"
  87.             memory: 6Gi
  88.         securityContext:
  89.           privileged: true
  90.         terminationMessagePath: /dev/termination-log
  91.         volumeMounts:
  92.         - mountPath: /persistent
  93.           name: manageiq-server
  94.         - mountPath: /persistent-region
  95.           name: manageiq-region
  96.       dnsPolicy: ClusterFirst
  97.       restartPolicy: Always
  98.       securityContext: {}
  99.       terminationGracePeriodSeconds: 30
  100.       volumes:
  101.       - name: manageiq-region
  102.         persistentVolumeClaim:
  103.           claimName: manageiq-region
  104.   volumeClaimTemplates:
  105.   - metadata:
  106.       annotations:
  107.         volume.beta.kubernetes.io/storage-class: sata
  108.       creationTimestamp: null
  109.       name: manageiq-server
  110.     spec:
  111.       accessModes:
  112.      - ReadWriteOnce
  113.       resources:
  114.         requests:
  115.           storage: 5Gi
  116.     status:
  117.       phase: Pending
  118. status:
  119.   replicas: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement