Created
March 29, 2019 10:37
-
-
Save galderz/b56eb35156a09bd1ede671244cc6516b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(1) g ~/0/openshift/operator-source $ oc get sts example-infinispan -o yaml | |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
annotations: | |
description: Infinispan 9 (Ephemeral) | |
iconClass: icon-infinispan | |
openshift.io/display-name: Infinispan 9 (Ephemeral) | |
openshift.io/documentation-url: http://infinispan.org/documentation/ | |
creationTimestamp: 2019-03-29T10:21:10Z | |
generation: 2 | |
labels: | |
template: infinispan-ephemeral | |
name: example-infinispan | |
namespace: myproject | |
ownerReferences: | |
- apiVersion: infinispan.org/v1 | |
blockOwnerDeletion: true | |
controller: true | |
kind: Infinispan | |
name: example-infinispan | |
uid: 5f222989-520c-11e9-8e51-06c06d1676e0 | |
resourceVersion: "780970" | |
selfLink: /apis/apps/v1/namespaces/myproject/statefulsets/example-infinispan | |
uid: 5f263b7a-520c-11e9-8e51-06c06d1676e0 | |
spec: | |
podManagementPolicy: OrderedReady | |
replicas: 3 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: infinispan-pod | |
clusterName: example-infinispan | |
infinispan_cr: example-infinispan | |
serviceName: "" | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: infinispan-pod | |
clusterName: example-infinispan | |
infinispan_cr: example-infinispan | |
spec: | |
containers: | |
- args: | |
- cloud.xml | |
- -Djboss.default.jgroups.stack=dns-ping | |
- -Djgroups.dns_ping.dns_query=example-infinispan-ping.default.svc.cluster.local | |
env: | |
- name: KUBERNETES_NAMESPACE | |
value: myproject | |
- name: KUBERNETES_LABELS | |
value: clusterName=example-infinispan | |
- name: MGMT_USER | |
value: infinispan | |
- name: MGMT_PASS | |
value: infinispan | |
- name: APP_USER | |
value: infinispan | |
- name: APP_PASS | |
value: infinispan | |
image: jboss/infinispan-server:latest | |
imagePullPolicy: Always | |
livenessProbe: | |
exec: | |
command: | |
- /usr/local/bin/is_running.sh | |
failureThreshold: 5 | |
initialDelaySeconds: 10 | |
periodSeconds: 60 | |
successThreshold: 1 | |
timeoutSeconds: 80 | |
name: infinispan | |
ports: | |
- containerPort: 8080 | |
name: http | |
protocol: TCP | |
- containerPort: 9990 | |
name: management | |
protocol: TCP | |
- containerPort: 8888 | |
name: ping | |
protocol: TCP | |
- containerPort: 11222 | |
name: hotrod | |
protocol: TCP | |
readinessProbe: | |
exec: | |
command: | |
- /usr/local/bin/is_healthy.sh | |
failureThreshold: 5 | |
initialDelaySeconds: 10 | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 80 | |
resources: | |
requests: | |
cpu: 500m | |
memory: 512Mi | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: infinispan-operator | |
serviceAccountName: infinispan-operator | |
terminationGracePeriodSeconds: 30 | |
updateStrategy: | |
type: OnDelete | |
status: | |
collisionCount: 0 | |
currentReplicas: 3 | |
currentRevision: example-infinispan-68cb64c6c9 | |
observedGeneration: 2 | |
readyReplicas: 3 | |
replicas: 3 | |
updateRevision: example-infinispan-68cb64c6c9 | |
updatedReplicas: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment