hexsha
stringlengths 40
40
| size
int64 24
1.05M
| ext
stringclasses 2
values | lang
stringclasses 1
value | max_stars_repo_path
stringlengths 5
269
| max_stars_repo_name
stringlengths 7
107
| max_stars_repo_head_hexsha
stringlengths 40
78
| max_stars_repo_licenses
sequence | max_stars_count
int64 1
84.9k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 5
269
| max_issues_repo_name
stringlengths 7
107
| max_issues_repo_head_hexsha
stringlengths 40
78
| max_issues_repo_licenses
sequence | max_issues_count
int64 1
116k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 5
269
| max_forks_repo_name
stringlengths 7
107
| max_forks_repo_head_hexsha
stringlengths 40
78
| max_forks_repo_licenses
sequence | max_forks_count
int64 1
55.9k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 24
1.05M
| avg_line_length
float64 1
304k
| max_line_length
int64 14
1.03M
| alphanum_fraction
float64 0
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7b7cf08cbccf908b4ab9fdc86b469ac0fbc4a2c | 231 | yaml | YAML | voting-app/postgres-service.yaml | jafcalvente/kubernetes-examples | 319c2a9dd1ffef76b1e9378469f134e04178aea6 | [
"MIT"
] | null | null | null | voting-app/postgres-service.yaml | jafcalvente/kubernetes-examples | 319c2a9dd1ffef76b1e9378469f134e04178aea6 | [
"MIT"
] | null | null | null | voting-app/postgres-service.yaml | jafcalvente/kubernetes-examples | 319c2a9dd1ffef76b1e9378469f134e04178aea6 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: db
labels:
name: postgres-service
app: demo-voting-app
spec:
ports:
- port: 5432
targetPort: 5432
selector:
name: postgres-pod
app: demo-voting-app
| 15.4 | 26 | 0.640693 |
f7b80300a5ea69e893bbde4bc3720374f280e50a | 2,544 | yaml | YAML | taming_coco_simple.yaml | sunshineatnoon/taming-transformers | 166f6370e1ee7d02c459f2432158fd0aacefd110 | [
"MIT"
] | null | null | null | taming_coco_simple.yaml | sunshineatnoon/taming-transformers | 166f6370e1ee7d02c459f2432158fd0aacefd110 | [
"MIT"
] | null | null | null | taming_coco_simple.yaml | sunshineatnoon/taming-transformers | 166f6370e1ee7d02c459f2432158fd0aacefd110 | [
"MIT"
] | null | null | null | apiVersion: batch/v1
kind: Job
metadata:
labels:
k8s-app: research
user: xueting
generateName: 06-09-taming-coco-simple
namespace: image-model
spec:
template:
spec:
restartPolicy: Never
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: gpu-type
operator: In
values: ["1080Ti", "2080Ti", "2080"]
- key: kubernetes.io/hostname
operator: NotIn
values:
- patternlab.calit2.optiputer.net
- k8s-gpu-03.sdsc.optiputer.net
containers:
- name: research
image: gitlab-registry.nautilus.optiputer.net/sunshineatnoon/image-model:latest
imagePullPolicy: Always
command:
- "sh"
- "-c"
args:
- "cd /workspace && git clone https://sunshineatnoon:49531218Lxt@github.com/sunshineatnoon/taming-transformers && cd taming-transformers && python main.py --base configs/custom_simple_vqgan.yaml -t True --gpus 0,1"
resources:
requests:
cpu: "10"
memory: "6Gi"
nvidia.com/gpu: "2"
ephemeral-storage: 20Gi
limits:
cpu: "24"
memory: "12Gi"
nvidia.com/gpu: "2"
ephemeral-storage: 30Gi
volumeMounts:
- mountPath: /mnt/source # the directory you can access your persistent storage in container
name: src
- mountPath: /dev/shm # Crucial for multi-gpu or multi processing jobs -> enlarge shared memory
name: dshm
- mountPath: /data
name: dst
initContainers:
- name: init-data
image: gitlab-registry.nautilus.optiputer.net/prp/gsutil
command: ["/bin/sh"] # replace this with your own job execution scripts
args: ["-c", "mkdir -p /mnt/dest/coco;
gsutil -m rsync -erCUP /mnt/source/coco /mnt/dest/coco;
gsutil -m rsync -erCUP /mnt/source/coco /mnt/dest/coco;
exit 0"]
volumeMounts:
- name: src
mountPath: /mnt/source
- name: dst
mountPath: /mnt/dest
nodeSelector:
nautilus.io/disktype: nvme
volumes:
- name: dst
emptyDir: {}
- name: src
persistentVolumeClaim:
claimName: image-model-pvc
- name: dshm
emptyDir:
medium: Memory | 33.473684 | 224 | 0.55739 |
f7b83176c499db47516277873f601ed0f6924b80 | 320 | yaml | YAML | deploy/kubernetes/podinfo-dep.yaml | shweta-vohra/GitOpsDemo | 7af577f9d9a4287042aadbd5d8192360bf139eac | [
"Apache-2.0"
] | null | null | null | deploy/kubernetes/podinfo-dep.yaml | shweta-vohra/GitOpsDemo | 7af577f9d9a4287042aadbd5d8192360bf139eac | [
"Apache-2.0"
] | null | null | null | deploy/kubernetes/podinfo-dep.yaml | shweta-vohra/GitOpsDemo | 7af577f9d9a4287042aadbd5d8192360bf139eac | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: podinfo
spec:
replicas: 3
selector:
matchLabels:
app: podinfo
template:
metadata:
labels:
app: podinfo
spec:
containers:
- name: podinfo
image: nginx:1.14.2
ports:
- containerPort: 3000
| 15.238095 | 29 | 0.575 |
f7b8b6e463fc4d694c09055cf04bbe9c295211b5 | 585 | yaml | YAML | ops/kubernetes/kustomize/overlays/local-setup/catarse-fdw-settings.yaml | mooneleaf/BundlePledge | 463f18d14e145feaa5ca8c9ba569e306f0fb7a2b | [
"MIT"
] | null | null | null | ops/kubernetes/kustomize/overlays/local-setup/catarse-fdw-settings.yaml | mooneleaf/BundlePledge | 463f18d14e145feaa5ca8c9ba569e306f0fb7a2b | [
"MIT"
] | 9 | 2020-06-15T18:34:45.000Z | 2022-03-31T01:20:07.000Z | ops/kubernetes/kustomize/overlays/local-setup/catarse-fdw-settings.yaml | mooneleaf/BundlePledge | 463f18d14e145feaa5ca8c9ba569e306f0fb7a2b | [
"MIT"
] | null | null | null | apiVersion: batch/v1
kind: Job
metadata:
name: fdw-settings
spec:
template:
spec:
containers:
- name: fdw-settings
env:
- name: DATABASE_URL
value: postgres://catarse:example@catarse-db:5432/catarse_db
- name: RAILS_ENV
value: development
- name: REDIS_URL
value: redis://catarse-redis:6379
image: catarse-deploy/catarse
command:
- bundle
- exec
- rake
- common:generate_fdw
restartPolicy: OnFailure
| 23.4 | 74 | 0.531624 |
f7b8de9d26cfd635f95fc5b05e2e62de99e2cdb5 | 135 | yaml | YAML | endpoints.yaml | reyhankim/user-auth-k8s | f475d71f5d083218d099436c83b526b9d1721ef3 | [
"MIT"
] | null | null | null | endpoints.yaml | reyhankim/user-auth-k8s | f475d71f5d083218d099436c83b526b9d1721ef3 | [
"MIT"
] | null | null | null | endpoints.yaml | reyhankim/user-auth-k8s | f475d71f5d083218d099436c83b526b9d1721ef3 | [
"MIT"
] | null | null | null | kind: Endpoints
apiVersion: v1
metadata:
name: mongo
subsets:
- addresses:
- ip: 52.76.150.53
ports:
- port: 27017
| 13.5 | 24 | 0.614815 |
f7b90f5f470cf89f6ee8d2fbd4975d931fcc5b7e | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation1708.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation1708.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation1708.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-1708
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f7b92b7a6bb67d97315ef165fd5b9b286ab5930a | 1,576 | yaml | YAML | prow/cluster/components/horologium_deployment.yaml | grego952/test-infra | dec96202b083044ceda82ef178f3b98f07daccb0 | [
"Apache-2.0"
] | null | null | null | prow/cluster/components/horologium_deployment.yaml | grego952/test-infra | dec96202b083044ceda82ef178f3b98f07daccb0 | [
"Apache-2.0"
] | 7 | 2022-03-29T06:03:30.000Z | 2022-03-31T02:35:58.000Z | prow/cluster/components/horologium_deployment.yaml | grego952/test-infra | dec96202b083044ceda82ef178f3b98f07daccb0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: horologium
labels:
app: horologium
spec:
replicas: 1 # Do not scale up.
strategy:
type: Recreate
selector:
matchLabels:
app: horologium
template:
metadata:
labels:
app: horologium
spec:
serviceAccountName: horologium
terminationGracePeriodSeconds: 30
containers:
- name: horologium
image: gcr.io/k8s-prow/horologium:v20220323-9b8611d021
args:
- --config-path=/etc/config/config.yaml
- --job-config-path=/etc/job-config
- --dry-run=false
volumeMounts:
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
volumes:
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config
| 27.649123 | 74 | 0.65736 |
f7b986c198ec7a00398eb187211ccaef2324a0dc | 1,271 | yaml | YAML | app/app-deployment.yaml | WangDaLei/Kubernetes-Deployment | d2864aa7d7e9c5b15327d8bc46aaeedba6037eec | [
"MIT"
] | null | null | null | app/app-deployment.yaml | WangDaLei/Kubernetes-Deployment | d2864aa7d7e9c5b15327d8bc46aaeedba6037eec | [
"MIT"
] | null | null | null | app/app-deployment.yaml | WangDaLei/Kubernetes-Deployment | d2864aa7d7e9c5b15327d8bc46aaeedba6037eec | [
"MIT"
] | null | null | null | apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: app
labels:
app: python
spec:
selector:
matchLabels:
app: python
tier: app
replicas: 1
template:
metadata:
labels:
app: python
tier: app
spec:
containers:
- name: python
image: registry.cn-hangzhou.aliyuncs.com/dal/python:v1.0
resources:
requests:
cpu: 100m
memory: 100Mi
env:
- name: GET_HOSTS_FROM
value: dns
# Using `GET_HOSTS_FROM=dns` requires your cluster to
# provide a dns service. As of Kubernetes 1.3, DNS is a built-in
# service launched automatically. However, if the cluster you are using
# does not have a built-in DNS service, you can instead
# access an environment variable to find the master
# service's host. To do so, comment out the 'value: dns' line above, and
# uncomment the line below:
# value: env
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mysecret
key: key
ports:
- containerPort: 80
| 28.886364 | 83 | 0.557042 |
f7b9d4c3241c045297b608eb304b7147d01960f0 | 101 | yaml | YAML | config/rbac/apiserver/service_account.yaml | nxt-engineering/control-api | 0cb82e49c53276ed470cf28dbdfa9b9e5d913e45 | [
"Apache-2.0"
] | null | null | null | config/rbac/apiserver/service_account.yaml | nxt-engineering/control-api | 0cb82e49c53276ed470cf28dbdfa9b9e5d913e45 | [
"Apache-2.0"
] | 14 | 2021-12-06T19:04:29.000Z | 2022-03-30T11:50:09.000Z | config/rbac/apiserver/service_account.yaml | nxt-engineering/control-api | 0cb82e49c53276ed470cf28dbdfa9b9e5d913e45 | [
"Apache-2.0"
] | 1 | 2022-03-31T11:09:38.000Z | 2022-03-31T11:09:38.000Z | apiVersion: v1
kind: ServiceAccount
metadata:
name: control-api-apiserver
namespace: control-api
| 16.833333 | 29 | 0.792079 |
f7b9da1ec4d00542e45644f100097d40c57f500e | 1,724 | yaml | YAML | quarkus/product/argocd/kustomize/service/base/deployment.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 7 | 2018-05-15T06:51:36.000Z | 2021-01-09T08:49:08.000Z | quarkus/product/argocd/kustomize/service/base/deployment.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 12 | 2020-07-04T17:17:54.000Z | 2022-02-26T14:47:59.000Z | quarkus/product/argocd/kustomize/service/base/deployment.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 6 | 2019-01-24T19:49:57.000Z | 2020-12-29T09:32:04.000Z | kind: Deployment
apiVersion: apps/v1
metadata:
name: deployment
spec:
replicas: 0
selector:
matchLabels:
service: service
template:
metadata:
labels:
service: service
spec:
serviceAccountName: service-sa
containers:
- name: container
image: image
env:
- name: SOME_VAR1
value: SOME_VAL1
readinessProbe:
failureThreshold: 5
httpGet:
path: /health/ready
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
livenessProbe:
failureThreshold: 3
httpGet:
path: /health/live
port: 8080
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
ports:
- containerPort: 8080
protocol: TCP
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600 | 26.121212 | 54 | 0.527262 |
f7b9fdb106a33fed3a335e80214317a150f2da11 | 616 | yml | YAML | app/kubernetes/redis-deploy.yml | mreider/eatk8s-app | 8b7ef75bae6950a76329981b07c537b7f08b0264 | [
"MIT"
] | 1 | 2021-01-08T13:17:25.000Z | 2021-01-08T13:17:25.000Z | app/kubernetes/redis-deploy.yml | mreider/eatk8s-app | 8b7ef75bae6950a76329981b07c537b7f08b0264 | [
"MIT"
] | null | null | null | app/kubernetes/redis-deploy.yml | mreider/eatk8s-app | 8b7ef75bae6950a76329981b07c537b7f08b0264 | [
"MIT"
] | null | null | null | apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
kind: Deployment
metadata:
name: redis
spec:
selector:
matchLabels:
app: redis
role: master
tier: backend
replicas: 1
template:
metadata:
labels:
app: redis
role: master
tier: backend
spec:
containers:
- name: master
image: docker.io/mreider/eatk8s-redis:latest # or just image: redis
resources:
requests:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 6379 | 22.814815 | 110 | 0.587662 |
f7ba00d24975b2648e355b0a10bef17a3ec67de2 | 185 | yml | YAML | infrastructure/openshift/setup/redis-test-pvc.yml | JobtechSwe/myskills-api | c5d0034a1a91899d779431f904ff0d216223759c | [
"Apache-2.0"
] | 4 | 2019-03-06T15:53:26.000Z | 2020-02-20T10:24:13.000Z | infrastructure/openshift/setup/redis-test-pvc.yml | JobtechSwe/myskills-api | c5d0034a1a91899d779431f904ff0d216223759c | [
"Apache-2.0"
] | 70 | 2019-03-07T10:51:33.000Z | 2021-09-20T23:05:47.000Z | infrastructure/openshift/setup/redis-test-pvc.yml | JobtechSwe/myskills-api | c5d0034a1a91899d779431f904ff0d216223759c | [
"Apache-2.0"
] | 1 | 2019-03-18T13:06:17.000Z | 2019-03-18T13:06:17.000Z | kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: redis-test-pvc
namespace: myskills
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
| 15.416667 | 27 | 0.718919 |
f7ba7018c9ffb2a2487d5e1098732010b0188def | 228 | yaml | YAML | tekton/02-git-secret.yaml | hbstarjason2021/pipeline-craft | 15d0d1fd5fa52eb318c4c0e5a553f04185f0f125 | [
"Apache-2.0"
] | null | null | null | tekton/02-git-secret.yaml | hbstarjason2021/pipeline-craft | 15d0d1fd5fa52eb318c4c0e5a553f04185f0f125 | [
"Apache-2.0"
] | null | null | null | tekton/02-git-secret.yaml | hbstarjason2021/pipeline-craft | 15d0d1fd5fa52eb318c4c0e5a553f04185f0f125 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: git-secret
#namespace: tekton-pipelines
annotations:
tekton.dev/git-0: http://github.com
type: kubernetes.io/basic-auth
stringData:
username: username
password: "XXXXXX"
| 19 | 39 | 0.741228 |
f7bbb08d515759e1f893c8555f519aa403850870 | 287 | yaml | YAML | portworx/restore-redis.yaml | todaywasawesome/example-voting-app | fdac04e0aead9159408a74dca7815c419daa4d26 | [
"Apache-2.0"
] | 3 | 2018-04-25T02:06:42.000Z | 2019-03-18T09:41:37.000Z | portworx/restore-redis.yaml | todaywasawesome/example-voting-app | fdac04e0aead9159408a74dca7815c419daa4d26 | [
"Apache-2.0"
] | 1 | 2018-04-21T07:49:23.000Z | 2018-04-21T07:49:23.000Z | portworx/restore-redis.yaml | todaywasawesome/example-voting-app | fdac04e0aead9159408a74dca7815c419daa4d26 | [
"Apache-2.0"
] | 11 | 2018-04-24T20:08:13.000Z | 2019-12-09T04:12:15.000Z | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: staging-voting-app-redis
annotations:
snapshot.alpha.kubernetes.io/snapshot: voting-redis-snap
spec:
accessModes:
- ReadWriteOnce
storageClassName: stork-snapshot-sc
resources:
requests:
storage: 8Gi | 22.076923 | 60 | 0.749129 |
f7bcc244328c4013b3a44ac83a2df799a867082c | 3,508 | yaml | YAML | tests/tracing/static/collection-monitoring-false.output.yaml | anphn-mtt/sumologic-kubernetes-collection | 823763a5835d4a6367c3b7303696bd84a8025273 | [
"Apache-2.0"
] | null | null | null | tests/tracing/static/collection-monitoring-false.output.yaml | anphn-mtt/sumologic-kubernetes-collection | 823763a5835d4a6367c3b7303696bd84a8025273 | [
"Apache-2.0"
] | null | null | null | tests/tracing/static/collection-monitoring-false.output.yaml | anphn-mtt/sumologic-kubernetes-collection | 823763a5835d4a6367c3b7303696bd84a8025273 | [
"Apache-2.0"
] | null | null | null | ---
# Source: sumologic/templates/traces/otelcol/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: RELEASE-NAME-sumologic-otelcol
labels:
app: RELEASE-NAME-sumologic-fluentd-metrics
chart: "sumologic-%CURRENT_CHART_VERSION%"
release: "RELEASE-NAME"
heritage: "Helm"
data:
traces.otelcol.conf.yaml: |
exporters:
otlphttp:
compression: gzip
traces_endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
zipkin:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
extensions:
health_check: {}
processors:
batch:
send_batch_max_size: 512
send_batch_size: 256
timeout: 5s
cascading_filter:
decision_wait: 30s
expected_new_traces_per_sec: 100
num_traces: 90000
policies:
- name: extended-duration
properties:
min_duration: 5s
spans_per_second: 500
- name: everything-else
spans_per_second: -1
probabilistic_filtering_ratio: 0.2
spans_per_second: 1660
k8s_tagger:
extract:
annotations:
- key: '*'
tag_name: k8s.pod.annotation.%s
labels:
- key: '*'
tag_name: k8s.pod.label.%s
metadata:
- containerId
- containerName
- clusterName
- daemonSetName
- deploymentName
- hostName
- namespace
- nodeName
- podId
- podName
- replicaSetName
- serviceName
- statefulSetName
namespace_labels:
- key: '*'
tag_name: k8s.namespace.label.%s
owner_lookup_enabled: true
passthrough: false
memory_limiter:
check_interval: 5s
limit_mib: 1900
resource:
attributes:
- action: upsert
key: k8s.cluster.name
value: kubernetes
source:
annotation_prefix: k8s.pod.annotation.
collector: "kubernetes"
container_key: k8s.container.name
exclude_container_regex: ""
exclude_host_regex: ""
exclude_namespace_regex: "sumologic|foo"
exclude_pod_regex: ""
namespace_key: k8s.namespace.name
pod_key: k8s.pod.name
pod_name_key: k8s.pod.pod_name
pod_template_hash_key: k8s.pod.label.pod-template-hash
source_category: "%{namespace}/%{pod_name}"
source_category_prefix: "kubernetes/"
source_category_replace_dash: "/"
source_host_key: k8s.pod.hostname
source_name: "%{namespace}.%{pod}.%{container}"
receivers:
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_binary:
endpoint: 0.0.0.0:6832
thrift_compact:
endpoint: 0.0.0.0:6831
thrift_http:
endpoint: 0.0.0.0:14268
opencensus:
endpoint: 0.0.0.0:55678
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:55681
zipkin:
endpoint: 0.0.0.0:9411
service:
extensions:
- health_check
pipelines:
traces:
exporters:
- otlphttp
processors:
- memory_limiter
- k8s_tagger
- source
- resource
- batch
receivers:
- jaeger
- opencensus
- otlp
- zipkin
| 26.575758 | 63 | 0.557583 |
f7bcfa4e0546d7553370bf7df7795184272fe658 | 379 | yaml | YAML | hack/kind/antrea/cyclonus-job.yaml | johnSchnake/cyclonus | b721ad67ad449e2ca2d9f49703fbfa0f504b2d89 | [
"MIT"
] | null | null | null | hack/kind/antrea/cyclonus-job.yaml | johnSchnake/cyclonus | b721ad67ad449e2ca2d9f49703fbfa0f504b2d89 | [
"MIT"
] | null | null | null | hack/kind/antrea/cyclonus-job.yaml | johnSchnake/cyclonus | b721ad67ad449e2ca2d9f49703fbfa0f504b2d89 | [
"MIT"
] | null | null | null | apiVersion: batch/v1
kind: Job
metadata:
name: cyclonus
spec:
template:
spec:
restartPolicy: Never
containers:
- command:
- ./cyclonus
- generate
- --server-protocol=tcp,udp
name: cyclonus
imagePullPolicy: IfNotPresent
image: mfenwick100/cyclonus:latest
serviceAccount: cyclonus
| 21.055556 | 44 | 0.585752 |
f7bd12db33bb2f059fce66b63667411d814feb41 | 3,481 | yaml | YAML | config-root/namespaces/jx/lighthouse/lighthouse-webhooks-deploy.yaml | bussrrajeshnayak/bussr-jx3-gke-gsm | 81375390e985b4ce5dedd57bd2b3e5b9039aeb48 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-webhooks-deploy.yaml | bussrrajeshnayak/bussr-jx3-gke-gsm | 81375390e985b4ce5dedd57bd2b3e5b9039aeb48 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-webhooks-deploy.yaml | bussrrajeshnayak/bussr-jx3-gke-gsm | 81375390e985b4ce5dedd57bd2b3e5b9039aeb48 | [
"Apache-2.0"
] | null | null | null | # Source: lighthouse/templates/webhooks-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: lighthouse-webhooks
labels:
chart: "lighthouse-1.3.0"
app: lighthouse-webhooks
git.jenkins-x.io/sha: annotate
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
checksum/config: 1cfb0afb7b5cb9aa219544875fa8c047c7257c0524a31d34dd48874589d98792
meta.helm.sh/release-name: 'lighthouse'
wave.pusher.com/update-on-config-change: 'true'
namespace: jx
spec:
replicas: 1
selector:
matchLabels:
app: lighthouse-webhooks
template:
metadata:
labels:
app: lighthouse-webhooks
annotations:
prometheus.io/port: "2112"
prometheus.io/scrape: "true"
jenkins-x.io/hash: 'beaad4cded88f5572b6a079082f39d0b00e7b0fc527a18ceb52857330f6d746a'
spec:
serviceAccountName: lighthouse-webhooks
containers:
- name: lighthouse-webhooks
image: ghcr.io/jenkins-x/lighthouse-webhooks:1.3.0
imagePullPolicy: IfNotPresent
args:
- "--namespace=jx"
env:
- name: "GIT_KIND"
value: "github"
- name: "LH_CUSTOM_TRIGGER_COMMAND"
value: "jx"
- name: "GIT_SERVER"
value: "https://github.com"
- name: "GIT_USER"
value: bussrrajeshnayak
- name: "GIT_TOKEN"
valueFrom:
secretKeyRef:
name: lighthouse-oauth-token
key: oauth
- name: "HMAC_TOKEN"
valueFrom:
secretKeyRef:
name: "lighthouse-hmac-token"
key: hmac
optional: false
- name: "JX_LOG_FORMAT"
value: "stackdriver"
- name: "LOGRUS_FORMAT"
value: "stackdriver"
- name: LOGRUS_SERVICE
value: "lighthouse"
- name: LOGRUS_SERVICE_VERSION
value: "1.3.0"
- name: LOGRUS_STACK_SKIP
value: ""
- name: DEFAULT_PIPELINE_RUN_SERVICE_ACCOUNT
value: "tekton-bot"
- name: DEFAULT_PIPELINE_RUN_TIMEOUT
value: "2h0m0s"
- name: FILE_BROWSER
value: "git"
- name: JX_DEFAULT_IMAGE
value: "ghcr.io/jenkins-x/builder-maven:2.1.149-768"
- name: LIGHTHOUSE_DASHBOARD_TEMPLATE
value: "namespaces/{{ .Namespace }}/pipelineruns/{{ .PipelineRun }}"
- name: LIGHTHOUSE_VERSIONSTREAM_JENKINS_X_JX3_PIPELINE_CATALOG
value: "60d2f020b3003672ecbc8c9abd2f3cf20344fee2"
envFrom:
- secretRef:
name: jx-boot-job-env-vars
optional: true
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /
port: 8080
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 100m
memory: 512Mi
requests:
cpu: 80m
memory: 128Mi
terminationGracePeriodSeconds: 180
| 32.231481 | 93 | 0.544097 |
f7bd3b2ae6c7c0712bf79be8dd5a60a19a01fad6 | 260 | yaml | YAML | src/tasks/admin/resource/memory-defaults-pod-3.yaml | diguage/kubernetes-notes | c357b3c6ba6cf4003a66427a18f6e035651f1a82 | [
"Apache-2.0"
] | 1 | 2019-10-16T09:26:14.000Z | 2019-10-16T09:26:14.000Z | src/tasks/admin/resource/memory-defaults-pod-3.yaml | diguage/kubernetes-notes | c357b3c6ba6cf4003a66427a18f6e035651f1a82 | [
"Apache-2.0"
] | 97 | 2019-09-24T03:38:16.000Z | 2022-02-27T08:03:10.000Z | src/tasks/admin/resource/memory-defaults-pod-3.yaml | diguage/kubernetes-notes | c357b3c6ba6cf4003a66427a18f6e035651f1a82 | [
"Apache-2.0"
] | 1 | 2019-10-14T14:55:08.000Z | 2019-10-14T14:55:08.000Z | apiVersion: v1
kind: Pod
metadata:
name: default-mem-demo-3
namespace: default-mem-example
spec:
containers:
- name: default-mem-demo-3-ctr
image: nginx
resources:
requests:
memory: 128Mi
| 20 | 38 | 0.561538 |
f7bd84e218b1a0221cb5c5ff8cc73c744a7d5ebd | 202 | yaml | YAML | k8s/x-ray/eks-xray-service.manifest.yaml | AA90416/aws-amazon-eks-ansible-example | 341b65b28f4fc27582147cbcbe64b91ad39d8ca4 | [
"MIT-0"
] | 30 | 2020-08-17T21:14:55.000Z | 2022-03-19T10:57:43.000Z | k8s/x-ray/eks-xray-service.manifest.yaml | AA90416/aws-amazon-eks-ansible-example | 341b65b28f4fc27582147cbcbe64b91ad39d8ca4 | [
"MIT-0"
] | 4 | 2021-01-22T00:18:56.000Z | 2021-02-26T08:12:01.000Z | k8s/x-ray/eks-xray-service.manifest.yaml | AA90416/aws-amazon-eks-ansible-example | 341b65b28f4fc27582147cbcbe64b91ad39d8ca4 | [
"MIT-0"
] | 27 | 2020-08-30T21:56:00.000Z | 2022-03-20T14:33:59.000Z | apiVersion: v1
kind: Service
metadata:
name: xray-service
namespace: kube-system
spec:
selector:
app: xray-daemon
clusterIP: None
ports:
- name: incoming
port: 2000
protocol: UDP | 15.538462 | 24 | 0.688119 |
f7bd931c99c8b3d506796f862af16757098a04a7 | 57 | yml | YAML | deploy/namespace.yml | UrbanCompass/OpenID-Connect-proxy | 803fa30ce43b610996c3495dc5092c79d3285c8c | [
"Apache-2.0"
] | null | null | null | deploy/namespace.yml | UrbanCompass/OpenID-Connect-proxy | 803fa30ce43b610996c3495dc5092c79d3285c8c | [
"Apache-2.0"
] | null | null | null | deploy/namespace.yml | UrbanCompass/OpenID-Connect-proxy | 803fa30ce43b610996c3495dc5092c79d3285c8c | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
name: openidc
| 11.4 | 15 | 0.77193 |
f7bda0be64f6fe2b1ab1acb5692b78ed59073fa8 | 105 | yaml | YAML | bindata/v3.11.0/etcd/ns.yaml | ravisantoshgudimetla/cluster-etcd-operator | d8d9da93fc7f2ccd082aea880d9112f13cf88dc0 | [
"Apache-2.0"
] | null | null | null | bindata/v3.11.0/etcd/ns.yaml | ravisantoshgudimetla/cluster-etcd-operator | d8d9da93fc7f2ccd082aea880d9112f13cf88dc0 | [
"Apache-2.0"
] | null | null | null | bindata/v3.11.0/etcd/ns.yaml | ravisantoshgudimetla/cluster-etcd-operator | d8d9da93fc7f2ccd082aea880d9112f13cf88dc0 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
name: openshift-etcd
labels:
openshift.io/run-level: "0" | 17.5 | 31 | 0.72381 |
f7bdd04cef9e96b98cd375f12f2cff7d9c1687b2 | 643 | yaml | YAML | tests/kfserving/kfserving-install/overlays/application/test_data/expected/rbac.authorization.k8s.io_v1_clusterrole_kubeflow-kfserving-admin.yaml | Klaven/manifests | b3f5b41780a01845619884e638f4f6c9183d8fef | [
"Apache-2.0"
] | 1 | 2020-07-29T10:00:13.000Z | 2020-07-29T10:00:13.000Z | tests/kfserving/kfserving-install/overlays/application/test_data/expected/rbac.authorization.k8s.io_v1_clusterrole_kubeflow-kfserving-admin.yaml | Klaven/manifests | b3f5b41780a01845619884e638f4f6c9183d8fef | [
"Apache-2.0"
] | 5 | 2020-04-14T16:34:34.000Z | 2020-08-04T23:49:54.000Z | tests/kfserving/kfserving-install/overlays/application/test_data/expected/rbac.authorization.k8s.io_v1_clusterrole_kubeflow-kfserving-admin.yaml | Klaven/manifests | b3f5b41780a01845619884e638f4f6c9183d8fef | [
"Apache-2.0"
] | 3 | 2020-03-31T15:40:32.000Z | 2020-12-12T18:26:55.000Z | aggregationRule:
clusterRoleSelectors:
- matchLabels:
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-kfserving-admin: "true"
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: kfserving-install
app.kubernetes.io/instance: kfserving-install-v0.7.0
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: kfserving-install
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v0.7.0
kustomize.component: kfserving
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-admin: "true"
name: kubeflow-kfserving-admin
rules: []
| 33.842105 | 83 | 0.762053 |
f7be4fa9f6856580404195e5413a1fd885f75594 | 9,829 | yaml | YAML | modules/460-log-shipper/crds/cluster-logging-config.yaml | p3rd/deckhouse | aad6bf45d58a2b981e0ec05f2cb093d9afb9ae56 | [
"Apache-2.0"
] | null | null | null | modules/460-log-shipper/crds/cluster-logging-config.yaml | p3rd/deckhouse | aad6bf45d58a2b981e0ec05f2cb093d9afb9ae56 | [
"Apache-2.0"
] | 41 | 2021-12-15T14:50:15.000Z | 2022-03-30T22:30:43.000Z | modules/460-log-shipper/crds/cluster-logging-config.yaml | aksemats/deckhouse | 253c812a76988948d721e8831d3757906a90cfa5 | [
"Apache-2.0"
] | null | null | null | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clusterloggingconfigs.deckhouse.io
labels:
heritage: deckhouse
module: log-shipper
spec:
group: deckhouse.io
scope: Cluster
names:
plural: clusterloggingconfigs
singular: clusterloggingconfig
kind: ClusterLoggingConfig
preserveUnknownFields: false
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
required: ["spec"]
description: |
CustomResource for source in log-pipeline.
Each CustomResource `ClusterLoggingConfig` describes rules for log fetching from cluster.
properties:
spec:
type: object
required:
- type
- destinationRefs
anyOf:
- oneOf:
- properties:
type:
enum: ["KubernetesPods"]
kubernetesPods: {}
required: ["kubernetesPods"]
- properties:
type:
enum: ["File"]
file: {}
required: ["file"]
properties:
type:
type: string
enum: ["KubernetesPods", "File"]
description: |
Set on of possible input sources.
`KubernetesPods` source reads logs from Kubernetes Pods.
`File` source reads local file from node filesystem.
kubernetesPods:
type: object
default: {}
properties:
namespaceSelector:
type: object
description: Specifies the Namespace selector to filter Pods with.
properties:
matchNames:
type: array
items:
type: string
labelSelector:
type: object
description: |
Specifies the label selector to filter Pods with.
You can get more into [here](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
anyOf:
- required:
- matchLabels
- required:
- matchExpressions
properties:
matchLabels:
type: object
description: List of labels which Pod should have.
example: { "foo": "bar", "baz": "whooo" }
additionalProperties:
type: string
matchExpressions:
type: array
description: List of label expressions for Pods.
example: |
```yaml
matchExpressions:
- key: tier
operator": In
values:
- production
- staging
```
items:
type: object
required:
- key
- operator
properties:
key:
type: string
operator:
type: string
enum:
- In
- NotIn
- Exists
- DoesNotExist
values:
type: array
items:
type: string
file:
type: object
properties:
include:
type: array
description: Array of file patterns to include.
example: ["/var/log/*.log", "/var/log/nginx/*.log"]
items:
type: string
exclude:
type: array
description: Array of file patterns to exclude.
example:
["/var/log/nginx/error.log", "/var/log/audit.log"]
items:
type: string
lineDelimiter:
type: string
description: String sequence used to separate one file line from another.
example: \r\n
logFilter:
type: array
description: |
List of filter for logs.
Only matched lines would be stored to log destination.
example: |
```yaml
logFilter:
- field: tier
operator: Exists
- field: tier
operator: In
values:
- production
- staging
- field: foo
operator: NotIn
values:
- dev
- 42
- "true"
- "3.14"
- field: bar
operator: Regex
values:
- ^abc
- ^\d.+$
```
items:
type: object
required:
- field
- operator
properties:
field:
description: Field name for filtering.
type: string
operator:
type: string
description: |
Operator for log field comparations:
* `In` operator find substring in string
* `NotIn` operator is negative version of `In` operator
* `Regex` operator is trying to match regexp over field, only log events with matching fields will pass
* `NotRegex` operator is negative version of `Regex` operator, log events without fields or with not matched fields will pass
* `Exists` operator drop log event if it contains some fields
* `DoesNotExist` operator drop log event if it does not contain some fields
enum:
- In
- NotIn
- Regex
- NotRegex
- Exists
- DoesNotExist
values:
type: array
description: |
Array of `ClusterLogDestination` CustomResource names which this source will output with.
Fields with float or boolean values will be converted to strings during comparation.
items:
x-kubernetes-int-or-string: true
anyOf:
- type: integer
- type: string
oneOf:
- properties:
operator:
enum: ["Exists", "DoesNotExist"]
values:
maxItems: 0
- properties:
operator:
enum: ["Regex", "NotRegex", "In", "NotIn"]
values:
minItems: 1
multilineParser:
type: object
description: Multiline parser for different patterns
required:
- type
properties:
type:
type: string
description: |
Parser types:
* None - Do not parse logs.
* General - Try to match general multiline logs with space or tabulation on extra lines.
* Backslash - Try to match bash style logs with backslash on all lines except last event line.
* LogWithTime - Try to detect events by timestamps.
* MultilineJSON - Try to match json logs by `{` as a first symbol.
enum:
- None
- General
- Backslash
- LogWithTime
- MultilineJSON
default: None
destinationRefs:
type: array
description: |
Array of `ClusterLogDestination` CustomResource names which this source will output with.
Fields with float or boolean values will be converted to string.
minItems: 1
items:
type: string
| 40.615702 | 151 | 0.376234 |
f7be762a171e8e52f5ec3881e66ab61022c97e8c | 96 | yaml | YAML | archive/cloudflare/001-namespace.yaml | an-nix/home-cluster | 0c489e80b710dc89c58d7c7d7238866995ee0ae4 | [
"Apache-2.0"
] | 18 | 2020-11-18T08:03:49.000Z | 2022-03-10T10:07:02.000Z | archive/cloudflare/001-namespace.yaml | an-nix/home-cluster | 0c489e80b710dc89c58d7c7d7238866995ee0ae4 | [
"Apache-2.0"
] | 1 | 2022-02-22T17:34:44.000Z | 2022-02-23T10:52:31.000Z | archive/cloudflare/001-namespace.yaml | an-nix/home-cluster | 0c489e80b710dc89c58d7c7d7238866995ee0ae4 | [
"Apache-2.0"
] | 3 | 2021-04-29T23:19:26.000Z | 2021-12-12T01:31:30.000Z | ---
apiVersion: v1
kind: Namespace
metadata:
name: cloudflare
labels:
name: cloudflare
| 10.666667 | 20 | 0.697917 |
f7be7962c72964957a99469a9b1a5f7a17330fac | 7,514 | yaml | YAML | config/300-awscognitouserpoolsource.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | config/300-awscognitouserpoolsource.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | config/300-awscognitouserpoolsource.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 TriggerMesh Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: awscognitouserpoolsources.sources.triggermesh.io
labels:
eventing.knative.dev/source: 'true'
duck.knative.dev/source: 'true'
knative.dev/crd-install: 'true'
triggermesh.io/crd-install: 'true'
annotations:
registry.knative.dev/eventTypes: |
[
{ "type": "com.amazon.cognitouserpool.sync_trigger" }
]
spec:
group: sources.triggermesh.io
scope: Namespaced
names:
kind: AWSCognitoUserPoolSource
plural: awscognitouserpoolsources
categories:
- all
- knative
- eventing
- sources
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
description: TriggerMesh event source for Amazon Cognito User Pool.
type: object
properties:
spec:
description: Desired state of the event source.
type: object
properties:
arn:
description: ARN of the Amazon Cognito User Pool to receive notifications from. The expected format is
documented at
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncognitouserpools.html#amazoncognitouserpools-resources-for-iam-policies
type: string
pattern: ^arn:aws(-cn|-us-gov)?:cognito-idp:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:userpool\/.+$
auth:
description: Authentication method to interact with the Amazon Cognito API.
type: object
properties:
credentials:
description: Security credentials authentication. For more information about AWS security
credentials, please refer to the AWS General Reference at
https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html.
type: object
properties:
accessKeyID:
description: Access key ID.
type: object
properties:
value:
description: Literal value of the access key ID.
type: string
valueFromSecret:
description: A reference to a Kubernetes Secret object containing the access key ID.
type: object
properties:
name:
type: string
key:
type: string
required:
- name
- key
oneOf:
- required: [value]
- required: [valueFromSecret]
secretAccessKey:
description: Secret access key.
type: object
properties:
value:
description: Literal value of the secret access key.
type: string
format: password
valueFromSecret:
description: A reference to a Kubernetes Secret object containing the secret access key.
type: object
properties:
name:
type: string
key:
type: string
required:
- name
- key
oneOf:
- required: [value]
- required: [valueFromSecret]
sink:
description: The destination of events sourced from the Amazon Cognito User Pool.
type: object
properties:
ref:
description: Reference to an addressable Kubernetes object to be used as the destination of events.
type: object
properties:
apiVersion:
type: string
kind:
type: string
namespace:
type: string
name:
type: string
required:
- apiVersion
- kind
- name
uri:
description: URI to use as the destination of events.
type: string
format: uri
oneOf:
- required: [ref]
- required: [uri]
required:
- arn
- sink
status:
description: Reported status of the event source.
type: object
properties:
sinkUri:
description: URI of the sink where events are currently sent to.
type: string
format: uri
ceAttributes:
type: array
items:
type: object
properties:
type:
type: string
source:
type: string
required:
- type
- source
observedGeneration:
type: integer
format: int64
conditions:
type: array
items:
type: object
properties:
type:
type: string
status:
type: string
enum: ['True', 'False', Unknown]
severity:
type: string
enum: [Error, Warning, Info]
reason:
type: string
message:
type: string
lastTransitionTime:
type: string
format: date-time
required:
- type
- status
additionalPrinterColumns:
- name: Ready
type: string
jsonPath: .status.conditions[?(@.type=='Ready')].status
- name: Reason
type: string
jsonPath: .status.conditions[?(@.type=='Ready')].reason
- name: Sink
type: string
jsonPath: .status.sinkUri
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
| 37.014778 | 167 | 0.460208 |
f7be8fa4e3a5338bbc1be2de7e8fa9e8e731d672 | 296 | yaml | YAML | test/e2e/ignorepaths/clusterRoleBinding.yaml | sparkoo/kube-rbac-proxy | 3a660daab72867c7e4ae36cad49f37fd20ee4400 | [
"Apache-2.0"
] | 359 | 2017-12-19T16:27:41.000Z | 2022-03-24T03:26:57.000Z | test/e2e/ignorepaths/clusterRoleBinding.yaml | sparkoo/kube-rbac-proxy | 3a660daab72867c7e4ae36cad49f37fd20ee4400 | [
"Apache-2.0"
] | 137 | 2018-01-11T14:49:12.000Z | 2022-03-31T18:24:57.000Z | test/e2e/ignorepaths/clusterRoleBinding.yaml | sparkoo/kube-rbac-proxy | 3a660daab72867c7e4ae36cad49f37fd20ee4400 | [
"Apache-2.0"
] | 90 | 2018-01-10T08:40:58.000Z | 2022-03-05T16:56:21.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kube-rbac-proxy
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: kube-rbac-proxy
subjects:
- kind: ServiceAccount
name: kube-rbac-proxy
namespace: default
| 21.142857 | 40 | 0.760135 |
f7bea952d5649924594afd86f3a26d5dd58e8aed | 201 | yaml | YAML | service.yaml | AkzharkynDM/helloworld-go-grpc-service | 839d32f7e3b96bd510be9521d94ac66c9e631325 | [
"MIT"
] | null | null | null | service.yaml | AkzharkynDM/helloworld-go-grpc-service | 839d32f7e3b96bd510be9521d94ac66c9e631325 | [
"MIT"
] | null | null | null | service.yaml | AkzharkynDM/helloworld-go-grpc-service | 839d32f7e3b96bd510be9521d94ac66c9e631325 | [
"MIT"
] | 1 | 2021-06-28T09:53:15.000Z | 2021-06-28T09:53:15.000Z | apiVersion: v1
kind: Service
metadata:
name: sample-grpc-server
spec:
type: NodePort
selector:
app: my-app
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8090
| 14.357143 | 26 | 0.631841 |
f7befe845d5ea0e50959c43b8e6fdeaf0af77502 | 593 | yaml | YAML | k8s/cronjob.yaml | SubhakarKotta/kubernetes-starterkit | 59ba7981706e05440156b90c19eb0905fde1ef9f | [
"MIT"
] | null | null | null | k8s/cronjob.yaml | SubhakarKotta/kubernetes-starterkit | 59ba7981706e05440156b90c19eb0905fde1ef9f | [
"MIT"
] | null | null | null | k8s/cronjob.yaml | SubhakarKotta/kubernetes-starterkit | 59ba7981706e05440156b90c19eb0905fde1ef9f | [
"MIT"
] | null | null | null | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: cronjob
namespace: kubernetes-starterkit
spec:
concurrencyPolicy: Forbid
jobTemplate:
spec:
template:
metadata:
labels:
app: cronjob
spec:
containers:
- name: cronjob
image: spotify/alpine:latest
imagePullPolicy: Always
command:
- curl
args:
- http://bootstorage-svc:5000/api/bootstorage/deletelru
restartPolicy: Never
schedule: '*/15 * * * *'
successfulJobsHistoryLimit: 3 | 23.72 | 67 | 0.573356 |
f7bf14f56e9c6f34521ff496c236bc9306788fe4 | 1,181 | yaml | YAML | pkg/cmd/helmfile/move/test_data/output/helmfile-b22978a4-jxboot-helmfile-resources/jxboot-helmfile-resources/charts/controllerrole/templates/deployment.yaml | hervelemeur/jx-gitops | d94636b20bc9fa52f9bcc6cf84e9f59d6a8e376e | [
"Apache-2.0"
] | null | null | null | pkg/cmd/helmfile/move/test_data/output/helmfile-b22978a4-jxboot-helmfile-resources/jxboot-helmfile-resources/charts/controllerrole/templates/deployment.yaml | hervelemeur/jx-gitops | d94636b20bc9fa52f9bcc6cf84e9f59d6a8e376e | [
"Apache-2.0"
] | null | null | null | pkg/cmd/helmfile/move/test_data/output/helmfile-b22978a4-jxboot-helmfile-resources/jxboot-helmfile-resources/charts/controllerrole/templates/deployment.yaml | hervelemeur/jx-gitops | d94636b20bc9fa52f9bcc6cf84e9f59d6a8e376e | [
"Apache-2.0"
] | null | null | null | ---
# Source: jxboot-helmfile-resources/charts/controllerrole/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: jxboot-helmfile-resources-controllerrole
labels:
app: controllerrole
chart: controllerrole-2.0.1143
release: jxboot-helmfile-resources
heritage: Helm
spec:
selector:
matchLabels:
app: controllerrole
release: jxboot-helmfile-resources
template:
metadata:
labels:
app: controllerrole
release: jxboot-helmfile-resources
spec:
restartPolicy: Always
serviceAccountName: jxboot-helmfile-resources-controllerrole
containers:
- name: controllerrole
command: [jx]
args:
- controller
- role
imagePullPolicy: IfNotPresent
image: "gcr.io/jenkinsxio-labs-private/jxl:0.0.208"
ports:
- name: http
containerPort: 80
protocol: TCP
env:
- name: JX_LOG_FORMAT
value: json
- name: JX_LOG_LEVEL
value: info
- name: PIPELINE_KIND
value: dummy
resources:
{}
| 25.673913 | 83 | 0.599492 |
f7bf5467a256c605023617d7ab232a03a59cd845 | 556 | yml | YAML | configmaps/configmap-from-volume.yml | mlowe9999/k8s-bootcamp | 4f9141a990f65186388cf67e2f6317cc27318688 | [
"BSD-3-Clause"
] | 24 | 2018-02-21T17:39:49.000Z | 2021-09-17T05:36:14.000Z | configmaps/configmap-from-volume.yml | mlowe9999/k8s-bootcamp | 4f9141a990f65186388cf67e2f6317cc27318688 | [
"BSD-3-Clause"
] | 2 | 2018-10-04T13:35:56.000Z | 2018-10-08T14:02:07.000Z | configmaps/configmap-from-volume.yml | mlowe9999/k8s-bootcamp | 4f9141a990f65186388cf67e2f6317cc27318688 | [
"BSD-3-Clause"
] | 29 | 2018-02-13T17:30:59.000Z | 2022-02-11T13:05:06.000Z | # 1) Deploy the configmap and this manifest
#
# kubectl create -f app-properties.yml
# kubectl create -f configmap-from-volume.yml
#
# 2) Exec into the pod
#
# kubectl exec -ti cm-volume -- sh
#
# 3) In the shell:
#
# cat /mnt/config/LOG_LEVEL
#
apiVersion: v1
kind: Pod
metadata:
name: cm-volume
spec:
containers:
- name: nginx
image: nginx
volumeMounts:
- name: config
mountPath: /mnt/config
#here we define a volume named config whose source is a configMap
volumes:
- name: config
configMap:
name: app-properties | 18.533333 | 67 | 0.679856 |
f7bf5a0b06b8c9c396cf5e09f2cbb46f1076314f | 584 | yaml | YAML | kubernetes-networks/dashboard/dashboard-ingress.yaml | otus-kuber-2021-06/DmitryMCN_platform | 550fd6cb786298c73c6717d972d7e28ef642178d | [
"MIT"
] | null | null | null | kubernetes-networks/dashboard/dashboard-ingress.yaml | otus-kuber-2021-06/DmitryMCN_platform | 550fd6cb786298c73c6717d972d7e28ef642178d | [
"MIT"
] | 8 | 2021-07-07T06:41:30.000Z | 2021-10-06T17:57:13.000Z | kubernetes-networks/dashboard/dashboard-ingress.yaml | otus-kuber-2021-06/DmitryMCN_platform | 550fd6cb786298c73c6717d972d7e28ef642178d | [
"MIT"
] | 2 | 2021-07-02T12:21:53.000Z | 2022-02-03T06:50:09.000Z | apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kubernetes-dashboard
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- http:
paths:
- path: /dashboard/(.*)
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 443
| 26.545455 | 57 | 0.609589 |
f7bf5c68d1cd78486d670d05220219ad339a3b3c | 1,146 | yaml | YAML | deploy/k8s/base/community/deployment.yaml | jay-nanduri/crAPI | 082c3effd4171e077d2dd61786faf9e3f95a072f | [
"Apache-2.0",
"0BSD"
] | 89 | 2021-02-09T16:30:26.000Z | 2022-03-27T17:14:18.000Z | deploy/k8s/base/community/deployment.yaml | jay-nanduri/crAPI | 082c3effd4171e077d2dd61786faf9e3f95a072f | [
"Apache-2.0",
"0BSD"
] | 12 | 2021-02-23T12:34:56.000Z | 2022-03-12T07:54:47.000Z | deploy/k8s/base/community/deployment.yaml | jay-nanduri/crAPI | 082c3effd4171e077d2dd61786faf9e3f95a072f | [
"Apache-2.0",
"0BSD"
] | 38 | 2021-02-10T07:11:00.000Z | 2022-03-28T13:58:58.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: crapi-community
spec:
replicas: 1
selector:
matchLabels:
app: crapi-community
template:
metadata:
labels:
app: crapi-community
spec:
initContainers:
- name: wait-for-postgres
image: groundnuty/k8s-wait-for:v1.3
imagePullPolicy: Always
args:
- "service"
- "postgresdb"
- name: wait-for-mongo
image: groundnuty/k8s-wait-for:v1.3
imagePullPolicy: Always
args:
- "service"
- "mongodb"
- name: wait-for-java
image: groundnuty/k8s-wait-for:v1.3
imagePullPolicy: Always
args:
- "service"
- "crapi-identity"
containers:
- name: crapi-community
image: crapi/crapi-community:v1
imagePullPolicy: Always
ports:
- containerPort: 8087
envFrom:
- configMapRef:
name: crapi-community-configmap
resources:
limits:
cpu: "500m"
requests:
cpu: 256m
| 23.875 | 47 | 0.525305 |
f7bf695d861673f406294ba075be2cda4e1c30d3 | 101 | yaml | YAML | bookinfo-chart/templates/ratings-service-account.yaml | CodyKurtz/istio-demo | 69923fd4427bff611ccdaaa64bdc925e2056d031 | [
"Apache-2.0"
] | null | null | null | bookinfo-chart/templates/ratings-service-account.yaml | CodyKurtz/istio-demo | 69923fd4427bff611ccdaaa64bdc925e2056d031 | [
"Apache-2.0"
] | null | null | null | bookinfo-chart/templates/ratings-service-account.yaml | CodyKurtz/istio-demo | 69923fd4427bff611ccdaaa64bdc925e2056d031 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: ServiceAccount
metadata:
name: bookinfo-ratings
labels:
account: ratings | 16.833333 | 24 | 0.762376 |
f7bf7bff229b6f5b91cb182b9683d43fe8e190b3 | 1,567 | yaml | YAML | package-examples/helloworld-set/deploy.yaml | zchee/kpt | a3a7bbe6fe809b84726ead70d86ff6fdef4ac8b3 | [
"Apache-2.0"
] | 1 | 2020-02-17T07:40:23.000Z | 2020-02-17T07:40:23.000Z | package-examples/helloworld-set/deploy.yaml | viglesiasce/kpt | a3a7bbe6fe809b84726ead70d86ff6fdef4ac8b3 | [
"Apache-2.0"
] | null | null | null | package-examples/helloworld-set/deploy.yaml | viglesiasce/kpt | a3a7bbe6fe809b84726ead70d86ff6fdef4ac8b3 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file configures the hello-world app which serves public web traffic.
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloworld-gke
labels:
app: hello
spec:
replicas: 5 # {"description":"helloworld replicas","type":"integer","x-kustomize":{"setter":{"name":"replicas","value":"5"}}}
selector:
matchLabels:
app: hello
template:
metadata:
labels:
app: hello
spec:
containers:
- name: helloworld-gke
image: gcr.io/kpt-dev/helloworld-gke:0.1.0 # {"description":"hello-world image tag","type":"string","x-kustomize":{"partialSetters":[{"name":"image-tag","value":"0.1.0"}]}}
ports:
- name: http
containerPort: 80 # {"description":"helloworld port","type":"integer","x-kustomize":{"setter":{"name":"http-port","value":"80"}}}
env:
- name: PORT
value: "80" # {"description":"helloworld port","type":"string","x-kustomize":{"setter":{"name":"http-port","value":"80"}}}
| 38.219512 | 180 | 0.666879 |
f7bf874b7353bffa0729fe30f0964a6176392610 | 251 | yaml | YAML | tests/stacks/kubernetes/test_data/expected/~g_v1_serviceaccount_tf-job-operator.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 376 | 2019-02-27T01:32:34.000Z | 2022-03-29T14:02:39.000Z | tests/stacks/kubernetes/test_data/expected/~g_v1_serviceaccount_tf-job-operator.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 2,171 | 2019-02-27T17:37:34.000Z | 2022-03-31T18:16:26.000Z | tests/stacks/kubernetes/test_data/expected/~g_v1_serviceaccount_tf-job-operator.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 643 | 2019-02-27T01:49:11.000Z | 2022-03-31T06:31:15.000Z | apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: tf-job-operator
app.kubernetes.io/component: tfjob
app.kubernetes.io/name: tf-job-operator
kustomize.component: tf-job-operator
name: tf-job-operator
namespace: kubeflow
| 22.818182 | 43 | 0.741036 |
f7bfc175041a1268a4cc1654ec2924f87a2f9ac9 | 220 | yaml | YAML | demo/sock-shop/templates/catalogue-svc.yaml | GameBench/charts | fec17125403136ddf33aba78a51fa295a56bd6f7 | [
"Apache-2.0"
] | 134 | 2017-03-10T03:32:55.000Z | 2022-03-29T09:14:54.000Z | demo/sock-shop/templates/catalogue-svc.yaml | GameBench/charts | fec17125403136ddf33aba78a51fa295a56bd6f7 | [
"Apache-2.0"
] | 67 | 2017-03-06T21:31:13.000Z | 2022-01-05T15:50:34.000Z | demo/sock-shop/templates/catalogue-svc.yaml | GameBench/charts | fec17125403136ddf33aba78a51fa295a56bd6f7 | [
"Apache-2.0"
] | 65 | 2017-06-19T14:27:30.000Z | 2022-01-27T05:07:26.000Z | ---
apiVersion: v1
kind: Service
metadata:
name: catalogue
labels:
name: catalogue
spec:
ports:
# the port that this service should serve on
- port: 80
targetPort: 80
selector:
name: catalogue
| 13.75 | 48 | 0.663636 |
f7c019fca94f42486e1c2f2385a4e5386b0563dc | 223 | yml | YAML | helm/api-platform/templates/pvc.yml | Origami-Lab/Cobalt-Back-End | 1ba9885e9bf05f8dffe7375c8633daabda3604fb | [
"MIT"
] | 2 | 2021-02-16T21:20:33.000Z | 2021-11-28T08:40:02.000Z | helm/api-platform/templates/pvc.yml | Origami-Lab/Cobalt-Back-End | 1ba9885e9bf05f8dffe7375c8633daabda3604fb | [
"MIT"
] | 5 | 2021-03-02T21:57:36.000Z | 2021-09-20T01:33:58.000Z | helm/api-platform/templates/pvc.yml | Origami-Lab/Cobalt-Back-End | 1ba9885e9bf05f8dffe7375c8633daabda3604fb | [
"MIT"
] | null | null | null | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: php-public-media-pvc
spec:
resources:
requests:
storage: 3Gi
storageClassName: scw-bssd
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
| 17.153846 | 28 | 0.735426 |
f7c029576471c04de684983a8da02f8df2be509a | 189 | yaml | YAML | tutorials/implementing-different-types-of-loadbalancers-in-GKE/basic-ingress/web-service.yaml | valavan007/community | f77a07aac0b35be866151592004d5512b56630d5 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tutorials/implementing-different-types-of-loadbalancers-in-GKE/basic-ingress/web-service.yaml | valavan007/community | f77a07aac0b35be866151592004d5512b56630d5 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tutorials/implementing-different-types-of-loadbalancers-in-GKE/basic-ingress/web-service.yaml | valavan007/community | f77a07aac0b35be866151592004d5512b56630d5 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: web
namespace: basic-ingress
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
run: web
type: NodePort
| 13.5 | 26 | 0.671958 |
f7c0379c6da8cdccf13b895a051e901ba9986870 | 561 | yaml | YAML | kubernetes-controllers/paymentservice-deployment-bg.yaml | otus-kuber-2021-06/ivan-crane_platform | ff81655e1673c54985fbce27ebd16b983b0dc6cf | [
"MIT"
] | null | null | null | kubernetes-controllers/paymentservice-deployment-bg.yaml | otus-kuber-2021-06/ivan-crane_platform | ff81655e1673c54985fbce27ebd16b983b0dc6cf | [
"MIT"
] | 8 | 2021-07-08T10:06:38.000Z | 2021-11-18T09:23:52.000Z | kubernetes-controllers/paymentservice-deployment-bg.yaml | otus-kuber-2021-06/ivan-crane_platform | ff81655e1673c54985fbce27ebd16b983b0dc6cf | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: paymentservice
labels:
app: paymentservice
tier: paymentservice
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 100%
maxUnavailable: 0
selector:
matchLabels:
tier: paymentservice
template:
metadata:
labels:
app: paymentservice
tier: paymentservice
spec:
containers:
- name: server
image: izhur85/pay-msdemo:v0.0.2
| 20.777778 | 42 | 0.565062 |
f7c03ce2b1c6875cc370e116851c07d25cac206a | 374 | yaml | YAML | trojan/trojan-tls-cert.yaml | fakegit/trojan-kubernetes | 1fc5203cbc6b07d43b25bf51bb8a6bf4eb548cd4 | [
"MIT"
] | 1 | 2020-12-17T05:00:09.000Z | 2020-12-17T05:00:09.000Z | trojan/trojan-tls-cert.yaml | fakegit/trojan-kubernetes | 1fc5203cbc6b07d43b25bf51bb8a6bf4eb548cd4 | [
"MIT"
] | null | null | null | trojan/trojan-tls-cert.yaml | fakegit/trojan-kubernetes | 1fc5203cbc6b07d43b25bf51bb8a6bf4eb548cd4 | [
"MIT"
] | 2 | 2020-09-04T02:12:45.000Z | 2020-09-04T16:44:45.000Z | apiVersion: v1
kind: Secret
metadata:
name: trojan-tls-cert
namespace: trojan
labels:
environment: production
app: trojan
type: kubernetes.io/tls
stringData:
tls.crt: |
-----BEGIN CERTIFICATE-----
YOUR+CERTIFICATE+HERE
-----END CERTIFICATE-----
tls.key: |
-----BEGIN PRIVATE KEY-----
YOUR+PRIVATE+KEY+HERE
-----END PRIVATE KEY-----
| 19.684211 | 31 | 0.625668 |
f7c04d14d047a4c8f14833338fee0b8505e79048 | 336 | yaml | YAML | deploy/postgresPod.yaml | Sahl-A/first_docker_kubernetes_ci-cd | c30226db869345607fa9bb0b78fa278cd5bb8ae2 | [
"MIT"
] | null | null | null | deploy/postgresPod.yaml | Sahl-A/first_docker_kubernetes_ci-cd | c30226db869345607fa9bb0b78fa278cd5bb8ae2 | [
"MIT"
] | null | null | null | deploy/postgresPod.yaml | Sahl-A/first_docker_kubernetes_ci-cd | c30226db869345607fa9bb0b78fa278cd5bb8ae2 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: postgres
namespace: nestjs-app
labels:
application: postgres-pod
spec:
containers:
- name: postgres
image: postgres
env:
- name: POSTGRES_PASSWORD
value: "123456"
ports:
- name: web
containerPort: 5432
protocol: TCP | 18.666667 | 33 | 0.592262 |
f7c08b6b6a83cd86784be8980dd93b4be1355aaf | 4,004 | yaml | YAML | roles/ks-monitor/files/prometheus/prometheus-adapter/prometheus-adapter-configMap.yaml | 24sama/ks-installer | 97264ba1ce0f8cb2bd448851099c52ae33b70422 | [
"Apache-2.0"
] | 8 | 2019-07-15T13:04:42.000Z | 2021-07-29T07:31:22.000Z | roles/ks-monitor/files/prometheus/prometheus-adapter/prometheus-adapter-configMap.yaml | 24sama/ks-installer | 97264ba1ce0f8cb2bd448851099c52ae33b70422 | [
"Apache-2.0"
] | 1 | 2021-08-09T06:46:03.000Z | 2021-08-09T06:46:03.000Z | roles/ks-monitor/files/prometheus/prometheus-adapter/prometheus-adapter-configMap.yaml | 24sama/ks-installer | 97264ba1ce0f8cb2bd448851099c52ae33b70422 | [
"Apache-2.0"
] | 7 | 2019-07-19T09:49:52.000Z | 2021-05-03T10:12:39.000Z | apiVersion: v1
data:
config.yaml: |-
"resourceRules":
"cpu":
"containerLabel": "container"
"containerQuery": "sum(irate(container_cpu_usage_seconds_total{<<.LabelMatchers>>,container!=\"POD\",container!=\"\",pod!=\"\"}[5m])) by (<<.GroupBy>>)"
"nodeQuery": "sum(irate(node_cpu_seconds_total{mode=\"used\"}[5m]) * on(namespace, pod) group_left(node) node_namespace_pod:kube_pod_info:{<<.LabelMatchers>>}) by (<<.GroupBy>>)"
"resources":
"overrides":
"namespace":
"resource": "namespace"
"node":
"resource": "node"
"pod":
"resource": "pod"
"memory":
"containerLabel": "container"
"containerQuery": "sum(container_memory_working_set_bytes{<<.LabelMatchers>>,container!=\"POD\",container!=\"\",pod!=\"\"}) by (<<.GroupBy>>)"
"nodeQuery": "sum(node_memory_MemTotal_bytes{job=\"node-exporter\",<<.LabelMatchers>>} - node_memory_MemFree_bytes{job=\"node-exporter\",<<.LabelMatchers>>} - node_memory_Cached_bytes{job=\"node-exporter\",<<.LabelMatchers>>} - node_memory_Buffers_bytes{job=\"node-exporter\",<<.LabelMatchers>>} - node_memory_SReclaimable_bytes{job=\"node-exporter\",<<.LabelMatchers>>}) by (<<.GroupBy>>)"
"resources":
"overrides":
"instance":
"resource": "node"
"namespace":
"resource": "namespace"
"pod":
"resource": "pod"
"window": "5m"
"rules":
- "metricsQuery": "sum(rate(<<.Series>>{<<.LabelMatchers>>,container!=\"POD\"}[1m])) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": "^container_(.*)_seconds_total$"
"resources":
"overrides":
"namespace":
"resource": "namespace"
"pod":
"resource": "pod"
"seriesFilters": []
"seriesQuery": "{__name__=~\"^container_.*\",container!=\"POD\",namespace!=\"\",pod!=\"\"}"
- "metricsQuery": "sum(rate(<<.Series>>{<<.LabelMatchers>>,container!=\"POD\"}[1m])) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": "^container_(.*)_total$"
"resources":
"overrides":
"namespace":
"resource": "namespace"
"pod":
"resource": "pod"
"seriesFilters":
- "isNot": "^container_.*_seconds_total$"
"seriesQuery": "{__name__=~\"^container_.*\",container!=\"POD\",namespace!=\"\",pod!=\"\"}"
- "metricsQuery": "sum(<<.Series>>{<<.LabelMatchers>>,container!=\"POD\"}) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": "^container_(.*)$"
"resources":
"overrides":
"namespace":
"resource": "namespace"
"pod":
"resource": "pod"
"seriesFilters":
- "isNot": "^container_.*_total$"
"seriesQuery": "{__name__=~\"^container_.*\",container!=\"POD\",namespace!=\"\",pod!=\"\"}"
- "metricsQuery": "sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": ""
"resources":
"template": "<<.Resource>>"
"seriesFilters":
- "isNot": ".*_total$"
"seriesQuery": "{namespace!=\"\",__name__!~\"^container_.*\"}"
- "metricsQuery": "sum(rate(<<.Series>>{<<.LabelMatchers>>}[1m])) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": "^(.*)_total$"
"resources":
"template": "<<.Resource>>"
"seriesFilters":
- "isNot": ".*_seconds_total"
"seriesQuery": "{namespace!=\"\",__name__!~\"^container_.*\"}"
- "metricsQuery": "sum(rate(<<.Series>>{<<.LabelMatchers>>}[1m])) by (<<.GroupBy>>)"
"name":
"as": ""
"matches": "^(.*)_seconds_total$"
"resources":
"template": "<<.Resource>>"
"seriesFilters": []
"seriesQuery": "{namespace!=\"\",__name__!~\"^container_.*\"}"
kind: ConfigMap
metadata:
name: adapter-config
namespace: kubesphere-monitoring-system
| 40.444444 | 398 | 0.524226 |
f7c0f2b6f4f1f58cea5aa033cf8a059def5a1622 | 1,110 | yaml | YAML | config/manager/manager.yaml | igarashitm/atlasmap-operator | 4e7a0fffb07852f1d1aaf1237cbb399a200fed3e | [
"Apache-2.0"
] | null | null | null | config/manager/manager.yaml | igarashitm/atlasmap-operator | 4e7a0fffb07852f1d1aaf1237cbb399a200fed3e | [
"Apache-2.0"
] | null | null | null | config/manager/manager.yaml | igarashitm/atlasmap-operator | 4e7a0fffb07852f1d1aaf1237cbb399a200fed3e | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: atlasmap-operator
labels:
control-plane: controller-manager
spec:
selector:
matchLabels:
control-plane: controller-manager
replicas: 1
template:
metadata:
labels:
control-plane: controller-manager
spec:
securityContext:
runAsNonRoot: true
containers:
- command:
- /manager
args:
- --leader-elect
image: controller:latest
name: manager
securityContext:
allowPrivilegeEscalation: false
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 100m
memory: 20Mi
serviceAccountName: atlasmap-operator
terminationGracePeriodSeconds: 10
| 22.653061 | 43 | 0.564865 |
f7c18c7290b105d25994e7b51be47c89073feb46 | 975 | yaml | YAML | kubernetes/report_master/report_master_service.yaml | reMarkable/cobalt | 3feead337a6bdf620df7a62abb72c910a566a38c | [
"BSD-3-Clause"
] | null | null | null | kubernetes/report_master/report_master_service.yaml | reMarkable/cobalt | 3feead337a6bdf620df7a62abb72c910a566a38c | [
"BSD-3-Clause"
] | null | null | null | kubernetes/report_master/report_master_service.yaml | reMarkable/cobalt | 3feead337a6bdf620df7a62abb72c910a566a38c | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file contains the definitions of the Report Master's Service object.
#
# The definitions contain some parameters (indicated by $$PARAMETER_NAME$$)
# that will be replaced by the script tools/container_util.py prior to being
# passed to "kubectl apply"
apiVersion: v1
kind: Service
metadata:
name: report-master
spec:
ports:
# Requests to this port are forwarded to the Endpoints implementation
# on the same port. Requests made to this port are protected by TLS.
# All clients should access Report Master via this port.
- port: 443
protocol: TCP
name: endpoint-https
selector:
# This must match the metadata.labels section of the
# report_master_deployment.yaml file.
name: report-master
type: LoadBalancer
loadBalancerIP: $$REPORT_MASTER_STATIC_IP_ADDRESS$$
| 32.5 | 76 | 0.750769 |
f7c1d169c39ef75afc10b50b18aca425c51a7022 | 108 | yaml | YAML | k8s/secret.yaml | Interaze/projectPATH | e947c0505396c3669a41fde8715d7f34cc0983e8 | [
"MIT"
] | null | null | null | k8s/secret.yaml | Interaze/projectPATH | e947c0505396c3669a41fde8715d7f34cc0983e8 | [
"MIT"
] | null | null | null | k8s/secret.yaml | Interaze/projectPATH | e947c0505396c3669a41fde8715d7f34cc0983e8 | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: Secret
metadata:
name: mysql-secrets
type: Opaque
data:
ROOT_PASSWORD: testcase | 13.5 | 25 | 0.75 |
f7c229e7e7642f2708b23daad5af77f7342d9124 | 202 | yaml | YAML | k8s/examples/wordpress/wordpress/15-config.yaml | storageos/demos | 3bc09a497779dba99e00d04f8e94f750f8fd8031 | [
"MIT"
] | null | null | null | k8s/examples/wordpress/wordpress/15-config.yaml | storageos/demos | 3bc09a497779dba99e00d04f8e94f750f8fd8031 | [
"MIT"
] | null | null | null | k8s/examples/wordpress/wordpress/15-config.yaml | storageos/demos | 3bc09a497779dba99e00d04f8e94f750f8fd8031 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: wordpress
labels:
app: wordpress
tier: frontend
type: Opaque
data:
wordpress-db-password: "cGFzc3dvcmQ=" # base64 encoded password - password
| 18.363636 | 78 | 0.722772 |
f7c2b82cdb2ca31591f75288b81529edce3d9177 | 725 | yaml | YAML | common-applications/test-environment/opendesign-datapertus-test/deployment.yaml | zhang-jian-jun/infra-common | 7a33a781db1ef450e31418c0166ae2960d285500 | [
"Apache-2.0"
] | null | null | null | common-applications/test-environment/opendesign-datapertus-test/deployment.yaml | zhang-jian-jun/infra-common | 7a33a781db1ef450e31418c0166ae2960d285500 | [
"Apache-2.0"
] | null | null | null | common-applications/test-environment/opendesign-datapertus-test/deployment.yaml | zhang-jian-jun/infra-common | 7a33a781db1ef450e31418c0166ae2960d285500 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: opendesign-datapertus-test-deployment
namespace: opendesign-datapertus-test
spec:
replicas: 2
strategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
selector:
matchLabels:
app: opendesign-datapertus-test
template:
metadata:
labels:
app: opendesign-datapertus-test
spec:
containers:
- name: opendesign-datapertus-test
image: swr.cn-north-4.myhuaweicloud.com/opensourceway/dataset-test:v0.0.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
protocol: TCP
imagePullSecrets:
- name: huawei-swr-image-pull-secret
| 24.166667 | 81 | 0.667586 |
f7c326b4a87b71f0579e09e4c7805cd9b3ca5b1b | 2,092 | yaml | YAML | test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml | spiffxp/kubernetes | d50e920906abd99645fba194e1f41fe09d5e0c30 | [
"Apache-2.0"
] | 3 | 2019-01-20T03:10:14.000Z | 2019-01-29T12:02:43.000Z | test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml | kvaps/kubernetes | 6f897af2daffd8cd3539f1ef279b9f9bc280d98f | [
"Apache-2.0"
] | 3 | 2018-06-08T03:21:39.000Z | 2018-06-22T17:11:11.000Z | test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml | kvaps/kubernetes | 6f897af2daffd8cd3539f1ef279b9f9bc280d98f | [
"Apache-2.0"
] | 2 | 2020-11-04T05:01:20.000Z | 2020-11-10T19:30:58.000Z | kind: DaemonSet
apiVersion: apps/v1
metadata:
name: csi-hostpathplugin
spec:
selector:
matchLabels:
app: csi-hostpathplugin
template:
metadata:
labels:
app: csi-hostpathplugin
spec:
serviceAccountName: csi-driver-registrar
hostNetwork: true
containers:
- name: driver-registrar
image: quay.io/k8scsi/driver-registrar:v0.4.1
args:
- --v=5
- --csi-address=/csi/csi.sock
- --kubelet-registration-path=/var/lib/kubelet/plugins/csi-hostpath/csi.sock
env:
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: Always
volumeMounts:
- mountPath: /csi
name: socket-dir
- mountPath: /registration
name: registration-dir
- name: hostpath
image: quay.io/k8scsi/hostpathplugin:v0.4.1
args:
- "--v=5"
- "--endpoint=$(CSI_ENDPOINT)"
- "--nodeid=$(KUBE_NODE_NAME)"
env:
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
imagePullPolicy: Always
securityContext:
privileged: true
volumeMounts:
- mountPath: /csi
name: socket-dir
- mountPath: /var/lib/kubelet/pods
mountPropagation: Bidirectional
name: mountpoint-dir
volumes:
- hostPath:
path: /var/lib/kubelet/plugins/csi-hostpath
type: DirectoryOrCreate
name: socket-dir
- hostPath:
path: /var/lib/kubelet/pods
type: DirectoryOrCreate
name: mountpoint-dir
- hostPath:
path: /var/lib/kubelet/plugins
type: Directory
name: registration-dir
| 29.464789 | 88 | 0.521989 |
f7c340ddd74103666d7755d2f6dd57106774e6a3 | 97 | yaml | YAML | admin/strictPodQuota.yaml | mefateah/docker-k8s-helm | 4527ea87439e3a7d01fbe749703175e53615394b | [
"MIT"
] | null | null | null | admin/strictPodQuota.yaml | mefateah/docker-k8s-helm | 4527ea87439e3a7d01fbe749703175e53615394b | [
"MIT"
] | null | null | null | admin/strictPodQuota.yaml | mefateah/docker-k8s-helm | 4527ea87439e3a7d01fbe749703175e53615394b | [
"MIT"
] | null | null | null | apiVersion: v1
kind: ResourceQuota
metadata:
name: strict-pod-quota
spec:
hard:
pods: "0" | 13.857143 | 24 | 0.701031 |
f7c3d780e26cba59b294ad29ceb3637e1a87d419 | 122 | yaml | YAML | multi-cluster-ingress/repos/platform/configsync/clusters/cluster-east/v1_namespace_zoneprinter.yaml | Minraj1/anthos-config-management-samples | 5d2b0a887df464767a72c37dd048f021a867df30 | [
"Apache-2.0"
] | 1 | 2022-01-23T20:06:08.000Z | 2022-01-23T20:06:08.000Z | multi-cluster-ingress/repos/platform/configsync/clusters/cluster-east/v1_namespace_zoneprinter.yaml | Minraj1/anthos-config-management-samples | 5d2b0a887df464767a72c37dd048f021a867df30 | [
"Apache-2.0"
] | null | null | null | multi-cluster-ingress/repos/platform/configsync/clusters/cluster-east/v1_namespace_zoneprinter.yaml | Minraj1/anthos-config-management-samples | 5d2b0a887df464767a72c37dd048f021a867df30 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
labels:
cluster: cluster-east
owner: platform-team
name: zoneprinter
| 15.25 | 25 | 0.729508 |
f7c44c7f9f2177750c725621ab21e6f0b26e0b31 | 340,696 | yaml | YAML | api/src/test/resources/io/strimzi/api/kafka/model/040-Crd-kafka-crdApi-v1.yaml | Sravikaz/strimzi-kafka-operator | 9c3f7e9be8df9d6d8ab4f0676a4650843e2f392e | [
"Apache-2.0"
] | null | null | null | api/src/test/resources/io/strimzi/api/kafka/model/040-Crd-kafka-crdApi-v1.yaml | Sravikaz/strimzi-kafka-operator | 9c3f7e9be8df9d6d8ab4f0676a4650843e2f392e | [
"Apache-2.0"
] | null | null | null | api/src/test/resources/io/strimzi/api/kafka/model/040-Crd-kafka-crdApi-v1.yaml | Sravikaz/strimzi-kafka-operator | 9c3f7e9be8df9d6d8ab4f0676a4650843e2f392e | [
"Apache-2.0"
] | null | null | null | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kafkas.kafka.strimzi.io
labels:
app: strimzi
strimzi.io/crd-install: "true"
spec:
group: kafka.strimzi.io
names:
kind: Kafka
listKind: KafkaList
singular: kafka
plural: kafkas
shortNames:
- k
categories:
- strimzi
scope: Namespaced
conversion:
strategy: None
versions:
- name: v1beta2
served: true
storage: true
subresources:
status: {}
additionalPrinterColumns:
- name: Desired Kafka replicas
description: The desired number of Kafka replicas in the cluster
jsonPath: .spec.kafka.replicas
type: integer
- name: Desired ZK replicas
description: The desired number of ZooKeeper replicas in the cluster
jsonPath: .spec.zookeeper.replicas
type: integer
- name: Ready
description: The state of the custom resource
jsonPath: .status.conditions[?(@.type=="Ready")].status
type: string
- name: Warnings
description: Warnings related to the custom resource
jsonPath: .status.conditions[?(@.type=="Warning")].status
type: string
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
kafka:
type: object
properties:
replicas:
type: integer
minimum: 1
description: The number of pods in the cluster.
image:
type: string
description: The docker image for the pods. The default value
depends on the configured `Kafka.spec.kafka.version`.
storage:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic volume allocation.
deleteClaim:
type: boolean
description: Specifies if the persistent volume claim has
to be deleted when the cluster is un-deployed.
id:
type: integer
minimum: 0
description: Storage identification number. It is mandatory
only for storage volumes defined in a storage of type 'jbod'.
overrides:
type: array
items:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic volume
allocation for this broker.
broker:
type: integer
description: Id of the kafka broker (broker identifier).
description: Overrides for individual brokers. The `overrides`
field allows to specify a different configuration for different
brokers.
selector:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Specifies a specific persistent volume to use.
It contains key:value pairs representing labels for selecting
such a volume.
size:
type: string
description: When type=persistent-claim, defines the size
of the persistent volume claim (i.e 1Gi). Mandatory when
type=persistent-claim.
sizeLimit:
type: string
pattern: ^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
description: When type=ephemeral, defines the total amount
of local storage required for this EmptyDir volume (for
example 1Gi).
type:
type: string
enum:
- ephemeral
- persistent-claim
- jbod
description: Storage type, must be either 'ephemeral', 'persistent-claim',
or 'jbod'.
volumes:
type: array
items:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic volume
allocation.
deleteClaim:
type: boolean
description: Specifies if the persistent volume claim
has to be deleted when the cluster is un-deployed.
id:
type: integer
minimum: 0
description: Storage identification number. It is mandatory
only for storage volumes defined in a storage of type
'jbod'.
overrides:
type: array
items:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic
volume allocation for this broker.
broker:
type: integer
description: Id of the kafka broker (broker identifier).
description: Overrides for individual brokers. The `overrides`
field allows to specify a different configuration
for different brokers.
selector:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Specifies a specific persistent volume
to use. It contains key:value pairs representing labels
for selecting such a volume.
size:
type: string
description: When type=persistent-claim, defines the
size of the persistent volume claim (i.e 1Gi). Mandatory
when type=persistent-claim.
sizeLimit:
type: string
pattern: ^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
description: When type=ephemeral, defines the total
amount of local storage required for this EmptyDir
volume (for example 1Gi).
type:
type: string
enum:
- ephemeral
- persistent-claim
description: Storage type, must be either 'ephemeral'
or 'persistent-claim'.
required:
- type
description: List of volumes as Storage objects representing
the JBOD disks array.
required:
- type
description: Storage configuration (disk). Cannot be updated.
listeners:
type: array
minItems: 1
items:
type: object
properties:
name:
type: string
pattern: ^[a-z0-9]{1,11}$
description: Name of the listener. The name will be used
to identify the listener and the related Kubernetes objects.
The name has to be unique within given a Kafka cluster.
The name can consist of lowercase characters and numbers
and be up to 11 characters long.
port:
type: integer
minimum: 9092
description: Port number used by the listener inside Kafka.
The port number has to be unique within a given Kafka
cluster. Allowed port numbers are 9092 and higher with
the exception of ports 9404 and 9999, which are already
used for Prometheus and JMX. Depending on the listener
type, the port number might not be the same as the port
number that connects Kafka clients.
type:
type: string
enum:
- internal
- route
- loadbalancer
- nodeport
- ingress
description: "Type of the listener. Currently the supported\
\ types are `internal`, `route`, `loadbalancer`, `nodeport`\
\ and `ingress`. \n\n* `internal` type exposes Kafka internally\
\ only within the Kubernetes cluster.\n* `route` type\
\ uses OpenShift Routes to expose Kafka.\n* `loadbalancer`\
\ type uses LoadBalancer type services to expose Kafka.\n\
* `nodeport` type uses NodePort type services to expose\
\ Kafka.\n* `ingress` type uses Kubernetes Nginx Ingress\
\ to expose Kafka.\n."
tls:
type: boolean
description: Enables TLS encryption on the listener. This
is a required property.
authentication:
type: object
properties:
accessTokenIsJwt:
type: boolean
description: Configure whether the access token is treated
as JWT. This must be set to `false` if the authorization
server returns opaque tokens. Defaults to `true`.
checkAccessTokenType:
type: boolean
description: Configure whether the access token type
check is performed or not. This should be set to `false`
if the authorization server does not include 'typ'
claim in JWT token. Defaults to `true`.
checkAudience:
type: boolean
description: Enable or disable audience checking. Audience
checks identify the recipients of tokens. If audience
checking is enabled, the OAuth Client ID also has
to be configured using the `clientId` property. The
Kafka broker will reject tokens that do not have its
`clientId` in their `aud` (audience) claim.Default
value is `false`.
checkIssuer:
type: boolean
description: Enable or disable issuer checking. By default
issuer is checked using the value configured by `validIssuerUri`.
Default value is `true`.
clientId:
type: string
description: OAuth Client ID which the Kafka broker
can use to authenticate against the authorization
server and use the introspect endpoint URI.
clientSecret:
type: object
properties:
key:
type: string
description: The key under which the secret value
is stored in the Kubernetes Secret.
secretName:
type: string
description: The name of the Kubernetes Secret containing
the secret value.
required:
- key
- secretName
description: Link to Kubernetes Secret containing the
OAuth client secret which the Kafka broker can use
to authenticate against the authorization server and
use the introspect endpoint URI.
customClaimCheck:
type: string
description: JsonPath filter query to be applied to
the JWT token or to the response of the introspection
endpoint for additional token validation. Not set
by default.
disableTlsHostnameVerification:
type: boolean
description: Enable or disable TLS hostname verification.
Default value is `false`.
enableECDSA:
type: boolean
description: Enable or disable ECDSA support by installing
BouncyCastle crypto provider. Default value is `false`.
enableOauthBearer:
type: boolean
description: Enable or disable OAuth authentication
over SASL_OAUTHBEARER. Default value is `true`.
enablePlain:
type: boolean
description: Enable or disable OAuth authentication
over SASL_PLAIN. There is no re-authentication support
when this mechanism is used. Default value is `false`.
fallbackUserNameClaim:
type: string
description: The fallback username claim to be used
for the user id if the claim specified by `userNameClaim`
is not present. This is useful when `client_credentials`
authentication only results in the client id being
provided in another claim. It only takes effect if
`userNameClaim` is set.
fallbackUserNamePrefix:
type: string
description: The prefix to use with the value of `fallbackUserNameClaim`
to construct the user id. This only takes effect if
`fallbackUserNameClaim` is true, and the value is
present for the claim. Mapping usernames and client
ids into the same user id space is useful in preventing
name collisions.
introspectionEndpointUri:
type: string
description: URI of the token introspection endpoint
which can be used to validate opaque non-JWT tokens.
jwksEndpointUri:
type: string
description: URI of the JWKS certificate endpoint, which
can be used for local JWT validation.
jwksExpirySeconds:
type: integer
minimum: 1
description: Configures how often are the JWKS certificates
considered valid. The expiry interval has to be at
least 60 seconds longer then the refresh interval
specified in `jwksRefreshSeconds`. Defaults to 360
seconds.
jwksMinRefreshPauseSeconds:
type: integer
minimum: 0
description: The minimum pause between two consecutive
refreshes. When an unknown signing key is encountered
the refresh is scheduled immediately, but will always
wait for this minimum pause. Defaults to 1 second.
jwksRefreshSeconds:
type: integer
minimum: 1
description: Configures how often are the JWKS certificates
refreshed. The refresh interval has to be at least
60 seconds shorter then the expiry interval specified
in `jwksExpirySeconds`. Defaults to 300 seconds.
maxSecondsWithoutReauthentication:
type: integer
description: Maximum number of seconds the authenticated
session remains valid without re-authentication. This
enables Apache Kafka re-authentication feature, and
causes sessions to expire when the access token expires.
If the access token expires before max time or if
max time is reached, the client has to re-authenticate,
otherwise the server will drop the connection. Not
set by default - the authenticated session does not
expire when the access token expires. This option
only applies to SASL_OAUTHBEARER authentication mechanism
(when `enableOauthBearer` is `true`).
tlsTrustedCertificates:
type: array
items:
type: object
properties:
certificate:
type: string
description: The name of the file certificate
in the Secret.
secretName:
type: string
description: The name of the Secret containing
the certificate.
required:
- certificate
- secretName
description: Trusted certificates for TLS connection
to the OAuth server.
tokenEndpointUri:
type: string
description: 'URI of the Token Endpoint to use with
SASL_PLAIN mechanism when the client authenticates
with clientId and a secret. '
type:
type: string
enum:
- tls
- scram-sha-512
- oauth
description: Authentication type. `oauth` type uses
SASL OAUTHBEARER Authentication. `scram-sha-512` type
uses SASL SCRAM-SHA-512 Authentication. `tls` type
uses TLS Client Authentication. `tls` type is supported
only on TLS listeners.
userInfoEndpointUri:
type: string
description: 'URI of the User Info Endpoint to use as
a fallback to obtaining the user id when the Introspection
Endpoint does not return information that can be used
for the user id. '
userNameClaim:
type: string
description: Name of the claim from the JWT authentication
token, Introspection Endpoint response or User Info
Endpoint response which will be used to extract the
user id. Defaults to `sub`.
validIssuerUri:
type: string
description: URI of the token issuer used for authentication.
validTokenType:
type: string
description: Valid value for the `token_type` attribute
returned by the Introspection Endpoint. No default
value, and not checked by default.
required:
- type
description: Authentication configuration for this listener.
configuration:
type: object
properties:
brokerCertChainAndKey:
type: object
properties:
certificate:
type: string
description: The name of the file certificate in
the Secret.
key:
type: string
description: The name of the private key in the
Secret.
secretName:
type: string
description: The name of the Secret containing the
certificate.
required:
- certificate
- key
- secretName
description: Reference to the `Secret` which holds the
certificate and private key pair which will be used
for this listener. The certificate can optionally
contain the whole chain. This field can be used only
with listeners with enabled TLS encryption.
externalTrafficPolicy:
type: string
enum:
- Local
- Cluster
description: Specifies whether the service routes external
traffic to node-local or cluster-wide endpoints. `Cluster`
may cause a second hop to another node and obscures
the client source IP. `Local` avoids a second hop
for LoadBalancer and Nodeport type services and preserves
the client source IP (when supported by the infrastructure).
If unspecified, Kubernetes will use `Cluster` as the
default.This field can be used only with `loadbalancer`
or `nodeport` type listener.
loadBalancerSourceRanges:
type: array
items:
type: string
description: A list of CIDR ranges (for example `10.0.0.0/8`
or `130.211.204.1/32`) from which clients can connect
to load balancer type listeners. If supported by the
platform, traffic through the loadbalancer is restricted
to the specified CIDR ranges. This field is applicable
only for loadbalancer type services and is ignored
if the cloud provider does not support the feature.
For more information, see https://v1-17.docs.kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/.
This field can be used only with `loadbalancer` type
listener.
bootstrap:
type: object
properties:
alternativeNames:
type: array
items:
type: string
description: Additional alternative names for the
bootstrap service. The alternative names will
be added to the list of subject alternative names
of the TLS certificates.
host:
type: string
description: The bootstrap host. This field will
be used in the Ingress resource or in the Route
resource to specify the desired hostname. This
field can be used only with `route` (optional)
or `ingress` (required) type listeners.
nodePort:
type: integer
description: Node port for the bootstrap service.
This field can be used only with `nodeport` type
listener.
loadBalancerIP:
type: string
description: The loadbalancer is requested with
the IP address specified in this field. This feature
depends on whether the underlying cloud provider
supports specifying the `loadBalancerIP` when
a load balancer is created. This field is ignored
if the cloud provider does not support the feature.This
field can be used only with `loadbalancer` type
listener.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations that will be added to the
`Ingress`, `Route`, or `Service` resource. You
can use this field to configure DNS providers
such as External DNS. This field can be used only
with `loadbalancer`, `nodeport`, `route`, or `ingress`
type listeners.
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels that will be added to the `Ingress`,
`Route`, or `Service` resource. This field can
be used only with `loadbalancer`, `nodeport`,
`route`, or `ingress` type listeners.
description: Bootstrap configuration.
brokers:
type: array
items:
type: object
properties:
broker:
type: integer
description: ID of the kafka broker (broker identifier).
Broker IDs start from 0 and correspond to the
number of broker replicas.
advertisedHost:
type: string
description: The host name which will be used
in the brokers' `advertised.brokers`.
advertisedPort:
type: integer
description: The port number which will be used
in the brokers' `advertised.brokers`.
host:
type: string
description: The broker host. This field will
be used in the Ingress resource or in the Route
resource to specify the desired hostname. This
field can be used only with `route` (optional)
or `ingress` (required) type listeners.
nodePort:
type: integer
description: Node port for the per-broker service.
This field can be used only with `nodeport`
type listener.
loadBalancerIP:
type: string
description: The loadbalancer is requested with
the IP address specified in this field. This
feature depends on whether the underlying cloud
provider supports specifying the `loadBalancerIP`
when a load balancer is created. This field
is ignored if the cloud provider does not support
the feature.This field can be used only with
`loadbalancer` type listener.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations that will be added to
the `Ingress` or `Service` resource. You can
use this field to configure DNS providers such
as External DNS. This field can be used only
with `loadbalancer`, `nodeport`, or `ingress`
type listeners.
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels that will be added to the
`Ingress`, `Route`, or `Service` resource. This
field can be used only with `loadbalancer`,
`nodeport`, `route`, or `ingress` type listeners.
required:
- broker
description: Per-broker configurations.
class:
type: string
description: Configures the `Ingress` class that defines
which `Ingress` controller will be used. This field
can be used only with `ingress` type listener. If
not specified, the default Ingress controller will
be used.
preferredNodePortAddressType:
type: string
enum:
- ExternalIP
- ExternalDNS
- InternalIP
- InternalDNS
- Hostname
description: |-
Defines which address type should be used as the node address. Available types are: `ExternalDNS`, `ExternalIP`, `InternalDNS`, `InternalIP` and `Hostname`. By default, the addresses will be used in the following order (the first one found will be used):
* `ExternalDNS`
* `ExternalIP`
* `InternalDNS`
* `InternalIP`
* `Hostname`
This field can be used to select the address type which will be used as the preferred type and checked first. In case no address will be found for this address type, the other types will be used in the default order.This field can be used only with `nodeport` type listener..
useServiceDnsDomain:
type: boolean
description: Configures whether the Kubernetes service
DNS domain should be used or not. If set to `true`,
the generated addresses will contain the service DNS
domain suffix (by default `.cluster.local`, can be
configured using environment variable `KUBERNETES_SERVICE_DNS_DOMAIN`).
Defaults to `false`.This field can be used only with
`internal` type listener.
description: Additional listener configuration.
networkPolicyPeers:
type: array
items:
type: object
properties:
ipBlock:
type: object
properties:
cidr:
type: string
except:
type: array
items:
type: string
namespaceSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
podSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: List of peers which should be able to connect
to this listener. Peers in this list are combined using
a logical OR operation. If this field is empty or missing,
all connections will be allowed for this listener. If
this field is present and contains at least one item,
the listener only allows the traffic which matches at
least one item in this list.
required:
- name
- port
- type
- tls
authorization:
type: object
properties:
allowOnError:
type: boolean
description: Defines whether a Kafka client should be allowed
or denied by default when the authorizer fails to query
the Open Policy Agent, for example, when it is temporarily
unavailable). Defaults to `false` - all actions will be
denied.
clientId:
type: string
description: OAuth Client ID which the Kafka client can use
to authenticate against the OAuth server and use the token
endpoint URI.
delegateToKafkaAcls:
type: boolean
description: Whether authorization decision should be delegated
to the 'Simple' authorizer if DENIED by Keycloak Authorization
Services policies. Default value is `false`.
disableTlsHostnameVerification:
type: boolean
description: Enable or disable TLS hostname verification.
Default value is `false`.
expireAfterMs:
type: integer
description: The expiration of the records kept in the local
cache to avoid querying the Open Policy Agent for every
request. Defines how often the cached authorization decisions
are reloaded from the Open Policy Agent server. In milliseconds.
Defaults to `3600000`.
grantsRefreshPeriodSeconds:
type: integer
minimum: 0
description: The time between two consecutive grants refresh
runs in seconds. The default value is 60.
grantsRefreshPoolSize:
type: integer
minimum: 1
description: The number of threads to use to refresh grants
for active sessions. The more threads, the more parallelism,
so the sooner the job completes. However, using more threads
places a heavier load on the authorization server. The default
value is 5.
initialCacheCapacity:
type: integer
description: Initial capacity of the local cache used by the
authorizer to avoid querying the Open Policy Agent for every
request Defaults to `5000`.
maximumCacheSize:
type: integer
description: Maximum capacity of the local cache used by the
authorizer to avoid querying the Open Policy Agent for every
request. Defaults to `50000`.
superUsers:
type: array
items:
type: string
description: List of super users. Should contain list of user
principals which should get unlimited access rights.
tlsTrustedCertificates:
type: array
items:
type: object
properties:
certificate:
type: string
description: The name of the file certificate in the
Secret.
secretName:
type: string
description: The name of the Secret containing the certificate.
required:
- certificate
- secretName
description: Trusted certificates for TLS connection to the
OAuth server.
tokenEndpointUri:
type: string
description: Authorization server token endpoint URI.
type:
type: string
enum:
- simple
- opa
- keycloak
description: Authorization type. Currently, the supported
types are `simple`, `keycloak`, and `opa`. `simple` authorization
type uses Kafka's `kafka.security.authorizer.AclAuthorizer`
class for authorization. `keycloak` authorization type uses
Keycloak Authorization Services for authorization. `opa`
authorization type uses Open Policy Agent based authorization.
url:
type: string
example: http://opa:8181/v1/data/kafka/authz/allow
description: The URL used to connect to the Open Policy Agent
server. The URL has to include the policy which will be
queried by the authorizer. This option is required.
required:
- type
description: Authorization configuration for Kafka brokers.
config:
x-kubernetes-preserve-unknown-fields: true
type: object
description: 'Kafka broker config properties with the following
prefixes cannot be set: listeners, advertised., broker., listener.,
host.name, port, inter.broker.listener.name, sasl., ssl., security.,
password., principal.builder.class, log.dir, zookeeper.connect,
zookeeper.set.acl, zookeeper.ssl, zookeeper.clientCnxnSocket,
authorizer., super.user, cruise.control.metrics.topic, cruise.control.metrics.reporter.bootstrap.servers
(with the exception of: zookeeper.connection.timeout.ms, ssl.cipher.suites,
ssl.protocol, ssl.enabled.protocols,cruise.control.metrics.topic.num.partitions,
cruise.control.metrics.topic.replication.factor, cruise.control.metrics.topic.retention.ms,cruise.control.metrics.topic.auto.create.retries,
cruise.control.metrics.topic.auto.create.timeout.ms,cruise.control.metrics.topic.min.insync.replicas).'
rack:
type: object
properties:
topologyKey:
type: string
example: topology.kubernetes.io/zone
description: A key that matches labels assigned to the Kubernetes
cluster nodes. The value of the label is used to set the
broker's `broker.rack` config and `client.rack` in Kafka
Connect.
required:
- topologyKey
description: Configuration of the `broker.rack` broker config.
brokerRackInitImage:
type: string
description: The image of the init container used for initializing
the `broker.rack`.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
jvmOptions:
type: object
properties:
"-XX":
x-kubernetes-preserve-unknown-fields: true
type: object
description: A map of -XX options to the JVM.
"-Xms":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xms option to to the JVM.
"-Xmx":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xmx option to to the JVM.
gcLoggingEnabled:
type: boolean
description: Specifies whether the Garbage Collection logging
is enabled. The default is false.
javaSystemProperties:
type: array
items:
type: object
properties:
name:
type: string
description: The system property name.
value:
type: string
description: The system property value.
description: A map of additional system properties which will
be passed using the `-D` option to the JVM.
description: JVM Options for pods.
jmxOptions:
type: object
properties:
authentication:
type: object
properties:
type:
type: string
enum:
- password
description: Authentication type. Currently the only supported
types are `password`.`password` type creates a username
and protected port with no TLS.
required:
- type
description: Authentication configuration for connecting to
the JMX port.
description: JMX Options for Kafka brokers.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
metricsConfig:
type: object
properties:
type:
type: string
enum:
- jmxPrometheusExporter
description: Metrics type. Only 'jmxPrometheusExporter' supported
currently.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: ConfigMap entry where the Prometheus JMX Exporter
configuration is stored. For details of the structure of
this configuration, see the {JMXExporter}.
required:
- type
- valueFrom
description: Metrics configuration.
logging:
type: object
properties:
loggers:
x-kubernetes-preserve-unknown-fields: true
type: object
description: A Map from logger name to logger level.
type:
type: string
enum:
- inline
- external
description: Logging type, must be either 'inline' or 'external'.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: '`ConfigMap` entry where the logging configuration
is stored. '
required:
- type
description: Logging configuration for Kafka.
template:
type: object
properties:
statefulset:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
podManagementPolicy:
type: string
enum:
- OrderedReady
- Parallel
description: PodManagementPolicy which will be used for
this StatefulSet. Valid values are `Parallel` and `OrderedReady`.
Defaults to `Parallel`.
description: Template for Kafka `StatefulSet`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for Kafka `Pods`.
bootstrapService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka bootstrap `Service`.
brokersService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka broker `Service`.
externalBootstrapService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
externalTrafficPolicy:
type: string
enum:
- Local
- Cluster
description: Specifies whether the service routes external
traffic to node-local or cluster-wide endpoints. `Cluster`
may cause a second hop to another node and obscures
the client source IP. `Local` avoids a second hop for
LoadBalancer and Nodeport type services and preserves
the client source IP (when supported by the infrastructure).
If unspecified, Kubernetes will use `Cluster` as the
default.
loadBalancerSourceRanges:
type: array
items:
type: string
description: 'A list of CIDR ranges (for example `10.0.0.0/8`
or `130.211.204.1/32`) from which clients can connect
to load balancer type listeners. If supported by the
platform, traffic through the loadbalancer is restricted
to the specified CIDR ranges. This field is applicable
only for loadbalancer type services and is ignored if
the cloud provider does not support the feature. For
more information, see https://v1-17.docs.kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/. '
description: Template for Kafka external bootstrap `Service`.
perPodService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
externalTrafficPolicy:
type: string
enum:
- Local
- Cluster
description: Specifies whether the service routes external
traffic to node-local or cluster-wide endpoints. `Cluster`
may cause a second hop to another node and obscures
the client source IP. `Local` avoids a second hop for
LoadBalancer and Nodeport type services and preserves
the client source IP (when supported by the infrastructure).
If unspecified, Kubernetes will use `Cluster` as the
default.
loadBalancerSourceRanges:
type: array
items:
type: string
description: 'A list of CIDR ranges (for example `10.0.0.0/8`
or `130.211.204.1/32`) from which clients can connect
to load balancer type listeners. If supported by the
platform, traffic through the loadbalancer is restricted
to the specified CIDR ranges. This field is applicable
only for loadbalancer type services and is ignored if
the cloud provider does not support the feature. For
more information, see https://v1-17.docs.kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/. '
description: Template for Kafka per-pod `Services` used for
access from outside of Kubernetes.
externalBootstrapRoute:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka external bootstrap `Route`.
perPodRoute:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka per-pod `Routes` used for
access from outside of OpenShift.
externalBootstrapIngress:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka external bootstrap `Ingress`.
perPodIngress:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka per-pod `Ingress` used for
access from outside of Kubernetes.
persistentVolumeClaim:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for all Kafka `PersistentVolumeClaims`.
podDisruptionBudget:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata to apply to the `PodDistruptionBugetTemplate`
resource.
maxUnavailable:
type: integer
minimum: 0
description: Maximum number of unavailable pods to allow
automatic Pod eviction. A Pod eviction is allowed when
the `maxUnavailable` number of pods or fewer are unavailable
after the eviction. Setting this value to 0 prevents
all voluntary evictions, so the pods must be evicted
manually. Defaults to 1.
description: Template for Kafka `PodDisruptionBudget`.
kafkaContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Kafka broker container.
initContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Kafka init container.
clusterCaCert:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Secret with Kafka Cluster certificate
public key.
description: Template for Kafka cluster resources. The template
allows users to specify how are the `StatefulSet`, `Pods` and
`Services` generated.
version:
type: string
description: The kafka broker version. Defaults to {DefaultKafkaVersion}.
Consult the user documentation to understand the process required
to upgrade or downgrade the version.
required:
- replicas
- storage
- listeners
description: Configuration of the Kafka cluster.
zookeeper:
type: object
properties:
replicas:
type: integer
minimum: 1
description: The number of pods in the cluster.
image:
type: string
description: The docker image for the pods.
storage:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic volume allocation.
deleteClaim:
type: boolean
description: Specifies if the persistent volume claim has
to be deleted when the cluster is un-deployed.
id:
type: integer
minimum: 0
description: Storage identification number. It is mandatory
only for storage volumes defined in a storage of type 'jbod'.
overrides:
type: array
items:
type: object
properties:
class:
type: string
description: The storage class to use for dynamic volume
allocation for this broker.
broker:
type: integer
description: Id of the kafka broker (broker identifier).
description: Overrides for individual brokers. The `overrides`
field allows to specify a different configuration for different
brokers.
selector:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Specifies a specific persistent volume to use.
It contains key:value pairs representing labels for selecting
such a volume.
size:
type: string
description: When type=persistent-claim, defines the size
of the persistent volume claim (i.e 1Gi). Mandatory when
type=persistent-claim.
sizeLimit:
type: string
pattern: ^([0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
description: When type=ephemeral, defines the total amount
of local storage required for this EmptyDir volume (for
example 1Gi).
type:
type: string
enum:
- ephemeral
- persistent-claim
description: Storage type, must be either 'ephemeral' or 'persistent-claim'.
required:
- type
description: Storage configuration (disk). Cannot be updated.
config:
x-kubernetes-preserve-unknown-fields: true
type: object
description: 'The ZooKeeper broker config. Properties with the
following prefixes cannot be set: server., dataDir, dataLogDir,
clientPort, authProvider, quorum.auth, requireClientAuthScheme,
snapshot.trust.empty, standaloneEnabled, reconfigEnabled, 4lw.commands.whitelist,
secureClientPort, ssl., serverCnxnFactory, sslQuorum (with the
exception of: ssl.protocol, ssl.quorum.protocol, ssl.enabledProtocols,
ssl.quorum.enabledProtocols, ssl.ciphersuites, ssl.quorum.ciphersuites,
ssl.hostnameVerification, ssl.quorum.hostnameVerification).'
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
jvmOptions:
type: object
properties:
"-XX":
x-kubernetes-preserve-unknown-fields: true
type: object
description: A map of -XX options to the JVM.
"-Xms":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xms option to to the JVM.
"-Xmx":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xmx option to to the JVM.
gcLoggingEnabled:
type: boolean
description: Specifies whether the Garbage Collection logging
is enabled. The default is false.
javaSystemProperties:
type: array
items:
type: object
properties:
name:
type: string
description: The system property name.
value:
type: string
description: The system property value.
description: A map of additional system properties which will
be passed using the `-D` option to the JVM.
description: JVM Options for pods.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
metricsConfig:
type: object
properties:
type:
type: string
enum:
- jmxPrometheusExporter
description: Metrics type. Only 'jmxPrometheusExporter' supported
currently.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: ConfigMap entry where the Prometheus JMX Exporter
configuration is stored. For details of the structure of
this configuration, see the {JMXExporter}.
required:
- type
- valueFrom
description: Metrics configuration.
logging:
type: object
properties:
loggers:
x-kubernetes-preserve-unknown-fields: true
type: object
description: A Map from logger name to logger level.
type:
type: string
enum:
- inline
- external
description: Logging type, must be either 'inline' or 'external'.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: '`ConfigMap` entry where the logging configuration
is stored. '
required:
- type
description: Logging configuration for ZooKeeper.
template:
type: object
properties:
statefulset:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
podManagementPolicy:
type: string
enum:
- OrderedReady
- Parallel
description: PodManagementPolicy which will be used for
this StatefulSet. Valid values are `Parallel` and `OrderedReady`.
Defaults to `Parallel`.
description: Template for ZooKeeper `StatefulSet`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for ZooKeeper `Pods`.
clientService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for ZooKeeper client `Service`.
nodesService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for ZooKeeper nodes `Service`.
persistentVolumeClaim:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for all ZooKeeper `PersistentVolumeClaims`.
podDisruptionBudget:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata to apply to the `PodDistruptionBugetTemplate`
resource.
maxUnavailable:
type: integer
minimum: 0
description: Maximum number of unavailable pods to allow
automatic Pod eviction. A Pod eviction is allowed when
the `maxUnavailable` number of pods or fewer are unavailable
after the eviction. Setting this value to 0 prevents
all voluntary evictions, so the pods must be evicted
manually. Defaults to 1.
description: Template for ZooKeeper `PodDisruptionBudget`.
zookeeperContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the ZooKeeper container.
description: Template for ZooKeeper cluster resources. The template
allows users to specify how are the `StatefulSet`, `Pods` and
`Services` generated.
required:
- replicas
- storage
description: Configuration of the ZooKeeper cluster.
entityOperator:
type: object
properties:
topicOperator:
type: object
properties:
watchedNamespace:
type: string
description: The namespace the Topic Operator should watch.
image:
type: string
description: The image to use for the Topic Operator.
reconciliationIntervalSeconds:
type: integer
minimum: 0
description: Interval between periodic reconciliations.
zookeeperSessionTimeoutSeconds:
type: integer
minimum: 0
description: Timeout for the ZooKeeper session.
startupProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod startup checking.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
topicMetadataMaxAttempts:
type: integer
minimum: 0
description: The number of attempts at getting topic metadata.
logging:
type: object
properties:
loggers:
x-kubernetes-preserve-unknown-fields: true
type: object
description: A Map from logger name to logger level.
type:
type: string
enum:
- inline
- external
description: Logging type, must be either 'inline' or
'external'.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap
containing the configuration.
description: '`ConfigMap` entry where the logging configuration
is stored. '
required:
- type
description: Logging configuration.
jvmOptions:
type: object
properties:
"-XX":
x-kubernetes-preserve-unknown-fields: true
type: object
description: A map of -XX options to the JVM.
"-Xms":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xms option to to the JVM.
"-Xmx":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xmx option to to the JVM.
gcLoggingEnabled:
type: boolean
description: Specifies whether the Garbage Collection
logging is enabled. The default is false.
javaSystemProperties:
type: array
items:
type: object
properties:
name:
type: string
description: The system property name.
value:
type: string
description: The system property value.
description: A map of additional system properties which
will be passed using the `-D` option to the JVM.
description: JVM Options for pods.
description: Configuration of the Topic Operator.
userOperator:
type: object
properties:
watchedNamespace:
type: string
description: The namespace the User Operator should watch.
image:
type: string
description: The image to use for the User Operator.
reconciliationIntervalSeconds:
type: integer
minimum: 0
description: Interval between periodic reconciliations.
zookeeperSessionTimeoutSeconds:
type: integer
minimum: 0
description: Timeout for the ZooKeeper session.
secretPrefix:
type: string
description: The prefix that will be added to the KafkaUser
name to be used as the Secret name.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
logging:
type: object
properties:
loggers:
x-kubernetes-preserve-unknown-fields: true
type: object
description: A Map from logger name to logger level.
type:
type: string
enum:
- inline
- external
description: Logging type, must be either 'inline' or
'external'.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap
containing the configuration.
description: '`ConfigMap` entry where the logging configuration
is stored. '
required:
- type
description: Logging configuration.
jvmOptions:
type: object
properties:
"-XX":
x-kubernetes-preserve-unknown-fields: true
type: object
description: A map of -XX options to the JVM.
"-Xms":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xms option to to the JVM.
"-Xmx":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xmx option to to the JVM.
gcLoggingEnabled:
type: boolean
description: Specifies whether the Garbage Collection
logging is enabled. The default is false.
javaSystemProperties:
type: array
items:
type: object
properties:
name:
type: string
description: The system property name.
value:
type: string
description: The system property value.
description: A map of additional system properties which
will be passed using the `-D` option to the JVM.
description: JVM Options for pods.
description: Configuration of the User Operator.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
tlsSidecar:
type: object
properties:
image:
type: string
description: The docker image for the container.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
logLevel:
type: string
enum:
- emerg
- alert
- crit
- err
- warning
- notice
- info
- debug
description: The log level for the TLS sidecar. Default value
is `notice`.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
description: TLS sidecar configuration.
template:
type: object
properties:
deployment:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Entity Operator `Deployment`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for Entity Operator `Pods`.
tlsSidecarContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Entity Operator TLS sidecar
container.
topicOperatorContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Entity Topic Operator container.
userOperatorContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Entity User Operator container.
description: Template for Entity Operator resources. The template
allows users to specify how is the `Deployment` and `Pods` generated.
description: Configuration of the Entity Operator.
clusterCa:
type: object
properties:
generateCertificateAuthority:
type: boolean
description: If true then Certificate Authority certificates will
be generated automatically. Otherwise the user will need to
provide a Secret with the CA certificate. Default is true.
generateSecretOwnerReference:
type: boolean
description: If `true`, the Cluster and Client CA Secrets are
configured with the `ownerReference` set to the `Kafka` resource.
If the `Kafka` resource is deleted when `true`, the CA Secrets
are also deleted. If `false`, the `ownerReference` is disabled.
If the `Kafka` resource is deleted when `false`, the CA Secrets
are retained and available for reuse. Default is `true`.
validityDays:
type: integer
minimum: 1
description: The number of days generated certificates should
be valid for. The default is 365.
renewalDays:
type: integer
minimum: 1
description: The number of days in the certificate renewal period.
This is the number of days before the a certificate expires
during which renewal actions may be performed. When `generateCertificateAuthority`
is true, this will cause the generation of a new certificate.
When `generateCertificateAuthority` is true, this will cause
extra logging at WARN level about the pending certificate expiry.
Default is 30.
certificateExpirationPolicy:
type: string
enum:
- renew-certificate
- replace-key
description: How should CA certificate expiration be handled when
`generateCertificateAuthority=true`. The default is for a new
CA certificate to be generated reusing the existing private
key.
description: Configuration of the cluster certificate authority.
clientsCa:
type: object
properties:
generateCertificateAuthority:
type: boolean
description: If true then Certificate Authority certificates will
be generated automatically. Otherwise the user will need to
provide a Secret with the CA certificate. Default is true.
generateSecretOwnerReference:
type: boolean
description: If `true`, the Cluster and Client CA Secrets are
configured with the `ownerReference` set to the `Kafka` resource.
If the `Kafka` resource is deleted when `true`, the CA Secrets
are also deleted. If `false`, the `ownerReference` is disabled.
If the `Kafka` resource is deleted when `false`, the CA Secrets
are retained and available for reuse. Default is `true`.
validityDays:
type: integer
minimum: 1
description: The number of days generated certificates should
be valid for. The default is 365.
renewalDays:
type: integer
minimum: 1
description: The number of days in the certificate renewal period.
This is the number of days before the a certificate expires
during which renewal actions may be performed. When `generateCertificateAuthority`
is true, this will cause the generation of a new certificate.
When `generateCertificateAuthority` is true, this will cause
extra logging at WARN level about the pending certificate expiry.
Default is 30.
certificateExpirationPolicy:
type: string
enum:
- renew-certificate
- replace-key
description: How should CA certificate expiration be handled when
`generateCertificateAuthority=true`. The default is for a new
CA certificate to be generated reusing the existing private
key.
description: Configuration of the clients certificate authority.
cruiseControl:
type: object
properties:
image:
type: string
description: The docker image for the pods.
tlsSidecar:
type: object
properties:
image:
type: string
description: The docker image for the container.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking.
logLevel:
type: string
enum:
- emerg
- alert
- crit
- err
- warning
- notice
- info
- debug
description: The log level for the TLS sidecar. Default value
is `notice`.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe
to be considered failed after having succeeded. Defaults
to 3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health
is first checked. Default to 15 seconds. Minimum value
is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe
to be considered successful after having failed. Defaults
to 1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
description: TLS sidecar configuration.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve for the Cruise
Control container.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness checking for the Cruise Control container.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness checking for the Cruise Control container.
jvmOptions:
type: object
properties:
"-XX":
x-kubernetes-preserve-unknown-fields: true
type: object
description: A map of -XX options to the JVM.
"-Xms":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xms option to to the JVM.
"-Xmx":
type: string
pattern: '[0-9]+[mMgG]?'
description: -Xmx option to to the JVM.
gcLoggingEnabled:
type: boolean
description: Specifies whether the Garbage Collection logging
is enabled. The default is false.
javaSystemProperties:
type: array
items:
type: object
properties:
name:
type: string
description: The system property name.
value:
type: string
description: The system property value.
description: A map of additional system properties which will
be passed using the `-D` option to the JVM.
description: JVM Options for the Cruise Control container.
logging:
type: object
properties:
loggers:
x-kubernetes-preserve-unknown-fields: true
type: object
description: A Map from logger name to logger level.
type:
type: string
enum:
- inline
- external
description: Logging type, must be either 'inline' or 'external'.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: '`ConfigMap` entry where the logging configuration
is stored. '
required:
- type
description: Logging configuration (log4j1) for Cruise Control.
template:
type: object
properties:
deployment:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Cruise Control `Deployment`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for Cruise Control `Pods`.
apiService:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Cruise Control API `Service`.
podDisruptionBudget:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata to apply to the `PodDistruptionBugetTemplate`
resource.
maxUnavailable:
type: integer
minimum: 0
description: Maximum number of unavailable pods to allow
automatic Pod eviction. A Pod eviction is allowed when
the `maxUnavailable` number of pods or fewer are unavailable
after the eviction. Setting this value to 0 prevents
all voluntary evictions, so the pods must be evicted
manually. Defaults to 1.
description: Template for Cruise Control `PodDisruptionBudget`.
cruiseControlContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Cruise Control container.
tlsSidecarContainer:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Cruise Control TLS sidecar container.
description: Template to specify how Cruise Control resources,
`Deployments` and `Pods`, are generated.
brokerCapacity:
type: object
properties:
disk:
type: string
pattern: ^[0-9]+([.][0-9]*)?([KMGTPE]i?|e[0-9]+)?$
description: Broker capacity for disk in bytes, for example,
100Gi.
cpuUtilization:
type: integer
minimum: 0
maximum: 100
description: Broker capacity for CPU resource utilization
as a percentage (0 - 100).
inboundNetwork:
type: string
pattern: '[0-9]+([KMG]i?)?B/s'
description: Broker capacity for inbound network throughput
in bytes per second, for example, 10000KB/s.
outboundNetwork:
type: string
pattern: '[0-9]+([KMG]i?)?B/s'
description: Broker capacity for outbound network throughput
in bytes per second, for example 10000KB/s.
description: The Cruise Control `brokerCapacity` configuration.
config:
x-kubernetes-preserve-unknown-fields: true
type: object
description: 'The Cruise Control configuration. For a full list
of configuration options refer to https://github.com/linkedin/cruise-control/wiki/Configurations.
Note that properties with the following prefixes cannot be set:
bootstrap.servers, client.id, zookeeper., network., security.,
failed.brokers.zk.path,webserver.http., webserver.api.urlprefix,
webserver.session.path, webserver.accesslog., two.step., request.reason.required,metric.reporter.sampler.bootstrap.servers,
metric.reporter.topic, partition.metric.sample.store.topic,
broker.metric.sample.store.topic,capacity.config.file, self.healing.,
anomaly.detection., ssl. (with the exception of: ssl.cipher.suites,
ssl.protocol, ssl.enabled.protocols, webserver.http.cors.enabled,webserver.http.cors.origin,
webserver.http.cors.exposeheaders).'
metricsConfig:
type: object
properties:
type:
type: string
enum:
- jmxPrometheusExporter
description: Metrics type. Only 'jmxPrometheusExporter' supported
currently.
valueFrom:
type: object
properties:
configMapKeyRef:
type: object
properties:
key:
type: string
name:
type: string
optional:
type: boolean
description: Reference to the key in the ConfigMap containing
the configuration.
description: ConfigMap entry where the Prometheus JMX Exporter
configuration is stored. For details of the structure of
this configuration, see the {JMXExporter}.
required:
- type
- valueFrom
description: Metrics configuration.
description: Configuration for Cruise Control deployment. Deploys
a Cruise Control instance when specified.
jmxTrans:
type: object
properties:
image:
type: string
description: The image to use for the JmxTrans.
outputDefinitions:
type: array
items:
type: object
properties:
outputType:
type: string
description: Template for setting the format of the data
that will be pushed.For more information see https://github.com/jmxtrans/jmxtrans/wiki/OutputWriters[JmxTrans
OutputWriters].
host:
type: string
description: The DNS/hostname of the remote host that the
data is pushed to.
port:
type: integer
description: The port of the remote host that the data is
pushed to.
flushDelayInSeconds:
type: integer
description: How many seconds the JmxTrans waits before
pushing a new set of data out.
typeNames:
type: array
items:
type: string
description: Template for filtering data to be included
in response to a wildcard query. For more information
see https://github.com/jmxtrans/jmxtrans/wiki/Queries[JmxTrans
queries].
name:
type: string
description: Template for setting the name of the output
definition. This is used to identify where to send the
results of queries should be sent.
required:
- outputType
- name
description: Defines the output hosts that will be referenced
later on. For more information on these properties see, xref:type-JmxTransOutputDefinitionTemplate-reference[`JmxTransOutputDefinitionTemplate`
schema reference].
logLevel:
type: string
description: Sets the logging level of the JmxTrans deployment.For
more information see, https://github.com/jmxtrans/jmxtrans-agent/wiki/Troubleshooting[JmxTrans
Logging Level].
kafkaQueries:
type: array
items:
type: object
properties:
targetMBean:
type: string
description: If using wildcards instead of a specific MBean
then the data is gathered from multiple MBeans. Otherwise
if specifying an MBean then data is gathered from that
specified MBean.
attributes:
type: array
items:
type: string
description: Determine which attributes of the targeted
MBean should be included.
outputs:
type: array
items:
type: string
description: List of the names of output definitions specified
in the spec.kafka.jmxTrans.outputDefinitions that have
defined where JMX metrics are pushed to, and in which
data format.
required:
- targetMBean
- attributes
- outputs
description: Queries to send to the Kafka brokers to define what
data should be read from each broker. For more information on
these properties see, xref:type-JmxTransQueryTemplate-reference[`JmxTransQueryTemplate`
schema reference].
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
template:
type: object
properties:
deployment:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for JmxTrans `Deployment`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for JmxTrans `Pods`.
container:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for JmxTrans container.
description: Template for JmxTrans resources.
required:
- outputDefinitions
- kafkaQueries
description: Configuration for JmxTrans. When the property is present
a JmxTrans deployment is created for gathering JMX metrics from
each Kafka broker. For more information see https://github.com/jmxtrans/jmxtrans[JmxTrans
GitHub].
kafkaExporter:
type: object
properties:
image:
type: string
description: The docker image for the pods.
groupRegex:
type: string
description: Regular expression to specify which consumer groups
to collect. Default value is `.*`.
topicRegex:
type: string
description: Regular expression to specify which topics to collect.
Default value is `.*`.
resources:
type: object
properties:
limits:
x-kubernetes-preserve-unknown-fields: true
type: object
requests:
x-kubernetes-preserve-unknown-fields: true
type: object
description: CPU and memory resources to reserve.
logging:
type: string
description: 'Only log messages with the given severity or above.
Valid levels: [`debug`, `info`, `warn`, `error`, `fatal`]. Default
log level is `info`.'
enableSaramaLogging:
type: boolean
description: Enable Sarama logging, a Go client library used by
the Kafka Exporter.
template:
type: object
properties:
deployment:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka Exporter `Deployment`.
pod:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
imagePullSecrets:
type: array
items:
type: object
properties:
name:
type: string
description: List of references to secrets in the same
namespace to use for pulling any of the images used
by this Pod. When the `STRIMZI_IMAGE_PULL_SECRETS` environment
variable in Cluster Operator and the `imagePullSecrets`
option are specified, only the `imagePullSecrets` variable
is used and the `STRIMZI_IMAGE_PULL_SECRETS` variable
is ignored.
securityContext:
type: object
properties:
fsGroup:
type: integer
fsGroupChangePolicy:
type: string
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
supplementalGroups:
type: array
items:
type: integer
sysctls:
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Configures pod-level security attributes
and common container settings.
terminationGracePeriodSeconds:
type: integer
minimum: 0
description: The grace period is the duration in seconds
after the processes running in the pod are sent a termination
signal, and the time when the processes are forcibly
halted with a kill signal. Set this value to longer
than the expected cleanup time for your process. Value
must be a non-negative integer. A zero value indicates
delete immediately. You might need to increase the grace
period for very large Kafka clusters, so that the Kafka
brokers have enough time to transfer their work to another
broker before they are terminated. Defaults to 30 seconds.
affinity:
type: object
properties:
nodeAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
preference:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: object
properties:
nodeSelectorTerms:
type: array
items:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchFields:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
podAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
podAntiAffinity:
type: object
properties:
preferredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
podAffinityTerm:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
weight:
type: integer
requiredDuringSchedulingIgnoredDuringExecution:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
namespaces:
type: array
items:
type: string
topologyKey:
type: string
description: The pod's affinity rules.
tolerations:
type: array
items:
type: object
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
type: integer
value:
type: string
description: The pod's tolerations.
priorityClassName:
type: string
description: The name of the priority class used to assign
priority to the pods. For more information about priority
classes, see {K8sPriorityClass}.
schedulerName:
type: string
description: The name of the scheduler used to dispatch
this `Pod`. If not specified, the default scheduler
will be used.
hostAliases:
type: array
items:
type: object
properties:
hostnames:
type: array
items:
type: string
ip:
type: string
description: The pod's HostAliases. HostAliases is an
optional list of hosts and IPs that will be injected
into the pod's hosts file if specified.
topologySpreadConstraints:
type: array
items:
type: object
properties:
labelSelector:
type: object
properties:
matchExpressions:
type: array
items:
type: object
properties:
key:
type: string
operator:
type: string
values:
type: array
items:
type: string
matchLabels:
x-kubernetes-preserve-unknown-fields: true
type: object
maxSkew:
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
description: The pod's topology spread constraints.
description: Template for Kafka Exporter `Pods`.
service:
type: object
properties:
metadata:
type: object
properties:
labels:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Labels added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
annotations:
x-kubernetes-preserve-unknown-fields: true
type: object
description: Annotations added to the resource template.
Can be applied to different resources such as `StatefulSets`,
`Deployments`, `Pods`, and `Services`.
description: Metadata applied to the resource.
description: Template for Kafka Exporter `Service`.
container:
type: object
properties:
env:
type: array
items:
type: object
properties:
name:
type: string
description: The environment variable key.
value:
type: string
description: The environment variable value.
description: Environment variables which should be applied
to the container.
securityContext:
type: object
properties:
allowPrivilegeEscalation:
type: boolean
capabilities:
type: object
properties:
add:
type: array
items:
type: string
drop:
type: array
items:
type: string
privileged:
type: boolean
procMount:
type: string
readOnlyRootFilesystem:
type: boolean
runAsGroup:
type: integer
runAsNonRoot:
type: boolean
runAsUser:
type: integer
seLinuxOptions:
type: object
properties:
level:
type: string
role:
type: string
type:
type: string
user:
type: string
seccompProfile:
type: object
properties:
localhostProfile:
type: string
type:
type: string
windowsOptions:
type: object
properties:
gmsaCredentialSpec:
type: string
gmsaCredentialSpecName:
type: string
runAsUserName:
type: string
description: Security context for the container.
description: Template for the Kafka Exporter container.
description: Customization of deployment templates and pods.
livenessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod liveness check.
readinessProbe:
type: object
properties:
failureThreshold:
type: integer
minimum: 1
description: Minimum consecutive failures for the probe to
be considered failed after having succeeded. Defaults to
3. Minimum value is 1.
initialDelaySeconds:
type: integer
minimum: 0
description: The initial delay before first the health is
first checked. Default to 15 seconds. Minimum value is 0.
periodSeconds:
type: integer
minimum: 1
description: How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
successThreshold:
type: integer
minimum: 1
description: Minimum consecutive successes for the probe to
be considered successful after having failed. Defaults to
1. Must be 1 for liveness. Minimum value is 1.
timeoutSeconds:
type: integer
minimum: 1
description: The timeout for each attempted health check.
Default to 5 seconds. Minimum value is 1.
description: Pod readiness check.
description: Configuration of the Kafka Exporter. Kafka Exporter can
provide additional metrics, for example lag of consumer group at
topic/partition.
maintenanceTimeWindows:
type: array
items:
type: string
description: A list of time windows for maintenance tasks (that is,
certificates renewal). Each time window is defined by a cron expression.
required:
- kafka
- zookeeper
description: The specification of the Kafka and ZooKeeper clusters, and
Topic Operator.
status:
type: object
properties:
conditions:
type: array
items:
type: object
properties:
type:
type: string
description: The unique identifier of a condition, used to distinguish
between other conditions in the resource.
status:
type: string
description: The status of the condition, either True, False
or Unknown.
lastTransitionTime:
type: string
description: Last time the condition of a type changed from
one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ',
in the UTC time zone.
reason:
type: string
description: The reason for the condition's last transition
(a single word in CamelCase).
message:
type: string
description: Human-readable message indicating details about
the condition's last transition.
description: List of status conditions.
observedGeneration:
type: integer
description: The generation of the CRD that was last reconciled by
the operator.
listeners:
type: array
items:
type: object
properties:
type:
type: string
description: 'The type of the listener. Can be one of the following
three types: `plain`, `tls`, and `external`.'
addresses:
type: array
items:
type: object
properties:
host:
type: string
description: The DNS name or IP address of the Kafka bootstrap
service.
port:
type: integer
description: The port of the Kafka bootstrap service.
description: A list of the addresses for this listener.
bootstrapServers:
type: string
description: A comma-separated list of `host:port` pairs for
connecting to the Kafka cluster using this listener.
certificates:
type: array
items:
type: string
description: A list of TLS certificates which can be used to
verify the identity of the server when connecting to the given
listener. Set only for `tls` and `external` listeners.
description: Addresses of the internal and external listeners.
clusterId:
type: string
description: Kafka cluster Id.
description: The status of the Kafka and ZooKeeper clusters, and Topic
Operator.
| 54.346148 | 307 | 0.330133 |
f7c479576d8ea724a9378636392bd3eb19e0aa03 | 192 | yaml | YAML | ena-wms-pvc.yaml | ctr26/covid-workflow-manager | 8c96c6e3429786ba2ffd766dcf2f0c6dd96e7041 | [
"Apache-2.0"
] | 5 | 2020-06-29T19:50:36.000Z | 2022-01-31T09:16:29.000Z | ena-wms-pvc.yaml | ctr26/covid-workflow-manager | 8c96c6e3429786ba2ffd766dcf2f0c6dd96e7041 | [
"Apache-2.0"
] | 10 | 2020-06-29T19:48:57.000Z | 2022-02-13T11:54:06.000Z | ena-wms-pvc.yaml | ctr26/covid-workflow-manager | 8c96c6e3429786ba2ffd766dcf2f0c6dd96e7041 | [
"Apache-2.0"
] | 2 | 2020-06-25T13:40:52.000Z | 2021-02-03T20:23:09.000Z | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ena-wms-pvc
spec:
resources:
requests:
storage: 10Gi
storageClassName: nfs-client
accessModes:
- ReadWriteMany
| 16 | 30 | 0.723958 |
f7c4fa305a89775e9c42ddf77878ebe5e5336624 | 4,592 | yaml | YAML | config/301-googlesheettarget.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | config/301-googlesheettarget.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | config/301-googlesheettarget.yaml | cab105/triggermesh | 6c2b08c9f9ccef5652f8b3433831844a47dba757 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 TriggerMesh Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: googlesheettargets.targets.triggermesh.io
labels:
knative.dev/crd-install: 'true'
triggermesh.io/crd-install: 'true'
duck.knative.dev/addressable: 'true'
annotations:
registry.triggermesh.io/acceptedEventTypes: |
[
{ "type": "io.triggermesh.googlesheet.append" },
{ "type": "*" }
]
registry.knative.dev/eventTypes: |
[
{ "type": "io.triggermesh.targets.response" }
]
spec:
group: targets.triggermesh.io
names:
kind: GoogleSheetTarget
plural: googlesheettargets
categories:
- all
- knative
- eventing
- targets
scope: Namespaced
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
description: TriggerMesh event target for appending or updating a Googlesheet.
properties:
spec:
type: object
description: Desired state of event target.
properties:
id:
type: string
description: Googlesheet ID associated with the document being targeted.
minLength: 1
defaultPrefix:
type: string
description: A prefix to be used when creating a new sheet inside a document.
minLength: 1
googleServiceAccount:
description: Google service account token used to authenticate access to the Googlesheet document.
type: object
properties:
secretKeyRef:
type: object
properties:
key:
type: string
minLength: 1
name:
type: string
minLength: 1
required:
- id
- googleServiceAccount
- defaultPrefix
status:
type: object
description: Reported status of the event target.
properties:
acceptedEventTypes:
type: array
items:
type: string
ceAttributes:
type: array
items:
type: object
properties:
type:
type: string
source:
type: string
required:
- type
- source
observedGeneration:
type: integer
format: int64
conditions:
type: array
items:
type: object
properties:
type:
type: string
status:
type: string
enum: ['True', 'False', Unknown]
severity:
type: string
enum: [Error, Warning, Info]
reason:
type: string
message:
type: string
lastTransitionTime:
type: string
format: date-time
required:
- type
- status
address:
type: object
properties:
url:
type: string
additionalPrinterColumns:
- name: URL
type: string
jsonPath: .status.address.url
- name: Ready
type: string
jsonPath: .status.conditions[?(@.type=='Ready')].status
- name: Reason
type: string
jsonPath: .status.conditions[?(@.type=='Ready')].reason
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
| 31.027027 | 114 | 0.501742 |
f7c516f00a5fd604b694c0efb18c1d7a121c36ca | 249 | yaml | YAML | Kubernetes/linux/addons/kube-heapster-service.yaml | rjaini/SDN | 6b5a4314821978067f2f68778248402b8753b3eb | [
"MIT"
] | 190 | 2019-05-08T16:48:08.000Z | 2022-03-19T15:54:43.000Z | Kubernetes/linux/addons/kube-heapster-service.yaml | rjaini/SDN | 6b5a4314821978067f2f68778248402b8753b3eb | [
"MIT"
] | 129 | 2019-05-08T19:56:04.000Z | 2022-03-29T08:11:31.000Z | Kubernetes/linux/addons/kube-heapster-service.yaml | rjaini/SDN | 6b5a4314821978067f2f68778248402b8753b3eb | [
"MIT"
] | 290 | 2019-05-14T21:46:18.000Z | 2022-03-25T07:59:06.000Z | apiVersion: v1
kind: Service
metadata:
labels:
kubernetes.io/cluster-service: "true"
kubernetes.io/name: Heapster
name: heapster
namespace: kube-system
spec:
ports:
- port: 80
targetPort: 8082
selector:
k8s-app: heapster
| 16.6 | 41 | 0.694779 |
f7c5232ef88be5c186cbe747ac99fdba5b29d7cb | 4,485 | yaml | YAML | config/config-observability.yaml | projectriff/bindings | bec6c070dab706923487e6b02cfaae668e04ab4c | [
"Apache-2.0"
] | 2 | 2020-03-26T17:56:07.000Z | 2020-05-05T20:47:02.000Z | config/config-observability.yaml | projectriff/bindings | bec6c070dab706923487e6b02cfaae668e04ab4c | [
"Apache-2.0"
] | 6 | 2020-03-23T23:07:37.000Z | 2020-06-09T13:08:52.000Z | config/config-observability.yaml | projectriff/bindings | bec6c070dab706923487e6b02cfaae668e04ab4c | [
"Apache-2.0"
] | 4 | 2020-03-10T21:17:44.000Z | 2020-07-06T20:00:33.000Z | # Copyright 2019 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
name: config-observability
namespace: image-binding
labels:
bindings.projectriff.io/release: devel
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
# but serves to illustrate the available configuration
# options and document them in a way that is accessible
# to users that `kubectl edit` this config map.
#
# These sample configuration options may be copied out of
# this example block and unindented to be in the data block
# to actually change the configuration.
# If non-empty, this enables queue proxy writing request logs to stdout.
# The value determines the shape of the request logs and it must be a valid go text/template.
# It is important to keep this as a single line. Multiple lines are parsed as separate entities
# by most collection agents and will split the request logs into multiple records.
#
# The following fields and functions are available to the template:
#
# Request: An http.Request (see https://golang.org/pkg/net/http/#Request)
# representing an HTTP request received by the server.
#
# Response:
# struct {
# Code int // HTTP status code (see https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml)
# Size int // An int representing the size of the response.
# Latency float64 // A float64 representing the latency of the response in seconds.
# }
#
# Revision:
# struct {
# Name string // Knative revision name
# Namespace string // Knative revision namespace
# Service string // Knative service name
# Configuration string // Knative configuration name
# PodName string // Name of the pod hosting the revision
# PodIP string // IP of the pod hosting the revision
# }
#
logging.request-log-template: '{"httpRequest": {"requestMethod": "{{.Request.Method}}", "requestUrl": "{{js .Request.RequestURI}}", "requestSize": "{{.Request.ContentLength}}", "status": {{.Response.Code}}, "responseSize": "{{.Response.Size}}", "userAgent": "{{js .Request.UserAgent}}", "remoteIp": "{{js .Request.RemoteAddr}}", "serverIp": "{{.Revision.PodIP}}", "referer": "{{js .Request.Referer}}", "latency": "{{.Response.Latency}}s", "protocol": "{{.Request.Proto}}"}, "traceId": "{{index .Request.Header "X-B3-Traceid"}}"}'
# metrics.backend-destination field specifies the system metrics destination.
# It supports either prometheus (the default) or stackdriver.
# Note: Using stackdriver will incur additional charges
metrics.backend-destination: prometheus
# metrics.request-metrics-backend-destination specifies the request metrics
# destination. If non-empty, it enables queue proxy to send request metrics.
# Currently supported values: prometheus, stackdriver.
metrics.request-metrics-backend-destination: prometheus
# metrics.stackdriver-project-id field specifies the stackdriver project ID. This
# field is optional. When running on GCE, application default credentials will be
# used if this field is not provided.
metrics.stackdriver-project-id: "<your stackdriver project id>"
# metrics.allow-stackdriver-custom-metrics indicates whether it is allowed to send metrics to
# Stackdriver using "global" resource type and custom metric type if the
# metrics are not supported by "knative_revision" resource type. Setting this
# flag to "true" could cause extra Stackdriver charge.
# If metrics.backend-destination is not Stackdriver, this is ignored.
metrics.allow-stackdriver-custom-metrics: "false"
| 49.833333 | 533 | 0.684504 |
f7c527b99af089227b870e5928d7d8399fb7929b | 1,678 | yaml | YAML | kubernetes-controllers/paymentservice-deployment.yaml | otus-kuber-2021-03/skuleshov_platform | 82e749b0d4332b88446596b2772f55ab37aaf7bc | [
"MIT"
] | null | null | null | kubernetes-controllers/paymentservice-deployment.yaml | otus-kuber-2021-03/skuleshov_platform | 82e749b0d4332b88446596b2772f55ab37aaf7bc | [
"MIT"
] | 3 | 2021-04-06T21:17:23.000Z | 2021-04-13T20:48:48.000Z | kubernetes-controllers/paymentservice-deployment.yaml | otus-kuber-2021-03/skuleshov_platform | 82e749b0d4332b88446596b2772f55ab37aaf7bc | [
"MIT"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: paymentservice
labels:
app: paymentservice
spec:
replicas: 3
selector:
matchLabels:
app: paymentservice
template:
metadata:
labels:
app: paymentservice
spec:
# serviceAccountName: default
# terminationGracePeriodSeconds: 5
containers:
- name: server
image: skuleshov/payment_service:v0.0.2
# ports:
# - containerPort: 50051
# env:
# - name: PORT
# value: "50051"
# readinessProbe:
# exec:
# command: ["/bin/grpc_health_probe", "-addr=:50051"]
# livenessProbe:
# exec:
# command: ["/bin/grpc_health_probe", "-addr=:50051"]
# resources:
# requests:
# cpu: 100m
# memory: 64Mi
# limits:
# cpu: 200m
# memory: 128Mi
#---
#apiVersion: v1
#kind: Service
#metadata:
# name: paymentservice
#spec:
# type: ClusterIP
# selector:
# app: paymentservice
# ports:
# - name: grpc
# port: 50051
# targetPort: 50051
| 25.044776 | 74 | 0.628129 |
f7c54b617abe992d35c55dbfbdd45cfb081f986d | 530 | yaml | YAML | openshift/prod-service-config.yaml | eveardown/estafet-microservices-scrum-api-project | ec579474df87e07b89a66d684bd5ec5daf1b7830 | [
"MIT"
] | null | null | null | openshift/prod-service-config.yaml | eveardown/estafet-microservices-scrum-api-project | ec579474df87e07b89a66d684bd5ec5daf1b7830 | [
"MIT"
] | null | null | null | openshift/prod-service-config.yaml | eveardown/estafet-microservices-scrum-api-project | ec579474df87e07b89a66d684bd5ec5daf1b7830 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
labels:
app: project-api
name: project-api
namespace: prod
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
- name: 8443-tcp
port: 8443
protocol: TCP
targetPort: 8443
- name: 8778-tcp
port: 8778
protocol: TCP
targetPort: 8778
selector:
app: project-api
deploymentconfig: project-api
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
| 18.275862 | 34 | 0.59434 |
f7c56bfbb93b6fb6ca0ebb10a08053c37b5e6d19 | 435 | yaml | YAML | config/rbac/kubemarkmachine_editor_role.yaml | deepakmega/cluster-api-provider-kubemark | 0850921f79be39c84883b66f89623d20a2aaaaad | [
"Apache-2.0"
] | 8 | 2021-03-18T10:19:40.000Z | 2022-03-29T14:36:03.000Z | config/rbac/kubemarkmachine_editor_role.yaml | deepakmega/cluster-api-provider-kubemark | 0850921f79be39c84883b66f89623d20a2aaaaad | [
"Apache-2.0"
] | 35 | 2021-03-11T17:18:57.000Z | 2022-03-03T19:29:27.000Z | config/rbac/kubemarkmachine_editor_role.yaml | deepakmega/cluster-api-provider-kubemark | 0850921f79be39c84883b66f89623d20a2aaaaad | [
"Apache-2.0"
] | 15 | 2020-12-14T21:50:16.000Z | 2022-02-18T15:49:43.000Z | # permissions for end users to edit kubemarkmachines.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kubemarkmachine-editor-role
rules:
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- kubemarkmachines
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- kubemarkmachines/status
verbs:
- get
| 17.4 | 53 | 0.714943 |
f7c5908f69d544c2d1847352e7f1b1d4a6bfda6d | 514 | yml | YAML | open-policy-agent/tests/deploy/21-deploy-latest-tag1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 18 | 2020-06-25T21:34:08.000Z | 2022-03-21T06:50:00.000Z | open-policy-agent/tests/deploy/21-deploy-latest-tag1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 5 | 2020-12-12T20:32:29.000Z | 2021-10-08T08:01:08.000Z | open-policy-agent/tests/deploy/21-deploy-latest-tag1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 8 | 2020-09-17T16:41:28.000Z | 2021-12-15T07:23:31.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: test
name: test21
namespace: default
spec:
replicas: 1
selector:
matchLabels:
run: test
template:
metadata:
labels:
run: test
spec:
containers:
- image: redis:latest
name: container1
- image: docker.io/dgeiger/alpine:3
name: container2
- image: docker.io/dgeiger/nginx@sha256:e770165fef9e36b990882a4083d8ccf5e29e469a8609bb6b2e3b47d9510e2c8d
name: container3
| 20.56 | 110 | 0.659533 |
f7c5b80e731bc860cb9372f85abe83533cd88cd2 | 1,329 | yaml | YAML | docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml | putao520/minio | 3202f78f0f737633f9580d930c568d7e958b5db1 | [
"Apache-2.0"
] | 1 | 2020-06-13T14:49:59.000Z | 2020-06-13T14:49:59.000Z | docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml | goECS-enterprise/minio | a62572fb86b90e751aaa914d4dda6d41d7a2027d | [
"Apache-2.0"
] | null | null | null | docs/orchestration/kubernetes/minio-gcs-gateway-deployment.yaml | goECS-enterprise/minio | a62572fb86b90e751aaa914d4dda6d41d7a2027d | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
# This name uniquely identifies the Deployment
name: minio-deployment
spec:
selector:
matchLabels:
app: minio # has to match .spec.template.metadata.labels
strategy:
type: Recreate
template:
metadata:
labels:
# Label is used as selector in the service.
app: minio
spec:
# Refer to the secret created earlier
volumes:
- name: gcs-credentials
secret:
# Name of the Secret created earlier
secretName: gcs-credentials
containers:
- name: minio
# Pulls the default Minio image from Docker Hub
image: minio/minio:RELEASE.2020-05-16T01-33-21Z
args:
- gateway
- gcs
- gcp_project_id
env:
# MinIO access key and secret key
- name: MINIO_ACCESS_KEY
value: "minio"
- name: MINIO_SECRET_KEY
value: "minio123"
# Google Cloud Service uses this variable
- name: GOOGLE_APPLICATION_CREDENTIALS
value: "/etc/credentials/application_default_credentials.json"
ports:
- containerPort: 9000
# Mount the volume into the pod
volumeMounts:
- name: gcs-credentials
mountPath: "/etc/credentials"
readOnly: true | 28.276596 | 72 | 0.610986 |
f7c5bf2c2b2516d93b746fe5c79c63b132f16f93 | 267 | yaml | YAML | kube-services/kube-ui/kube-ui-service.yaml | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | 3 | 2018-06-22T07:55:51.000Z | 2021-06-21T19:18:16.000Z | kube-services/kube-ui/kube-ui-service.yaml | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | null | null | null | kube-services/kube-ui/kube-ui-service.yaml | lucmichalski/kube-vproxy | c7cc0edbcbcd07a48f0fc48b9457eae693b76688 | [
"Apache-2.0"
] | 1 | 2020-11-04T04:56:50.000Z | 2020-11-04T04:56:50.000Z | apiVersion: v1
kind: Service
metadata:
name: kube-ui
namespace: kube-system
labels:
k8s-app: kube-ui
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "KubeUI"
spec:
selector:
k8s-app: kube-ui
ports:
- port: 80
targetPort: 8080 | 17.8 | 41 | 0.670412 |
f7c5fbaef9530a02cf5c9458b0744a363bedb1a9 | 208 | yaml | YAML | k8s/configuration/smtp.yaml | Lishenga/nestjs-graphql-microservices | 91942704d38674e1d17f84797bee636d1b3a62d6 | [
"MIT"
] | 128 | 2020-05-25T04:27:09.000Z | 2022-03-29T19:08:25.000Z | k8s/configuration/smtp.yaml | byeblogs/microservices-graphql | cf96628a0e169f8c08ad85178f9cde77993ac837 | [
"MIT"
] | 12 | 2019-07-21T08:20:13.000Z | 2020-04-11T07:43:17.000Z | k8s/configuration/smtp.yaml | byeblogs/microservices-graphql | cf96628a0e169f8c08ad85178f9cde77993ac837 | [
"MIT"
] | 42 | 2020-07-09T04:14:55.000Z | 2022-03-23T06:03:31.000Z | ---
apiVersion: v1
kind: Secret
metadata:
name: smtp
namespace: dev
type: Opaque
data:
SMTP_HOST: <SMTP HOST>
SMTP_PORT: NTg3
SMTP_SECURE: dHJ1ZQ==
SMTP_USER: <SMTP USER>
SMTP_PASS: <SMTP PASS>
| 14.857143 | 24 | 0.697115 |
f7c610d8b34996f69536fe22a8f9739fa7f01270 | 3,885 | yaml | YAML | fabric8-platform/templates/catalog-maven-shell-configmap.yaml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 63 | 2018-02-04T03:31:22.000Z | 2022-03-07T08:27:39.000Z | fabric8-platform/templates/catalog-maven-shell-configmap.yaml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 3 | 2020-06-15T03:41:03.000Z | 2020-06-15T03:41:04.000Z | fabric8-platform/templates/catalog-maven-shell-configmap.yaml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 40 | 2018-01-22T16:31:16.000Z | 2022-03-08T04:40:42.000Z | ---
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
fabric8.io/git-commit: 2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3
fabric8.io/iconUrl: img/icons/java.svg
fabric8.io/git-branch: release-v2.2.311
maven.fabric8.io/app-catalog: "true"
labels:
provider: fabric8
project: maven-shell
version: 2.2.311
group: io.fabric8.devops.apps
kind: catalog
name: catalog-maven-shell
data:
catalog-maven-shell.yml: |
---
apiVersion: "v1"
kind: "Template"
metadata:
annotations:
fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
fabric8.io/iconUrl: "img/icons/java.svg"
fabric8.io/git-branch: "release-v2.2.311"
finalizers: []
labels:
provider: "fabric8"
project: "maven-shell"
version: "2.2.311"
group: "io.fabric8.devops.apps"
name: "maven-shell"
ownerReferences: []
labels: {}
objects:
- apiVersion: "extensions/v1beta1"
kind: "Deployment"
metadata:
annotations:
fabric8.io/iconUrl: "img/icons/java.svg"
fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
fabric8.io/git-branch: "release-v2.2.311"
fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=maven-shell&var-version=2.2.311"
finalizers: []
labels:
provider: "fabric8"
project: "maven-shell"
version: "2.2.311"
group: "io.fabric8.devops.apps"
name: "maven-shell"
ownerReferences: []
spec:
replicas: 1
selector:
matchExpressions: []
matchLabels:
provider: "fabric8"
project: "maven-shell"
group: "io.fabric8.devops.apps"
template:
metadata:
annotations:
fabric8.io/iconUrl: "img/icons/java.svg"
fabric8.io/git-commit: "2b9f7ce19493fe6d18392ac4f4be16f5e1a76fa3"
fabric8.io/git-branch: "release-v2.2.311"
fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=maven-shell&var-version=2.2.311"
finalizers: []
labels:
provider: "fabric8"
project: "maven-shell"
version: "2.2.311"
group: "io.fabric8.devops.apps"
ownerReferences: []
spec:
containers:
- args: []
command: []
env:
- name: "KUBERNETES_NAMESPACE"
valueFrom:
fieldRef:
fieldPath: "metadata.namespace"
image: "fabric8/maven-builder:2.2.311"
imagePullPolicy: "IfNotPresent"
name: "maven-shell"
ports: []
resources:
limits:
cpu: "0"
memory: "0"
requests:
cpu: "0"
memory: "0"
securityContext:
privileged: true
volumeMounts:
- mountPath: "/var/run/docker.sock"
name: "data"
readOnly: false
- mountPath: "/root/.m2"
name: "jenkins-maven-settings"
readOnly: false
- mountPath: "/root/workspaces"
name: "workspace"
readOnly: false
imagePullSecrets: []
nodeSelector: {}
volumes:
- hostPath:
path: "/home/maven-shell/workspaces"
name: "workspace"
- name: "jenkins-maven-settings"
secret:
items: []
secretName: "jenkins-maven-settings"
- hostPath:
path: "/var/run/docker.sock"
name: "data"
parameters: []
| 32.107438 | 121 | 0.520978 |
f7c61fd1e0e321088a925f9a4ab786c9284a6d27 | 809 | yml | YAML | kubernetes-model/vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/examples/rq.yml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | kubernetes-model/vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/examples/rq.yml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | kubernetes-model/vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/examples/rq.yml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) 2015 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apiVersion: v1
kind: ResourceQuota
metadata:
name: compute-resources
namespace: cluster-capacity
spec:
hard:
pods: "4"
requests.cpu: "1"
requests.memory: 1Gi
limits.cpu: "2"
limits.memory: 2Gi
| 27.896552 | 74 | 0.725587 |
f7c62fd51fe85644e818b2eff9aea2c1bf1077a3 | 1,739 | yaml | YAML | sandbox/k8s/tf-sourceloop-sandbox/postgres/postgres-orchestrator-deployment.yaml | parul147/fix-video-conferencing-microservice | c0cc94587bd633b7ca536fba606a28383a05b7c8 | [
"MIT"
] | null | null | null | sandbox/k8s/tf-sourceloop-sandbox/postgres/postgres-orchestrator-deployment.yaml | parul147/fix-video-conferencing-microservice | c0cc94587bd633b7ca536fba606a28383a05b7c8 | [
"MIT"
] | null | null | null | sandbox/k8s/tf-sourceloop-sandbox/postgres/postgres-orchestrator-deployment.yaml | parul147/fix-video-conferencing-microservice | c0cc94587bd633b7ca536fba606a28383a05b7c8 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.sourceloop.service: postgres-orchestrator
name: postgres-orchestrator
namespace: sourceloop-sandbox
spec:
replicas: 1
selector:
matchLabels:
io.sourceloop.service: postgres-orchestrator
strategy: {}
template:
metadata:
labels:
# network/sourceloop-sanbox: "true"
io.sourceloop.service: postgres-orchestrator
spec:
containers:
- args:
- bash
- -c
- |-
export PGPASSWORD=${POSTGRES_PASSWORD:-changeme}; sleep 30;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database authentication_db' 2>&1;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database notification_db' 2>&1;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database workflow_db' 2>&1;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database audit_db' 2>&1;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database scheduler_db' 2>&1;
psql -U ${POSTGRES_USER:-postgres} -d postgres -h postgres -c 'create database in_mail_db' 2>&1;
exit 0
env:
- name: PGDATA
value: /data/postgres
- name: PGPASSWORD
value: changeme
- name: POSTGRES_PASSWORD
value: changeme
- name: POSTGRES_USER
value: postgres
image: postgres
name: postgres-orchestrator
ports:
- containerPort: 5433
resources: {}
restartPolicy: Always
status: {}
| 35.489796 | 117 | 0.591719 |
f7c638000383ed5524fd5d5697f5e17174b2a68c | 1,232 | yaml | YAML | k8s/namespaces/monitoring/acr-sync/check-acr-sync.yaml | uk-gov-mirror/hmcts.cnp-flux-config | 437c0cd7f1dae75e67e21e281b236a3b18a08db4 | [
"MIT"
] | 13 | 2019-09-09T10:48:25.000Z | 2022-02-02T19:56:13.000Z | k8s/namespaces/monitoring/acr-sync/check-acr-sync.yaml | uk-gov-mirror/hmcts.cnp-flux-config | 437c0cd7f1dae75e67e21e281b236a3b18a08db4 | [
"MIT"
] | 1,033 | 2019-04-25T21:04:00.000Z | 2022-03-31T06:08:08.000Z | k8s/namespaces/monitoring/acr-sync/check-acr-sync.yaml | uk-gov-mirror/hmcts.cnp-flux-config | 437c0cd7f1dae75e67e21e281b236a3b18a08db4 | [
"MIT"
] | 10 | 2019-05-29T14:47:38.000Z | 2022-03-28T10:03:55.000Z | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: check-acr-sync
namespace: monitoring
labels:
app: check-acr-sync
spec:
schedule: "*/15 * * * *"
concurrencyPolicy: "Forbid"
failedJobsHistoryLimit: 3
startingDeadlineSeconds: 300
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: Never
containers:
- name: check-acr-sync
image: hmctspublic.azurecr.io/check-acr-sync:dbbbwb
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "256Mi"
cpu: "500m"
env:
- name: SLACK_WEBHOOK
valueFrom:
secretKeyRef:
name: monitoring-values
key: slack-webhook
- name: SLACK_ICON
value: flux
- name: ACR_MAX_RESULTS
value: "3000"
- name: ACR_SYNC_DEBUG
value: "true"
envFrom:
- secretRef:
name: acr-sync
| 27.377778 | 65 | 0.467532 |
f7c6ab861cf2b9359356a8fe164b4b0cc2726f0e | 536 | yaml | YAML | microservice-async/kubernetes/manifests/fortunes-pod.yaml | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | 1 | 2019-10-08T16:42:33.000Z | 2019-10-08T16:42:33.000Z | microservice-async/kubernetes/manifests/fortunes-pod.yaml | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | null | null | null | microservice-async/kubernetes/manifests/fortunes-pod.yaml | GeorgeNiece/fortune-cookies | d40f8f27896cc433272919b5344d61bc1974ea4d | [
"MIT"
] | 3 | 2019-08-13T17:04:51.000Z | 2021-01-05T08:10:15.000Z | ---
apiVersion: v1
kind: Pod
metadata:
name: fortunes
labels:
app: fortunes
spec:
containers:
- name: fortunes
image: localhost:5000/fortunes
imagePullPolicy: Always
ports:
- name: app
containerPort: 3000
env:
- name: REDIS_HOST
value: "redis-master"
- name: REDIS_PORT
value: "6379"
- name: REDIS_PWD
value: "none"
- name: FORTUNES_TARGET_TOPIC
value: "fc_fortunes_out"
- name: FORTUNES_SOURCE_TOPIC
value: "fc_fortunes_in" | 20.615385 | 35 | 0.606343 |
f7c6d56bce81643e4b3f6483f38f2540f1a2ebae | 1,274 | yaml | YAML | elasticsearch/kub/es-client-rc.yaml | madcore-ai/charts | dc5408a08261d455c9bac50ebf552657a6a41e71 | [
"MIT"
] | 1 | 2017-08-31T10:05:23.000Z | 2017-08-31T10:05:23.000Z | elasticsearch/kub/es-client-rc.yaml | madcore-ai/charts | dc5408a08261d455c9bac50ebf552657a6a41e71 | [
"MIT"
] | 40 | 2016-12-19T10:34:41.000Z | 2018-04-19T10:54:51.000Z | elasticsearch/kub/es-client-rc.yaml | madcore-ai/charts | dc5408a08261d455c9bac50ebf552657a6a41e71 | [
"MIT"
] | 2 | 2017-05-08T15:09:39.000Z | 2017-05-17T06:48:26.000Z | apiVersion: v1
kind: ReplicationController
metadata:
name: es-client
namespace: es-cluster
labels:
component: elasticsearch
role: client
spec:
replicas: 1
template:
metadata:
labels:
component: elasticsearch
role: client
spec:
serviceAccount: elasticsearch
containers:
- name: es-client
securityContext:
capabilities:
add:
- IPC_LOCK
image: quay.io/pires/docker-elasticsearch-kubernetes:1.7.1-4
env:
- name: KUBERNETES_CA_CERTIFICATE_FILE
value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: "CLUSTER_NAME"
value: "madcore_es"
- name: NODE_MASTER
value: "false"
- name: NODE_DATA
value: "false"
- name: HTTP_ENABLE
value: "true"
ports:
- containerPort: 9200
name: http
protocol: TCP
- containerPort: 9300
name: transport
protocol: TCP
volumeMounts:
- mountPath: /data
name: storage
volumes:
- name: storage
emptyDir: {}
| 24.037736 | 69 | 0.556515 |
f7c77e546a7bb5f372ea16d25f0c402cda51764b | 336 | yaml | YAML | infrastructure/rbac/edit-sealedsecrets-clusterrole.yaml | mmontes11/k8s-infrastructure | a772fe64778d20e74a1776da990889e7f1322151 | [
"MIT"
] | null | null | null | infrastructure/rbac/edit-sealedsecrets-clusterrole.yaml | mmontes11/k8s-infrastructure | a772fe64778d20e74a1776da990889e7f1322151 | [
"MIT"
] | null | null | null | infrastructure/rbac/edit-sealedsecrets-clusterrole.yaml | mmontes11/k8s-infrastructure | a772fe64778d20e74a1776da990889e7f1322151 | [
"MIT"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: edit-sealedsecrets
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups:
- bitnami.com
resources:
- sealedsecrets
verbs:
- get
- list
- create
- delete
- patch
- update
| 17.684211 | 55 | 0.613095 |
f7c784f1c6dc7d1939bb227e91acf98c8411000c | 406 | yaml | YAML | istio-1-3-1/cluster-local-gateway-1-3-1/base/horizontal-pod-autoscaler.yaml | adamjm/manifests | 912d9d2af04de9cfc761113d1e5a44d6418ed0a8 | [
"Apache-2.0"
] | 55 | 2019-07-24T05:38:12.000Z | 2021-08-09T23:45:06.000Z | istio-1-3-1/cluster-local-gateway-1-3-1/base/horizontal-pod-autoscaler.yaml | adamjm/manifests | 912d9d2af04de9cfc761113d1e5a44d6418ed0a8 | [
"Apache-2.0"
] | 571 | 2021-01-25T14:24:29.000Z | 2022-03-31T00:13:15.000Z | istio-1-3-1/cluster-local-gateway-1-3-1/base/horizontal-pod-autoscaler.yaml | adamjm/manifests | 912d9d2af04de9cfc761113d1e5a44d6418ed0a8 | [
"Apache-2.0"
] | 24 | 2019-07-24T05:24:49.000Z | 2021-08-09T23:44:58.000Z | apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
labels:
app: cluster-local-gateway
istio: cluster-local-gateway
name: cluster-local-gateway
spec:
maxReplicas: 5
metrics:
- resource:
name: cpu
targetAverageUtilization: 80
type: Resource
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: cluster-local-gateway
| 20.3 | 34 | 0.721675 |
f7c7ad6fafd5242c6ba861db50bf59b14a71ade1 | 434 | yaml | YAML | DO_aws/docker_basic/10-k8s-configmap/env-value-from/deployment.yaml | JeromeCheon/TIL | 540407697da8226f7ba7b5dc94a82b73fb8856c7 | [
"MIT"
] | null | null | null | DO_aws/docker_basic/10-k8s-configmap/env-value-from/deployment.yaml | JeromeCheon/TIL | 540407697da8226f7ba7b5dc94a82b73fb8856c7 | [
"MIT"
] | null | null | null | DO_aws/docker_basic/10-k8s-configmap/env-value-from/deployment.yaml | JeromeCheon/TIL | 540407697da8226f7ba7b5dc94a82b73fb8856c7 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: mysql
spec:
selector:
matchLabels:
app: mysql
template:
metadata:
name: mysql
labels:
app: mysql
spec:
containers:
- name: mysql
image: mysql:5.7
env:
- name: MYSQL_ROOT_PASSWORD
valueFrom:
configMapKeyRef:
name: mysql-config
key: MYSQL_ROOT_PASSWORD
| 18.083333 | 38 | 0.550691 |
f7c7b3e6d1db0fecef2521fa140056dd053471ab | 1,361 | yaml | YAML | charts/shoot-core/components/charts/nodelocal-dns/templates/configmap.yaml | markbgrdt/gardener | 56de69b9ed4059c5b55fb888a2ec5fb80ca4cb68 | [
"Apache-2.0"
] | 1 | 2021-05-12T16:37:48.000Z | 2021-05-12T16:37:48.000Z | charts/shoot-core/components/charts/nodelocal-dns/templates/configmap.yaml | markbgrdt/gardener | 56de69b9ed4059c5b55fb888a2ec5fb80ca4cb68 | [
"Apache-2.0"
] | 1 | 2018-06-06T12:55:07.000Z | 2018-06-06T12:55:07.000Z | charts/shoot-core/components/charts/nodelocal-dns/templates/configmap.yaml | markbgrdt/gardener | 56de69b9ed4059c5b55fb888a2ec5fb80ca4cb68 | [
"Apache-2.0"
] | 1 | 2018-08-14T14:10:23.000Z | 2018-08-14T14:10:23.000Z | ---
apiVersion: v1
kind: ConfigMap
metadata:
name: node-local-dns
namespace: kube-system
data:
Corefile: |
{{ .Values.domain }}:53 {
errors
cache {
success 9984 30
denial 9984 5
}
reload
loop
bind {{ .Values.nodeLocal }} {{ .Values.dnsServer }}
forward . {{ .Values.clusterDNS }} {
force_tcp
}
prometheus :{{ .Values.prometheus.port }}
health {{ .Values.nodeLocal }}:8080
}
in-addr.arpa:53 {
errors
cache 30
reload
loop
bind {{ .Values.nodeLocal }} {{ .Values.dnsServer }}
forward . {{ .Values.clusterDNS }} {
force_tcp
}
prometheus :{{ .Values.prometheus.port }}
}
ip6.arpa:53 {
errors
cache 30
reload
loop
bind {{ .Values.nodeLocal }} {{ .Values.dnsServer }}
forward . {{ .Values.clusterDNS }} {
force_tcp
}
prometheus :{{ .Values.prometheus.port }}
}
.:53 {
errors
cache 30
reload
loop
bind {{ .Values.nodeLocal }} {{ .Values.dnsServer }}
forward . __PILLAR__UPSTREAM__SERVERS__ {
force_tcp
}
prometheus :{{ .Values.prometheus.port }}
} | 24.303571 | 60 | 0.479794 |
f7c7d0274fe236b7d3701023dea5871da068c31d | 904 | yml | YAML | k8s-up-and-running/bandicoot/deployment.yml | vascoalramos/kubernetes-playground | 2c00d33f0b02777f09e97ca01929f20f8e7735cd | [
"MIT"
] | 3 | 2021-02-17T02:26:08.000Z | 2021-03-23T21:55:11.000Z | k8s-up-and-running/bandicoot/deployment.yml | vascoalramos/kubernetes-playground | 2c00d33f0b02777f09e97ca01929f20f8e7735cd | [
"MIT"
] | null | null | null | k8s-up-and-running/bandicoot/deployment.yml | vascoalramos/kubernetes-playground | 2c00d33f0b02777f09e97ca01929f20f8e7735cd | [
"MIT"
] | 1 | 2021-03-17T06:47:24.000Z | 2021-03-17T06:47:24.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: bandicoot-prod
labels:
app: bandicoot
version: 1.0.0
env: prod
spec:
replicas: 3
selector:
matchLabels:
app: bandicoot
template:
metadata:
labels:
app: bandicoot
spec:
containers:
- image: gcr.io/k8s-vr-2021/kuard-amd64:blue
name: bandicoot-prod
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe:
httpGet:
path: /ready
port: 8080
periodSeconds: 2
initialDelaySeconds: 0
failureThreshold: 3
successThreshold: 1
| 26.588235 | 60 | 0.419248 |
f7c7ea1f0dc7dc21df7fdf527703ff0da25b4c3e | 127 | yaml | YAML | integration/examples/profiles/hello-service/k8s-pod.yaml | zedfmario/skaffold | 5bf0323473ce7610a6cde65ce1f882f886e029ea | [
"Apache-2.0"
] | 9,716 | 2018-04-17T17:05:25.000Z | 2022-03-31T22:05:43.000Z | integration/examples/profiles/hello-service/k8s-pod.yaml | zedfmario/skaffold | 5bf0323473ce7610a6cde65ce1f882f886e029ea | [
"Apache-2.0"
] | 6,491 | 2018-04-17T16:07:07.000Z | 2022-03-31T23:06:21.000Z | integration/examples/profiles/hello-service/k8s-pod.yaml | gsquared94/skaffold | 7ccebe58e2a62ec6e72e110a3e75ae46c3de0a94 | [
"Apache-2.0"
] | 1,477 | 2018-04-18T00:16:58.000Z | 2022-03-31T08:41:00.000Z | apiVersion: v1
kind: Pod
metadata:
name: hello-service
spec:
containers:
- name: hello-service
image: skaffold-hello
| 14.111111 | 25 | 0.716535 |
f7c85202f321492d8ebfe731f8a1d00e03d6fe93 | 269 | yaml | YAML | test/acceptance/assets/allow-ingress-from-apps-network-policy.yaml | Birdrock/cf-k8s-networking | 18916f68c90ac01b3ed0eccd43eb5661a98c54b6 | [
"Apache-2.0"
] | null | null | null | test/acceptance/assets/allow-ingress-from-apps-network-policy.yaml | Birdrock/cf-k8s-networking | 18916f68c90ac01b3ed0eccd43eb5661a98c54b6 | [
"Apache-2.0"
] | null | null | null | test/acceptance/assets/allow-ingress-from-apps-network-policy.yaml | Birdrock/cf-k8s-networking | 18916f68c90ac01b3ed0eccd43eb5661a98c54b6 | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ingress-from-apps
namespace: cf-system
spec:
podSelector: {}
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
name: cf-workloads
| 16.8125 | 32 | 0.669145 |
f7c87c6449a5de0fe806e5ee6ec44334a501b517 | 360 | yaml | YAML | Chapter05/some-other-pod.yaml | Noctoweb/Hands-On-Microservices-with-Kubernetes | cfdf3fc5a7a3745790b7d7376808eff1152ad101 | [
"MIT"
] | 81 | 2019-07-21T00:37:43.000Z | 2022-03-04T20:28:40.000Z | Chapter05/some-other-pod.yaml | Noctoweb/Hands-On-Microservices-with-Kubernetes | cfdf3fc5a7a3745790b7d7376808eff1152ad101 | [
"MIT"
] | 1 | 2021-11-01T23:28:31.000Z | 2021-11-18T07:24:53.000Z | Chapter05/some-other-pod.yaml | Noctoweb/Hands-On-Microservices-with-Kubernetes | cfdf3fc5a7a3745790b7d7376808eff1152ad101 | [
"MIT"
] | 74 | 2019-06-19T19:22:53.000Z | 2022-03-24T15:14:48.000Z | apiVersion: v1
kind: Pod
metadata:
name: some-other-pod
spec:
containers:
- name: some-container
image: busybox
command: [ "/bin/sh", "-c", "watch \"cat /etc/config/comics\"" ]
volumeMounts:
- name: config-volume
mountPath: /etc/config
volumes:
- name: config-volume
configMap:
name: file-config
restartPolicy: Never | 21.176471 | 68 | 0.644444 |
f7c8c5ce8e817c51c621b9a4d4a04258bfc57a14 | 275 | yaml | YAML | kube/services/gdcapi/gdcapi-service.yaml | tmooney/cloud-automation | b14438b0763aa38285e74c600f134b9f5dfd45d3 | [
"Apache-2.0"
] | 1 | 2019-06-04T16:55:32.000Z | 2019-06-04T16:55:32.000Z | kube/services/gdcapi/gdcapi-service.yaml | tmooney/cloud-automation | b14438b0763aa38285e74c600f134b9f5dfd45d3 | [
"Apache-2.0"
] | 1 | 2021-05-11T19:46:59.000Z | 2021-05-11T19:46:59.000Z | kube/services/gdcapi/gdcapi-service.yaml | tmooney/cloud-automation | b14438b0763aa38285e74c600f134b9f5dfd45d3 | [
"Apache-2.0"
] | 2 | 2019-04-03T18:20:42.000Z | 2019-08-06T15:12:48.000Z | kind: Service
apiVersion: v1
metadata:
name: gdcapi-service
spec:
selector:
app: gdcapi
ports:
- protocol: TCP
port: 80
targetPort: 80
name: http
- protocol: TCP
port: 443
targetPort: 443
name: https
type: NodePort
| 14.473684 | 22 | 0.592727 |
f7c906e9251317ba76535ece3f6a07bcc8c54514 | 222 | yaml | YAML | service.yaml | e-minguez/kube-samples | 7f6315b4937eb4b6cf6fd1b650ac0c1a63a7ec2c | [
"Apache-2.0"
] | null | null | null | service.yaml | e-minguez/kube-samples | 7f6315b4937eb4b6cf6fd1b650ac0c1a63a7ec2c | [
"Apache-2.0"
] | null | null | null | service.yaml | e-minguez/kube-samples | 7f6315b4937eb4b6cf6fd1b650ac0c1a63a7ec2c | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
labels:
app: hello-openshift
name: hello-openshift
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: hello-openshift
type: ClusterIP
| 14.8 | 24 | 0.684685 |
f7c95c8e3d84b2379946275320a016e67a5c44ba | 2,610 | yaml | YAML | config-root/namespaces/jx/lighthouse/lighthouse-foghorn-deploy.yaml | osstap1989/minikube-jenkinsx | 3dd67e3e094c8c7ed89fc37c6eed520d01a6d83e | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-foghorn-deploy.yaml | osstap1989/minikube-jenkinsx | 3dd67e3e094c8c7ed89fc37c6eed520d01a6d83e | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-foghorn-deploy.yaml | osstap1989/minikube-jenkinsx | 3dd67e3e094c8c7ed89fc37c6eed520d01a6d83e | [
"Apache-2.0"
] | null | null | null | # Source: lighthouse/templates/foghorn-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: lighthouse-foghorn
labels:
chart: "lighthouse-1.5.7"
app: lighthouse-foghorn
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
meta.helm.sh/release-name: 'lighthouse'
wave.pusher.com/update-on-config-change: 'true'
namespace: jx
spec:
replicas: 1
selector:
matchLabels:
app: lighthouse-foghorn
template:
metadata:
labels:
app: lighthouse-foghorn
annotations:
jenkins-x.io/hash: '15344ed303d5710e2cd3a4efcdd4a3cd191aa324d9f6b90bca190762be07d2a7'
spec:
serviceAccountName: lighthouse-foghorn
containers:
- name: lighthouse-foghorn
image: ghcr.io/jenkins-x/lighthouse-foghorn:1.5.7
imagePullPolicy: IfNotPresent
args:
- "--namespace=jx"
env:
- name: "GIT_KIND"
value: "github"
- name: "GIT_SERVER"
value: "https://github.com"
- name: "GIT_USER"
value: osstap1989
- name: "GIT_TOKEN"
valueFrom:
secretKeyRef:
name: lighthouse-oauth-token
key: oauth
- name: "HMAC_TOKEN"
valueFrom:
secretKeyRef:
name: "lighthouse-hmac-token"
key: hmac
optional: false
- name: "JX_LOG_FORMAT"
value: "json"
- name: "LOGRUS_FORMAT"
value: "json"
- name: LOGRUS_SERVICE
value: "lighthouse"
- name: LOGRUS_SERVICE_VERSION
value: "1.5.7"
- name: LOGRUS_STACK_SKIP
value: ""
- name: DEFAULT_PIPELINE_RUN_SERVICE_ACCOUNT
value: "tekton-bot"
- name: DEFAULT_PIPELINE_RUN_TIMEOUT
value: "2h0m0s"
- name: FILE_BROWSER
value: "git"
- name: JX_DEFAULT_IMAGE
value: "ghcr.io/jenkins-x/builder-maven:2.1.149-768"
- name: LIGHTHOUSE_DASHBOARD_TEMPLATE
value: "namespaces/{{ .Namespace }}/pipelineruns/{{ .PipelineRun }}"
- name: LIGHTHOUSE_VERSIONSTREAM_JENKINS_X_JX3_PIPELINE_CATALOG
value: "52b4dd6da9e7d2edaa3548ce1bd2f9e86032cccb"
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 80m
memory: 128Mi
terminationGracePeriodSeconds: 180
| 32.222222 | 93 | 0.550192 |
f7c97ef5521d1e758085e6ee8bb1896feb71cb2a | 429 | yaml | YAML | lessons/073/3-prometheus-operator/2-service.yaml | murasaki718/tutorials | ad55a1f34f2dc050a5ccbceae0c09def0626dccf | [
"MIT"
] | 225 | 2020-12-12T03:41:46.000Z | 2022-03-30T20:07:31.000Z | lessons/073/3-prometheus-operator/2-service.yaml | kevAnto/tutorials | 9db76b5eeb6a54afabae6a4e386f155cc5dbc025 | [
"MIT"
] | 9 | 2021-09-18T12:36:23.000Z | 2022-03-11T17:24:20.000Z | lessons/073/3-prometheus-operator/2-service.yaml | kevAnto/tutorials | 9db76b5eeb6a54afabae6a4e386f155cc5dbc025 | [
"MIT"
] | 410 | 2020-12-24T03:34:33.000Z | 2022-03-31T22:38:13.000Z | ---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: 0.48.1
name: prometheus-operator
namespace: monitoring
spec:
clusterIP: None
ports:
- name: http
port: 8080
targetPort: http
selector:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
| 21.45 | 47 | 0.713287 |
f7c99a351d6f44849d8e9150482240936a4b9674 | 186 | yaml | YAML | k8s/claim-pv.yaml | Jere-t/coplayOnDockerAndK8s | 35c8f9590e49cb3f9c33c7e5ef4d2979b410e5b5 | [
"MIT"
] | null | null | null | k8s/claim-pv.yaml | Jere-t/coplayOnDockerAndK8s | 35c8f9590e49cb3f9c33c7e5ef4d2979b410e5b5 | [
"MIT"
] | null | null | null | k8s/claim-pv.yaml | Jere-t/coplayOnDockerAndK8s | 35c8f9590e49cb3f9c33c7e5ef4d2979b410e5b5 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: claim-pv
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 200Mi
| 15.5 | 27 | 0.725806 |
f7c9ab79af56f18b16846521ac29015bea5666bf | 711 | yaml | YAML | kustomize/overlays/prod/shard/patches/deploy-config.yaml | fjtirado/sandbox | 5224f10d66a0d513388675cdac35a8462fadce74 | [
"Apache-2.0"
] | null | null | null | kustomize/overlays/prod/shard/patches/deploy-config.yaml | fjtirado/sandbox | 5224f10d66a0d513388675cdac35a8462fadce74 | [
"Apache-2.0"
] | null | null | null | kustomize/overlays/prod/shard/patches/deploy-config.yaml | fjtirado/sandbox | 5224f10d66a0d513388675cdac35a8462fadce74 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
data:
EVENT_BRIDGE_EXECUTOR_IMAGE: quay.io/5733d9e2be6485d52ffa08870cabdee0/executor:4c0ac56c80efdd7479b5518ea170799c9f3509ca-jvm
EVENT_BRIDGE_INGRESS_IMAGE: quay.io/5733d9e2be6485d52ffa08870cabdee0/ingress:4c0ac56c80efdd7479b5518ea170799c9f3509ca-jvm
EVENT_BRIDGE_K8S_PLATFORM: openshift
EVENT_BRIDGE_MANAGER_URL: http://event-bridge:8080
EVENT_BRIDGE_SSO_CLIENT_ID: event-bridge-fm
EVENT_BRIDGE_SSO_SECRET: secret
EVENT_BRIDGE_SSO_URL: https://keycloak-event-bridge-prod.apps.openbridge-dev.fdvn.p1.openshiftapps.com/auth/realms/event-bridge-fm/protocol/openid-connect/token
KAFKA_SECURITY_PROTOCOL: SASL_SSL
kind: ConfigMap
metadata:
name: event-bridge-shard-operator-config
| 50.785714 | 162 | 0.862166 |
f7c9c430582729c8d1f0da0ae61be56c12edee3b | 254 | yaml | YAML | cluster/examples/kubernetes/peidong_ceph_really_working/monitoring/prometheus-service.yaml | peidong-hu/rook | 16082d90b0c5cf4a7dc985e40974f77f8a77d4cb | [
"Apache-2.0"
] | null | null | null | cluster/examples/kubernetes/peidong_ceph_really_working/monitoring/prometheus-service.yaml | peidong-hu/rook | 16082d90b0c5cf4a7dc985e40974f77f8a77d4cb | [
"Apache-2.0"
] | null | null | null | cluster/examples/kubernetes/peidong_ceph_really_working/monitoring/prometheus-service.yaml | peidong-hu/rook | 16082d90b0c5cf4a7dc985e40974f77f8a77d4cb | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: rook-prometheus
namespace: rook-ceph
spec:
type: LoadBalancer
ports:
- name: web
# nodePort: 30900
port: 9090
protocol: TCP
targetPort: web
selector:
prometheus: rook-prometheus
| 15.875 | 31 | 0.688976 |
f7c9c6ab00ae02b2b0153dd297b986ca0c4d232d | 119 | yaml | YAML | importer/flux-with-importer/resource-based/namespace.yaml | rytswd/gitopscon-na-2021 | 5706c97da7a756cfdb7fcdbb0086634a0fdbbed1 | [
"Apache-2.0"
] | 3 | 2021-10-12T17:45:46.000Z | 2021-11-22T21:28:13.000Z | importer/flux-with-importer/resource-based/namespace.yaml | rytswd/gitopscon-na-2021 | 5706c97da7a756cfdb7fcdbb0086634a0fdbbed1 | [
"Apache-2.0"
] | null | null | null | importer/flux-with-importer/resource-based/namespace.yaml | rytswd/gitopscon-na-2021 | 5706c97da7a756cfdb7fcdbb0086634a0fdbbed1 | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: v1
kind: Namespace
metadata:
labels:
app.kubernetes.io/instance: flux-system
name: flux-system
| 14.875 | 43 | 0.722689 |
f7c9cf0fea93e85645d736a69b88093542fed82d | 947 | yaml | YAML | deploy/overlays/stg/bookinfo-ingress.yaml | makocchan0509/bookinfo-manifests | daee2b2350cb608fd4128f34ce8b4557b6b95765 | [
"Apache-2.0"
] | null | null | null | deploy/overlays/stg/bookinfo-ingress.yaml | makocchan0509/bookinfo-manifests | daee2b2350cb608fd4128f34ce8b4557b6b95765 | [
"Apache-2.0"
] | null | null | null | deploy/overlays/stg/bookinfo-ingress.yaml | makocchan0509/bookinfo-manifests | daee2b2350cb608fd4128f34ce8b4557b6b95765 | [
"Apache-2.0"
] | null | null | null | apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bookinfo
spec:
ingressClassName: nginx
rules:
- http:
paths:
- path: /productpage
pathType: Prefix
backend:
service:
name: productpage
port:
number: 9080
- path: /login
pathType: Prefix
backend:
service:
name: productpage
port:
number: 9080
- path: /logout
pathType: Prefix
backend:
service:
name: productpage
port:
number: 9080
- path: /static
pathType: Prefix
backend:
service:
name: productpage
port:
number: 9080
- path: /api/v1/products.*
pathType: Prefix
backend:
service:
name: productpage
port:
number: 9080
| 21.044444 | 32 | 0.467793 |
f7c9d713005f0e4af7061d7e8c5bc36cbe7fae93 | 303 | yaml | YAML | templates/radarr-litestream-config.yaml | bloveless/media-server | 0cf6a463bf13fb764f59df436d91e69b7c46b472 | [
"MIT"
] | null | null | null | templates/radarr-litestream-config.yaml | bloveless/media-server | 0cf6a463bf13fb764f59df436d91e69b7c46b472 | [
"MIT"
] | null | null | null | templates/radarr-litestream-config.yaml | bloveless/media-server | 0cf6a463bf13fb764f59df436d91e69b7c46b472 | [
"MIT"
] | 1 | 2022-02-06T02:34:48.000Z | 2022-02-06T02:34:48.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: radarr-litestream-config
namespace: media-server
data:
litestream.yml: |
dbs:
- path: /config/radarr.db
replicas:
- path: /backup/radarr.db
- path: /config/logs.db
replicas:
- path: /backup/logs.db
| 20.2 | 35 | 0.60396 |
f7c9d8a8564fb1199eeb975da33c29c95d77170a | 689 | yaml | YAML | chart/outputs/uno/templates/ingress.yaml | cccs-cat001/uno-game | 879cb59e42c36ef357ca5e96332b08a7b513a145 | [
"MIT"
] | null | null | null | chart/outputs/uno/templates/ingress.yaml | cccs-cat001/uno-game | 879cb59e42c36ef357ca5e96332b08a7b513a145 | [
"MIT"
] | null | null | null | chart/outputs/uno/templates/ingress.yaml | cccs-cat001/uno-game | 879cb59e42c36ef357ca5e96332b08a7b513a145 | [
"MIT"
] | null | null | null | ---
# Source: uno/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: uno
labels:
helm.sh/chart: uno-0.1.0
app.kubernetes.io/name: uno
app.kubernetes.io/instance: uno
app.kubernetes.io/version: "1.16.0"
app.kubernetes.io/managed-by: Helm
spec:
tls:
- hosts:
- "uno.hogwarts.udev.azure.chimera.cyber.gc.ca"
secretName: hogwarts-tls
rules:
- host: "uno.hogwarts.udev.azure.chimera.cyber.gc.ca"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: uno
port:
number: 80
| 23.758621 | 57 | 0.576197 |
f7c9e14c1dee9fb2a09b9884135ab5515eeeffbc | 306 | yaml | YAML | openmcp-metric-collector/master/deploy/role_binding.yaml | openmcp/openmcp | cd4966295db8b46e36a677b30fccbd7ad5f1e18d | [
"Unlicense"
] | null | null | null | openmcp-metric-collector/master/deploy/role_binding.yaml | openmcp/openmcp | cd4966295db8b46e36a677b30fccbd7ad5f1e18d | [
"Unlicense"
] | null | null | null | openmcp-metric-collector/master/deploy/role_binding.yaml | openmcp/openmcp | cd4966295db8b46e36a677b30fccbd7ad5f1e18d | [
"Unlicense"
] | null | null | null | kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openmcp-metric-collector
namespace: openmcp
subjects:
- kind: ServiceAccount
name: openmcp-metric-collector
namespace: openmcp
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
| 21.857143 | 40 | 0.79085 |
f7ca8991ccc54a2b5be5f3011138e60f629b5e4c | 1,998 | yaml | YAML | tests/integration/targets/playbooks/provision_playbook/enterprise-example.com/platform/kong/prod-kong/ingress.yaml | TJ-Owens/tavros | 22e73fd944c45a986cdc883b60b1006238ca4772 | [
"Apache-2.0"
] | 48 | 2021-02-05T01:24:04.000Z | 2022-02-03T02:40:32.000Z | tests/integration/targets/playbooks/provision_playbook/enterprise-example.com/platform/kong/prod-kong/ingress.yaml | TJ-Owens/tavros | 22e73fd944c45a986cdc883b60b1006238ca4772 | [
"Apache-2.0"
] | 48 | 2021-02-04T21:59:27.000Z | 2022-01-18T15:54:57.000Z | tests/integration/targets/playbooks/provision_playbook/enterprise-example.com/platform/kong/prod-kong/ingress.yaml | TJ-Owens/tavros | 22e73fd944c45a986cdc883b60b1006238ca4772 | [
"Apache-2.0"
] | 18 | 2021-02-16T15:19:27.000Z | 2022-01-18T17:26:17.000Z | apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: tavros-prod-kong
namespace: kong
annotations:
konghq.com/strip-path: "true"
konghq.com/protocols: https
kubernetes.io/ingress.class: prod
cert-manager.io/cluster-issuer: tavros
konghq.com/https-redirect-status-code: '302'
spec:
tls:
- hosts:
- "admin-api.prod-kong.tavros.enterprise-example.com"
- "admin.prod-kong.tavros.enterprise-example.com"
- "dev-portal-api.tavros.enterprise-example.com"
- "dev-portal.tavros.enterprise-example.com"
- "apps.tavros.enterprise-example.com"
secretName: prod-kong-ingress-certs
rules:
- host: "admin-api.prod-kong.tavros.enterprise-example.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: kong-tavros-prod-kong-cp-kong-admin
port:
number: 8001
- host: "admin.prod-kong.tavros.enterprise-example.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: kong-tavros-prod-kong-cp-kong-manager
port:
number: 8002
- host: "dev-portal.tavros.enterprise-example.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: kong-tavros-prod-kong-cp-kong-portal
port:
number: 8003
- host: "dev-portal-api.tavros.enterprise-example.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: kong-tavros-prod-kong-cp-kong-portalapi
port:
number: 8004
- host: "apps.tavros.enterprise-example.com"
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: kong-tavros-prod-kong-dp-kong-proxy
port:
number: 80
| 27.75 | 61 | 0.594595 |
f7cb39f3d6a1ab4dfe97d3c8eb804168d14d46c5 | 650 | yaml | YAML | kube/login-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | kube/login-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | kube/login-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: login-deployment
spec:
replicas: 5
selector:
matchLabels:
component: login
template:
metadata:
labels:
component: login
spec:
containers:
- name: login
image: sbalasubramanian14/login-api
ports:
- containerPort: 5001
env:
- name: DATABASE_HOST
value: mysql-cluster-ip-service
- name: DATABASE_NAME
value: mydatabase
- name: DATABASE_USERNAME
value: root
- name: DATABASE_PASSWORD
value: admin@123
| 22.413793 | 45 | 0.549231 |
f7cb5cf283a1163dc3a499f654068cdc794d2546 | 94 | yml | YAML | manifests/prometheus/00-namespace.yml | TriadGroupPlc/simple-prometheus-kubernetes | 768ff61c543f4e7619a5870ca4981d68956d6364 | [
"Apache-2.0"
] | null | null | null | manifests/prometheus/00-namespace.yml | TriadGroupPlc/simple-prometheus-kubernetes | 768ff61c543f4e7619a5870ca4981d68956d6364 | [
"Apache-2.0"
] | null | null | null | manifests/prometheus/00-namespace.yml | TriadGroupPlc/simple-prometheus-kubernetes | 768ff61c543f4e7619a5870ca4981d68956d6364 | [
"Apache-2.0"
] | null | null | null | ---
kind: Namespace
apiVersion: v1
metadata:
name: monitoring
labels:
name: monitoring | 13.428571 | 20 | 0.712766 |
f7cb9ca70d46e0fe80419c1bb949066c06dd6e20 | 266 | yaml | YAML | kubernetes/config-maps/cassandra-configmap.yaml | lchen-private/hmda-platform | a8e5f9555dec7e679a56e2f44f2b5375e8efcdd3 | [
"CC0-1.0"
] | 88 | 2016-02-23T19:46:56.000Z | 2022-03-24T09:51:21.000Z | kubernetes/config-maps/cassandra-configmap.yaml | lchen-private/hmda-platform | a8e5f9555dec7e679a56e2f44f2b5375e8efcdd3 | [
"CC0-1.0"
] | 3,837 | 2016-01-25T22:31:55.000Z | 2022-03-30T18:57:11.000Z | kubernetes/config-maps/cassandra-configmap.yaml | lchen-private/hmda-platform | a8e5f9555dec7e679a56e2f44f2b5375e8efcdd3 | [
"CC0-1.0"
] | 92 | 2016-01-22T13:44:02.000Z | 2022-01-27T07:06:39.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: cassandra-configmap
annotations:
reloader.stakater.com/match: "true"
data:
cassandra-hosts: cluster1-dc1-service.cass-operator
cassandra-keyspace: hmda2_journal
cassandra-keyspace-snapshot: hmda2_snapshot
| 24.181818 | 53 | 0.793233 |
f7cbc8e7dfc4c9cef59e04b476f23cccbeb863f1 | 947 | yaml | YAML | mappers-go/mappers/direct/deployment.yaml | zhanghongzhi1234/kubeedge | ac99fb483f43cadfb00beec33793aa3516f5a52b | [
"Apache-2.0"
] | null | null | null | mappers-go/mappers/direct/deployment.yaml | zhanghongzhi1234/kubeedge | ac99fb483f43cadfb00beec33793aa3516f5a52b | [
"Apache-2.0"
] | null | null | null | mappers-go/mappers/direct/deployment.yaml | zhanghongzhi1234/kubeedge | ac99fb483f43cadfb00beec33793aa3516f5a52b | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: direct-mapper
spec:
replicas: 1
selector:
matchLabels:
app: directmapper
template:
metadata:
labels:
app: directmapper
spec:
hostNetwork: true
containers:
- name: direct-mapper-container
image: directmapper:v1.0
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
volumeMounts:
- name: config-volume
mountPath: /opt/kubeedge/
- mountPath: /dev/ttyS0
name: direct-dev0
- mountPath: /dev/ttyS1
name: direct-dev1
nodeSelector:
direct: "true"
volumes:
- name: config-volume
configMap:
name: device-profile-config-test
- name: direct-dev0
hostPath:
path: /dev/ttyS0
- name: direct-dev1
hostPath:
path: /dev/ttyS1
restartPolicy: Always
| 22.547619 | 42 | 0.576558 |
f7cbd3439f7d15f60f4ced913064073a04414031 | 466 | yaml | YAML | assets/prometheus-k8s/cluster-role.yaml | krasi-georgiev/cluster-monitoring-operator | bf8ce0bd6b1737a6e86d58b12df0876538f96b64 | [
"Apache-2.0"
] | null | null | null | assets/prometheus-k8s/cluster-role.yaml | krasi-georgiev/cluster-monitoring-operator | bf8ce0bd6b1737a6e86d58b12df0876538f96b64 | [
"Apache-2.0"
] | null | null | null | assets/prometheus-k8s/cluster-role.yaml | krasi-georgiev/cluster-monitoring-operator | bf8ce0bd6b1737a6e86d58b12df0876538f96b64 | [
"Apache-2.0"
] | 2 | 2018-09-09T19:03:40.000Z | 2020-01-08T22:24:43.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: prometheus-k8s
rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- nonResourceURLs:
- /metrics
verbs:
- get
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
| 13.705882 | 40 | 0.665236 |
f7cc15cc1f2398ef04625376955a8f5b21ae4ef4 | 1,472 | yml | YAML | .k8s/base/axonserver/axonserver-statefulset.yml | archifacts/fraktalio-restaurant-demo | 2073d154dcda673cdf82fc8637cd5c2a36e1b8f5 | [
"Apache-2.0"
] | 30 | 2020-12-14T10:38:28.000Z | 2022-03-21T21:06:36.000Z | .k8s/base/axonserver/axonserver-statefulset.yml | archifacts/fraktalio-restaurant-demo | 2073d154dcda673cdf82fc8637cd5c2a36e1b8f5 | [
"Apache-2.0"
] | 78 | 2020-12-14T07:41:38.000Z | 2022-03-31T06:03:45.000Z | .k8s/base/axonserver/axonserver-statefulset.yml | archifacts/fraktalio-restaurant-demo | 2073d154dcda673cdf82fc8637cd5c2a36e1b8f5 | [
"Apache-2.0"
] | 10 | 2021-01-26T09:11:27.000Z | 2022-01-21T19:47:07.000Z | apiVersion: apps/v1
kind: StatefulSet
metadata:
name: axonserver
labels:
app: axonserver
spec:
serviceName: axonserver
replicas: 1
selector:
matchLabels:
app: axonserver
template:
metadata:
labels:
app: axonserver
spec:
containers:
- name: axonserver
image: axoniq/axonserver
imagePullPolicy: Always
ports:
- name: grpc
containerPort: 8124
protocol: TCP
- name: http
containerPort: 8024
protocol: TCP
# volumeMounts:
# - name: eventstore
# mountPath: /eventdata
# - name: data
# mountPath: /data
readinessProbe:
httpGet:
port: http
path: /actuator/info
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
livenessProbe:
httpGet:
port: gui
path: /actuator/info
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
# volumeClaimTemplates:
# - metadata:
# name: eventstore
# spec:
# accessModes: ["ReadWriteOnce"]
# resources:
# requests:
# storage: 3Gi
# - metadata:
# name: data
# spec:
# accessModes: ["ReadWriteOnce"]
# resources:
# requests:
# storage: 1Gi
| 23.365079 | 39 | 0.503397 |
f7cc2d4b3653b8f9d5be41ab1912a421e60964b1 | 926 | yml | YAML | Section-04/11_pods_accessing_data_via_env_vars/configs/pod_metadata_envs.yml | Kn3sv1/kubernetes | 8ee76dd9f2da40e04a109f65acbef612e13db32d | [
"Apache-2.0"
] | 60 | 2019-04-10T14:00:08.000Z | 2022-03-29T00:38:34.000Z | Section-03/11_pods_accessing_data_via_env_vars/configs/pod_metadata_envs.yml | bttrfngrs/Sher-Kuberetes-Study-Guide | 8cdc368d3bac6837b2fd5788864671d9c358a2d6 | [
"Apache-2.0"
] | null | null | null | Section-03/11_pods_accessing_data_via_env_vars/configs/pod_metadata_envs.yml | bttrfngrs/Sher-Kuberetes-Study-Guide | 8cdc368d3bac6837b2fd5788864671d9c358a2d6 | [
"Apache-2.0"
] | 70 | 2019-04-03T18:27:13.000Z | 2022-03-20T10:33:16.000Z | ---
apiVersion: v1
kind: Pod
metadata:
name: pod-httpd
annotations:
annotation1: hello
labels:
app: httpd
spec:
containers:
- name: cntr-httpd
image: httpd:latest
ports:
- containerPort: 80
env:
- name: pod_name
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: pod_namespace
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: pod_nodeName
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: pod_serviceAccountName
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
- name: pod_hostIP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: pod_podIP
valueFrom:
fieldRef:
fieldPath: status.podIP | 23.15 | 48 | 0.524838 |
f7cc2f81f552372580b57d895df7daa301c0673e | 583 | yaml | YAML | configmap-nodepool.yaml | dmandry/zuul-openshift | 94e01fb79cf841c40f8dd8e1ed57056bb66f9103 | [
"MIT"
] | null | null | null | configmap-nodepool.yaml | dmandry/zuul-openshift | 94e01fb79cf841c40f8dd8e1ed57056bb66f9103 | [
"MIT"
] | null | null | null | configmap-nodepool.yaml | dmandry/zuul-openshift | 94e01fb79cf841c40f8dd8e1ed57056bb66f9103 | [
"MIT"
] | null | null | null | kind: ConfigMap
apiVersion: v1
metadata:
name: nodepool
namespace: dmandry
data:
nodepool.yaml: |-
zookeeper-servers:
- host: zuul
port: 2281
zookeeper-tls:
cert: /var/certs/client.pem
key: /var/certs/clientkey.pem
ca: /var/certs/cacert.pem
labels:
- name: ubuntu-bionic
providers:
- name: dmandry
driver: openshiftpods
context: secret
pools:
- name: dmandry
labels:
- name: ubuntu-bionic
image: python:alpine
memory: 256
| 20.103448 | 36 | 0.552316 |
f7cc3be138bab1f3171e58b8302f34c3a98bb7a8 | 253 | yaml | YAML | applications/client-app-java/kube/h2/configmap.yaml | bygui86/kubernetes-tests | 3f85c9d2fd0dabea48e7d20b018c2323f1c6f4fa | [
"Apache-2.0"
] | 1 | 2021-08-25T14:58:48.000Z | 2021-08-25T14:58:48.000Z | applications/client-app-java/kube/h2/configmap.yaml | bygui86/kubernetes-tests | 3f85c9d2fd0dabea48e7d20b018c2323f1c6f4fa | [
"Apache-2.0"
] | null | null | null | applications/client-app-java/kube/h2/configmap.yaml | bygui86/kubernetes-tests | 3f85c9d2fd0dabea48e7d20b018c2323f1c6f4fa | [
"Apache-2.0"
] | 1 | 2019-08-21T14:39:32.000Z | 2019-08-21T14:39:32.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: client-app-java
labels:
app: client-app-java
group: sample
data:
SPRING_PROFILES_ACTIVE: "kube"
HEAP_SIZE: "256m"
META_SIZE: "300m"
DB_TYPE: "h2"
CLIENTJAVA_TRACING_PROBABILITY: "1.0"
| 18.071429 | 39 | 0.711462 |
f7cc3e8601743d0e58ee8993cb78a793f1fd19fe | 243 | yaml | YAML | namespaces/live-1.cloud-platform.service.justice.gov.uk/c100-application-production/02-limitrange.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | namespaces/live-1.cloud-platform.service.justice.gov.uk/c100-application-production/02-limitrange.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | namespaces/live-1.cloud-platform.service.justice.gov.uk/c100-application-production/02-limitrange.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | apiVersion: v1
kind: LimitRange
metadata:
name: limitrange
namespace: c100-application-production
spec:
limits:
- default:
cpu: 250m
memory: 500Mi
defaultRequest:
cpu: 125m
memory: 250Mi
type: Container
| 16.2 | 40 | 0.666667 |
f7ccc4ed7bbf05396cd070c8abde04f8760a2b03 | 315 | yaml | YAML | roles/ks-monitor/files/prometheus/sources/prometheus-clusterRoleBinding.yaml | klj890/ks-installer | 42fc304f1f03e5c80c2ae1ae0e7998b6f77d96ee | [
"Apache-2.0"
] | null | null | null | roles/ks-monitor/files/prometheus/sources/prometheus-clusterRoleBinding.yaml | klj890/ks-installer | 42fc304f1f03e5c80c2ae1ae0e7998b6f77d96ee | [
"Apache-2.0"
] | null | null | null | roles/ks-monitor/files/prometheus/sources/prometheus-clusterRoleBinding.yaml | klj890/ks-installer | 42fc304f1f03e5c80c2ae1ae0e7998b6f77d96ee | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: kubesphere-prometheus-k8s
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: kubesphere-prometheus-k8s
subjects:
- kind: ServiceAccount
name: prometheus-k8s
namespace: kubesphere-monitoring-system
| 24.230769 | 43 | 0.787302 |