Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oc export petset manageiq
- ---
- apiVersion: apps/v1alpha1
- kind: PetSet
- metadata:
- annotations:
- description: Defines how to deploy the ManageIQ appliance
- openshift.io/generated-by: OpenShiftNewApp
- creationTimestamp: null
- generation: 2
- labels:
- app: manageiq
- template: manageiq
- name: manageiq
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: manageiq
- serviceName: manageiq
- template:
- metadata:
- creationTimestamp: null
- labels:
- name: manageiq
- name: manageiq
- spec:
- containers:
- - env:
- - name: APPLICATION_INIT_DELAY
- value: "15"
- - name: DATABASE_SERVICE_NAME
- value: postgresql
- - name: DATABASE_REGION
- value: "0"
- - name: MEMCACHED_SERVICE_NAME
- value: memcached
- - name: POSTGRESQL_USER
- value: root
- - name: POSTGRESQL_PASSWORD
- valueFrom:
- secretKeyRef:
- key: pg-password
- name: manageiq-secrets
- - name: POSTGRESQL_DATABASE
- value: vmdb_production
- - name: POSTGRESQL_MAX_CONNECTIONS
- value: "100"
- - name: POSTGRESQL_SHARED_BUFFERS
- value: 256MB
- image: docker.io/manageiq/manageiq-pods:app-latest
- imagePullPolicy: IfNotPresent
- lifecycle:
- preStop:
- exec:
- command:
- - /opt/manageiq/container-scripts/sync-pv-data
- livenessProbe:
- failureThreshold: 3
- initialDelaySeconds: 480
- periodSeconds: 10
- successThreshold: 1
- tcpSocket:
- port: 443
- timeoutSeconds: 3
- name: manageiq
- ports:
- - containerPort: 80
- protocol: TCP
- - containerPort: 443
- protocol: TCP
- readinessProbe:
- failureThreshold: 3
- httpGet:
- path: /
- port: 443
- scheme: HTTPS
- initialDelaySeconds: 600
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 3
- resources:
- limits:
- memory: 16Gi
- requests:
- cpu: "1"
- memory: 6Gi
- securityContext:
- privileged: true
- terminationMessagePath: /dev/termination-log
- volumeMounts:
- - mountPath: /persistent
- name: manageiq-server
- - mountPath: /persistent-region
- name: manageiq-region
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - name: manageiq-region
- persistentVolumeClaim:
- claimName: manageiq-region
- volumeClaimTemplates:
- - metadata:
- annotations:
- volume.beta.kubernetes.io/storage-class: sata
- creationTimestamp: null
- name: manageiq-server
- spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: 5Gi
- status:
- phase: Pending
- status:
- replicas: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement