Advertisement
hguerrero

kc get strimzi -o yaml -n edge

Nov 14th, 2023 (edited)
863
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 15.81 KB | None | 0 0
  1. apiVersion: v1
  2. items:
  3. - apiVersion: kafka.strimzi.io/v1beta2
  4.   kind: KafkaNodePool
  5.   metadata:
  6.     creationTimestamp: "2023-11-14T18:18:45Z"
  7.     generation: 1
  8.     labels:
  9.       strimzi.io/cluster: edge
  10.     name: dual-role
  11.     namespace: edge
  12.     resourceVersion: "50277"
  13.     uid: ad7c48c9-2902-41a5-8cef-389f2f8fd406
  14.   spec:
  15.     replicas: 3
  16.     roles:
  17.    - controller
  18.     - broker
  19.     storage:
  20.       size: 1Gi
  21.       type: persistent-claim
  22.   status:
  23.     clusterId: jO26IMxRT1aL1PoRinfhAQ
  24.     labelSelector: strimzi.io/cluster=edge,strimzi.io/name=edge-kafka,strimzi.io/kind=Kafka,strimzi.io/pool-name=dual-role
  25.     nodeIds:
  26.    - 0
  27.     - 1
  28.     - 2
  29.     observedGeneration: 1
  30.     replicas: 3
  31. - apiVersion: core.strimzi.io/v1beta2
  32.   kind: StrimziPodSet
  33.   metadata:
  34.     annotations:
  35.       strimzi.io/kafka-version: 3.5.0
  36.       strimzi.io/storage: '{"type":"persistent-claim","size":"1Gi"}'
  37.     creationTimestamp: "2023-11-14T18:22:54Z"
  38.     generation: 1
  39.     labels:
  40.       app.kubernetes.io/instance: edge
  41.       app.kubernetes.io/managed-by: strimzi-cluster-operator
  42.       app.kubernetes.io/name: kafka
  43.       app.kubernetes.io/part-of: strimzi-edge
  44.       strimzi.io/cluster: edge
  45.       strimzi.io/component-type: kafka
  46.       strimzi.io/kind: Kafka
  47.       strimzi.io/name: edge-kafka
  48.       strimzi.io/pool-name: dual-role
  49.     name: edge-dual-role
  50.     namespace: edge
  51.     ownerReferences:
  52.     - apiVersion: kafka.strimzi.io/v1beta2
  53.       blockOwnerDeletion: false
  54.       controller: false
  55.       kind: KafkaNodePool
  56.       name: dual-role
  57.       uid: ad7c48c9-2902-41a5-8cef-389f2f8fd406
  58.     resourceVersion: "50871"
  59.     uid: 9e8461b8-75c4-456d-bac1-0c59ee30afc6
  60.   spec:
  61.     pods:
  62.     - apiVersion: v1
  63.       kind: Pod
  64.       metadata:
  65.         annotations:
  66.           strimzi.io/broker-configuration-hash: bfa9393b
  67.           strimzi.io/clients-ca-cert-generation: "0"
  68.           strimzi.io/cluster-ca-cert-generation: "0"
  69.           strimzi.io/cluster-ca-key-generation: "0"
  70.           strimzi.io/inter-broker-protocol-version: "3.5"
  71.           strimzi.io/kafka-version: 3.5.0
  72.           strimzi.io/log-message-format-version: "3.5"
  73.           strimzi.io/logging-appenders-hash: e893ac9f
  74.           strimzi.io/revision: 22d868a1
  75.           strimzi.io/server-cert-hash: dd4bcaad0eeae69d9a7b57a6f6c7c99955a7d711
  76.         labels:
  77.           app.kubernetes.io/instance: edge
  78.           app.kubernetes.io/managed-by: strimzi-cluster-operator
  79.           app.kubernetes.io/name: kafka
  80.           app.kubernetes.io/part-of: strimzi-edge
  81.           com.company: Red_Hat
  82.           rht.comp: AMQ_Streams
  83.           rht.comp_ver: "2.5"
  84.           rht.prod_name: Red_Hat_Application_Foundations
  85.           rht.prod_ver: 2023.Q3
  86.           rht.subcomp: kafka-broker
  87.           rht.subcomp_t: application
  88.           statefulset.kubernetes.io/pod-name: edge-dual-role-0
  89.           strimzi.io/broker-role: "true"
  90.           strimzi.io/cluster: edge
  91.           strimzi.io/component-type: kafka
  92.           strimzi.io/controller: strimzipodset
  93.           strimzi.io/controller-name: edge-dual-role
  94.           strimzi.io/controller-role: "true"
  95.           strimzi.io/kind: Kafka
  96.           strimzi.io/name: edge-kafka
  97.           strimzi.io/pod-name: edge-dual-role-0
  98.           strimzi.io/pool-name: dual-role
  99.         name: edge-dual-role-0
  100.         namespace: edge
  101.       spec:
  102.         affinity: {}
  103.         containers:
  104.         - args:
  105.          - /opt/kafka/kafka_run.sh
  106.           env:
  107.           - name: KAFKA_METRICS_ENABLED
  108.             value: "false"
  109.           - name: STRIMZI_KAFKA_GC_LOG_ENABLED
  110.             value: "false"
  111.           - name: KAFKA_HEAP_OPTS
  112.             value: -Xms128M
  113.           - name: STRIMZI_CLUSTER_ID
  114.             value: jO26IMxRT1aL1PoRinfhAQ
  115.           - name: STRIMZI_KRAFT_ENABLED
  116.             value: "true"
  117.           image: registry.redhat.io/amq-streams/kafka-35-rhel8@sha256:0bcdd55f01638f650ed69ebdf5f8a7291e103805b8cbb34013ced88e46e0678c
  118.           imagePullPolicy: IfNotPresent
  119.           livenessProbe:
  120.             exec:
  121.               command:
  122.              - /opt/kafka/kafka_liveness.sh
  123.             initialDelaySeconds: 15
  124.             timeoutSeconds: 5
  125.           name: kafka
  126.           ports:
  127.           - containerPort: 9090
  128.             name: tcp-ctrlplane
  129.             protocol: TCP
  130.           - containerPort: 9091
  131.             name: tcp-replication
  132.             protocol: TCP
  133.           - containerPort: 9092
  134.             name: tcp-clients
  135.             protocol: TCP
  136.           - containerPort: 9093
  137.             name: tcp-clientstls
  138.             protocol: TCP
  139.           readinessProbe:
  140.             exec:
  141.               command:
  142.              - /opt/kafka/kafka_readiness.sh
  143.             initialDelaySeconds: 15
  144.             timeoutSeconds: 5
  145.           volumeMounts:
  146.           - mountPath: /var/lib/kafka/data
  147.             name: data
  148.           - mountPath: /tmp
  149.             name: strimzi-tmp
  150.           - mountPath: /opt/kafka/cluster-ca-certs
  151.             name: cluster-ca
  152.           - mountPath: /opt/kafka/broker-certs
  153.             name: broker-certs
  154.           - mountPath: /opt/kafka/client-ca-certs
  155.             name: client-ca-cert
  156.           - mountPath: /opt/kafka/custom-config/
  157.             name: kafka-metrics-and-logging
  158.           - mountPath: /var/opt/kafka
  159.             name: ready-files
  160.         hostname: edge-dual-role-0
  161.         restartPolicy: Always
  162.         schedulerName: default-scheduler
  163.         serviceAccountName: edge-kafka
  164.         subdomain: edge-kafka-brokers
  165.         terminationGracePeriodSeconds: 30
  166.         volumes:
  167.         - name: data
  168.           persistentVolumeClaim:
  169.             claimName: data-edge-dual-role-0
  170.         - emptyDir:
  171.             medium: Memory
  172.             sizeLimit: 5Mi
  173.           name: strimzi-tmp
  174.         - name: cluster-ca
  175.           secret:
  176.             defaultMode: 288
  177.             secretName: edge-cluster-ca-cert
  178.         - name: broker-certs
  179.           secret:
  180.             defaultMode: 288
  181.             secretName: edge-kafka-brokers
  182.         - name: client-ca-cert
  183.           secret:
  184.             defaultMode: 288
  185.             secretName: edge-clients-ca-cert
  186.         - configMap:
  187.             name: edge-dual-role-0
  188.           name: kafka-metrics-and-logging
  189.         - emptyDir:
  190.             medium: Memory
  191.             sizeLimit: 1Ki
  192.           name: ready-files
  193.     - apiVersion: v1
  194.       kind: Pod
  195.       metadata:
  196.         annotations:
  197.           strimzi.io/broker-configuration-hash: c173cdf0
  198.           strimzi.io/clients-ca-cert-generation: "0"
  199.           strimzi.io/cluster-ca-cert-generation: "0"
  200.           strimzi.io/cluster-ca-key-generation: "0"
  201.           strimzi.io/inter-broker-protocol-version: "3.5"
  202.           strimzi.io/kafka-version: 3.5.0
  203.           strimzi.io/log-message-format-version: "3.5"
  204.           strimzi.io/logging-appenders-hash: e893ac9f
  205.           strimzi.io/revision: "780857e1"
  206.           strimzi.io/server-cert-hash: 4abc54b28defb2086fb2a716380ca233ecaa4ad9
  207.         labels:
  208.           app.kubernetes.io/instance: edge
  209.           app.kubernetes.io/managed-by: strimzi-cluster-operator
  210.           app.kubernetes.io/name: kafka
  211.           app.kubernetes.io/part-of: strimzi-edge
  212.           com.company: Red_Hat
  213.           rht.comp: AMQ_Streams
  214.           rht.comp_ver: "2.5"
  215.           rht.prod_name: Red_Hat_Application_Foundations
  216.           rht.prod_ver: 2023.Q3
  217.           rht.subcomp: kafka-broker
  218.           rht.subcomp_t: application
  219.           statefulset.kubernetes.io/pod-name: edge-dual-role-1
  220.           strimzi.io/broker-role: "true"
  221.           strimzi.io/cluster: edge
  222.           strimzi.io/component-type: kafka
  223.           strimzi.io/controller: strimzipodset
  224.           strimzi.io/controller-name: edge-dual-role
  225.           strimzi.io/controller-role: "true"
  226.           strimzi.io/kind: Kafka
  227.           strimzi.io/name: edge-kafka
  228.           strimzi.io/pod-name: edge-dual-role-1
  229.           strimzi.io/pool-name: dual-role
  230.         name: edge-dual-role-1
  231.         namespace: edge
  232.       spec:
  233.         affinity: {}
  234.         containers:
  235.         - args:
  236.          - /opt/kafka/kafka_run.sh
  237.           env:
  238.           - name: KAFKA_METRICS_ENABLED
  239.             value: "false"
  240.           - name: STRIMZI_KAFKA_GC_LOG_ENABLED
  241.             value: "false"
  242.           - name: KAFKA_HEAP_OPTS
  243.             value: -Xms128M
  244.           - name: STRIMZI_CLUSTER_ID
  245.             value: jO26IMxRT1aL1PoRinfhAQ
  246.           - name: STRIMZI_KRAFT_ENABLED
  247.             value: "true"
  248.           image: registry.redhat.io/amq-streams/kafka-35-rhel8@sha256:0bcdd55f01638f650ed69ebdf5f8a7291e103805b8cbb34013ced88e46e0678c
  249.           imagePullPolicy: IfNotPresent
  250.           livenessProbe:
  251.             exec:
  252.               command:
  253.              - /opt/kafka/kafka_liveness.sh
  254.             initialDelaySeconds: 15
  255.             timeoutSeconds: 5
  256.           name: kafka
  257.           ports:
  258.           - containerPort: 9090
  259.             name: tcp-ctrlplane
  260.             protocol: TCP
  261.           - containerPort: 9091
  262.             name: tcp-replication
  263.             protocol: TCP
  264.           - containerPort: 9092
  265.             name: tcp-clients
  266.             protocol: TCP
  267.           - containerPort: 9093
  268.             name: tcp-clientstls
  269.             protocol: TCP
  270.           readinessProbe:
  271.             exec:
  272.               command:
  273.              - /opt/kafka/kafka_readiness.sh
  274.             initialDelaySeconds: 15
  275.             timeoutSeconds: 5
  276.           volumeMounts:
  277.           - mountPath: /var/lib/kafka/data
  278.             name: data
  279.           - mountPath: /tmp
  280.             name: strimzi-tmp
  281.           - mountPath: /opt/kafka/cluster-ca-certs
  282.             name: cluster-ca
  283.           - mountPath: /opt/kafka/broker-certs
  284.             name: broker-certs
  285.           - mountPath: /opt/kafka/client-ca-certs
  286.             name: client-ca-cert
  287.           - mountPath: /opt/kafka/custom-config/
  288.             name: kafka-metrics-and-logging
  289.           - mountPath: /var/opt/kafka
  290.             name: ready-files
  291.         hostname: edge-dual-role-1
  292.         restartPolicy: Always
  293.         schedulerName: default-scheduler
  294.         serviceAccountName: edge-kafka
  295.         subdomain: edge-kafka-brokers
  296.         terminationGracePeriodSeconds: 30
  297.         volumes:
  298.         - name: data
  299.           persistentVolumeClaim:
  300.             claimName: data-edge-dual-role-1
  301.         - emptyDir:
  302.             medium: Memory
  303.             sizeLimit: 5Mi
  304.           name: strimzi-tmp
  305.         - name: cluster-ca
  306.           secret:
  307.             defaultMode: 288
  308.             secretName: edge-cluster-ca-cert
  309.         - name: broker-certs
  310.           secret:
  311.             defaultMode: 288
  312.             secretName: edge-kafka-brokers
  313.         - name: client-ca-cert
  314.           secret:
  315.             defaultMode: 288
  316.             secretName: edge-clients-ca-cert
  317.         - configMap:
  318.             name: edge-dual-role-1
  319.           name: kafka-metrics-and-logging
  320.         - emptyDir:
  321.             medium: Memory
  322.             sizeLimit: 1Ki
  323.           name: ready-files
  324.     - apiVersion: v1
  325.       kind: Pod
  326.       metadata:
  327.         annotations:
  328.           strimzi.io/broker-configuration-hash: 845a83b3
  329.           strimzi.io/clients-ca-cert-generation: "0"
  330.           strimzi.io/cluster-ca-cert-generation: "0"
  331.           strimzi.io/cluster-ca-key-generation: "0"
  332.           strimzi.io/inter-broker-protocol-version: "3.5"
  333.           strimzi.io/kafka-version: 3.5.0
  334.           strimzi.io/log-message-format-version: "3.5"
  335.           strimzi.io/logging-appenders-hash: e893ac9f
  336.           strimzi.io/revision: 7cec9b37
  337.           strimzi.io/server-cert-hash: 981f2e70181cc7b4ffc00697365c18d7c68adb96
  338.         labels:
  339.           app.kubernetes.io/instance: edge
  340.           app.kubernetes.io/managed-by: strimzi-cluster-operator
  341.           app.kubernetes.io/name: kafka
  342.           app.kubernetes.io/part-of: strimzi-edge
  343.           com.company: Red_Hat
  344.           rht.comp: AMQ_Streams
  345.           rht.comp_ver: "2.5"
  346.           rht.prod_name: Red_Hat_Application_Foundations
  347.           rht.prod_ver: 2023.Q3
  348.           rht.subcomp: kafka-broker
  349.           rht.subcomp_t: application
  350.           statefulset.kubernetes.io/pod-name: edge-dual-role-2
  351.           strimzi.io/broker-role: "true"
  352.           strimzi.io/cluster: edge
  353.           strimzi.io/component-type: kafka
  354.           strimzi.io/controller: strimzipodset
  355.           strimzi.io/controller-name: edge-dual-role
  356.           strimzi.io/controller-role: "true"
  357.           strimzi.io/kind: Kafka
  358.           strimzi.io/name: edge-kafka
  359.           strimzi.io/pod-name: edge-dual-role-2
  360.           strimzi.io/pool-name: dual-role
  361.         name: edge-dual-role-2
  362.         namespace: edge
  363.       spec:
  364.         affinity: {}
  365.         containers:
  366.         - args:
  367.          - /opt/kafka/kafka_run.sh
  368.           env:
  369.           - name: KAFKA_METRICS_ENABLED
  370.             value: "false"
  371.           - name: STRIMZI_KAFKA_GC_LOG_ENABLED
  372.             value: "false"
  373.           - name: KAFKA_HEAP_OPTS
  374.             value: -Xms128M
  375.           - name: STRIMZI_CLUSTER_ID
  376.             value: jO26IMxRT1aL1PoRinfhAQ
  377.           - name: STRIMZI_KRAFT_ENABLED
  378.             value: "true"
  379.           image: registry.redhat.io/amq-streams/kafka-35-rhel8@sha256:0bcdd55f01638f650ed69ebdf5f8a7291e103805b8cbb34013ced88e46e0678c
  380.           imagePullPolicy: IfNotPresent
  381.           livenessProbe:
  382.             exec:
  383.               command:
  384.              - /opt/kafka/kafka_liveness.sh
  385.             initialDelaySeconds: 15
  386.             timeoutSeconds: 5
  387.           name: kafka
  388.           ports:
  389.           - containerPort: 9090
  390.             name: tcp-ctrlplane
  391.             protocol: TCP
  392.           - containerPort: 9091
  393.             name: tcp-replication
  394.             protocol: TCP
  395.           - containerPort: 9092
  396.             name: tcp-clients
  397.             protocol: TCP
  398.           - containerPort: 9093
  399.             name: tcp-clientstls
  400.             protocol: TCP
  401.           readinessProbe:
  402.             exec:
  403.               command:
  404.              - /opt/kafka/kafka_readiness.sh
  405.             initialDelaySeconds: 15
  406.             timeoutSeconds: 5
  407.           volumeMounts:
  408.           - mountPath: /var/lib/kafka/data
  409.             name: data
  410.           - mountPath: /tmp
  411.             name: strimzi-tmp
  412.           - mountPath: /opt/kafka/cluster-ca-certs
  413.             name: cluster-ca
  414.           - mountPath: /opt/kafka/broker-certs
  415.             name: broker-certs
  416.           - mountPath: /opt/kafka/client-ca-certs
  417.             name: client-ca-cert
  418.           - mountPath: /opt/kafka/custom-config/
  419.             name: kafka-metrics-and-logging
  420.           - mountPath: /var/opt/kafka
  421.             name: ready-files
  422.         hostname: edge-dual-role-2
  423.         restartPolicy: Always
  424.         schedulerName: default-scheduler
  425.         serviceAccountName: edge-kafka
  426.         subdomain: edge-kafka-brokers
  427.         terminationGracePeriodSeconds: 30
  428.         volumes:
  429.         - name: data
  430.           persistentVolumeClaim:
  431.             claimName: data-edge-dual-role-2
  432.         - emptyDir:
  433.             medium: Memory
  434.             sizeLimit: 5Mi
  435.           name: strimzi-tmp
  436.         - name: cluster-ca
  437.           secret:
  438.             defaultMode: 288
  439.             secretName: edge-cluster-ca-cert
  440.         - name: broker-certs
  441.           secret:
  442.             defaultMode: 288
  443.             secretName: edge-kafka-brokers
  444.         - name: client-ca-cert
  445.           secret:
  446.             defaultMode: 288
  447.             secretName: edge-clients-ca-cert
  448.         - configMap:
  449.             name: edge-dual-role-2
  450.           name: kafka-metrics-and-logging
  451.         - emptyDir:
  452.             medium: Memory
  453.             sizeLimit: 1Ki
  454.           name: ready-files
  455.     selector:
  456.       matchLabels:
  457.         strimzi.io/cluster: edge
  458.         strimzi.io/kind: Kafka
  459.         strimzi.io/name: edge-kafka
  460.         strimzi.io/pool-name: dual-role
  461.   status:
  462.     currentPods: 3
  463.     observedGeneration: 1
  464.     pods: 3
  465.     readyPods: 3
  466. kind: List
  467. metadata:
  468.   resourceVersion: ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement