Skip to content

Instantly share code, notes, and snippets.

View OchiengEd's full-sized avatar

Edmund Ochieng OchiengEd

  • Red Hat
  • Texas, USA
View GitHub Profile
$ kubectl -n operators logs -f strimzi-user-operator-5ffd465cc5-6hwz5
+ shift
+ . /opt/strimzi/bin/dynamic_resources.sh
++ get_heap_size
+++ cat /sys/fs/cgroup/memory/memory.limit_in_bytes
++ CONTAINER_MEMORY_IN_BYTES=268435456
++ DEFAULT_MEMORY_CEILING=32505856
++ '[' 268435456 -lt 32505856 ']'
+ MAX_HEAP=
+ '[' -n '' ']'
@OchiengEd
OchiengEd / strimzi-operator-logs.log
Created December 19, 2019 17:30
Strimzi operator logs
$ kubectl -n openshift-operators logs strimzi-operator-77cf59975d-clgsl
+ shift
+ . /opt/strimzi/bin/dynamic_resources.sh
++ get_heap_size
+++ cat /sys/fs/cgroup/memory/memory.limit_in_bytes
++ CONTAINER_MEMORY_IN_BYTES=268435456
++ DEFAULT_MEMORY_CEILING=32505856
++ '[' 268435456 -lt 32505856 ']'
+ MAX_HEAP=
+ '[' -n '' ']'
@OchiengEd
OchiengEd / Minio Operator CSV
Last active December 9, 2019 17:01
This gist contains minor changes to the example to allow it to render properly on operatorhub.io
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: minio-operator.v1.0.3
namespace: placeholder
annotations:
categories: 'Storage, Big Data, AI/Machine Learning'
certified: 'false'
description: ' MinIO Operator allows creating distributed MinIO Clusters and manage their lifecycle'
containerImage: 'minio/k8s-operator:1.0.3'