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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f700b5ade768103eab9df28b16b88f3ac8a37f24 | 1,534 | yaml | YAML | deployment/kubernetes/generic/original/admin.yaml | tomix1337/pulsar | c728bd5722bfc385948c109caadfeee43d0cb3b2 | [
"Apache-2.0"
] | 3 | 2016-10-03T19:47:18.000Z | 2017-11-01T21:05:05.000Z | deployment/kubernetes/generic/original/admin.yaml | tomix1337/pulsar | c728bd5722bfc385948c109caadfeee43d0cb3b2 | [
"Apache-2.0"
] | 116 | 2021-08-10T15:25:12.000Z | 2021-08-11T01:05:18.000Z | deployment/kubernetes/generic/original/admin.yaml | wowi42/pulsar | 846e4707987455703def6afdc9bb01bd6cf69d0b | [
"Apache-2.0"
] | 1 | 2019-10-13T19:00:18.000Z | 2019-10-13T19:00:18.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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: Pod
metadata:
name: pulsar-admin
spec:
containers:
- name: pulsar-admin
image: apachepulsar/pulsar:latest
command: ["sh", "-c"]
args:
- >
bin/apply-config-from-env.py conf/client.conf &&
bin/apply-config-from-env.py conf/pulsar_env.sh &&
bin/apply-config-from-env.py conf/pulsar_tools_env.sh &&
sleep 10000000000
envFrom:
- configMapRef:
name: broker-config
env:
- name: webServiceUrl
value: "http://broker:8080/"
- name: brokerServiceUrl
value: "pulsar://broker:6650/"
- name: PULSAR_MEM
value: "\"-Xms64m -Xmx128m\""
| 34.088889 | 68 | 0.65515 |
f700b647cc10695a44a1991b49bbbe2f62251325 | 191 | yaml | YAML | .kustomize/base/service.yaml | AriesApp/open-api-doc | 6e1b80c7f19d7422e8e97456631c4c09f868fb24 | [
"Apache-2.0"
] | null | null | null | .kustomize/base/service.yaml | AriesApp/open-api-doc | 6e1b80c7f19d7422e8e97456631c4c09f868fb24 | [
"Apache-2.0"
] | 10 | 2020-05-14T08:51:46.000Z | 2021-06-02T01:53:11.000Z | .kustomize/base/service.yaml | AriesApp/open-api-doc | 6e1b80c7f19d7422e8e97456631c4c09f868fb24 | [
"Apache-2.0"
] | 1 | 2018-09-06T06:17:42.000Z | 2018-09-06T06:17:42.000Z | apiVersion: v1
kind: Service
metadata:
name: open-api-doc
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app: open-api-doc | 14.692308 | 21 | 0.65445 |
f70166f83a7214a767e18d554295715c5f2cf604 | 181 | yaml | YAML | manifests/base/argocd-metrics-service.yaml | solidnerd/argo-cd | 317d2a8aa8de62e07c9ceff542ae07cc698f2a99 | [
"Apache-2.0"
] | null | null | null | manifests/base/argocd-metrics-service.yaml | solidnerd/argo-cd | 317d2a8aa8de62e07c9ceff542ae07cc698f2a99 | [
"Apache-2.0"
] | null | null | null | manifests/base/argocd-metrics-service.yaml | solidnerd/argo-cd | 317d2a8aa8de62e07c9ceff542ae07cc698f2a99 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: argocd-metrics
spec:
ports:
- name: http
protocol: TCP
port: 8082
targetPort: 8082
selector:
app: argocd-server
| 13.923077 | 22 | 0.668508 |
f701c9bdc1a72e6d82f9b9b4d7e925a6cb1ef3b8 | 324 | yaml | YAML | config/rbac/config_viewer_role.yaml | ChrisRx/machine-api | 43a3b6b5d2edad5b4e768602e70452b8ed7a6c97 | [
"Apache-2.0"
] | 7 | 2020-10-15T19:32:45.000Z | 2021-01-13T19:56:18.000Z | config/rbac/config_viewer_role.yaml | ChrisRx/machine-api | 43a3b6b5d2edad5b4e768602e70452b8ed7a6c97 | [
"Apache-2.0"
] | null | null | null | config/rbac/config_viewer_role.yaml | ChrisRx/machine-api | 43a3b6b5d2edad5b4e768602e70452b8ed7a6c97 | [
"Apache-2.0"
] | 1 | 2020-10-21T20:00:55.000Z | 2020-10-21T20:00:55.000Z | # permissions for end users to view configs.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: config-viewer-role
rules:
- apiGroups:
- machine.crit.sh
resources:
- configs
verbs:
- get
- list
- watch
- apiGroups:
- machine.crit.sh
resources:
- configs/status
verbs:
- get
| 15.428571 | 44 | 0.691358 |
f701e1f94f223baa3727b34fb41e8f256523fe14 | 2,475 | yaml | YAML | .dockworker/deployment/k8s/prod/deployment.yaml | unb-libraries/datasets.lib.unb.ca | 556ea68cee5550eb396569a45b0b4f3a7e4fea17 | [
"MIT"
] | 2 | 2019-03-16T15:08:48.000Z | 2021-03-05T02:06:03.000Z | .dockworker/deployment/k8s/prod/deployment.yaml | unb-libraries/datasets.lib.unb.ca | 556ea68cee5550eb396569a45b0b4f3a7e4fea17 | [
"MIT"
] | null | null | null | .dockworker/deployment/k8s/prod/deployment.yaml | unb-libraries/datasets.lib.unb.ca | 556ea68cee5550eb396569a45b0b4f3a7e4fea17 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: drupal
appMajor: "8"
instance: datasets.lib.unb.ca
tier: frontend
uri: datasets.lib.unb.ca
vcsOwner: unb-libraries
vcsRepository: datasets.lib.unb.ca
vcsRef: prod
name: datasets-lib-unb-ca
namespace: prod
spec:
selector:
matchLabels:
uri: datasets.lib.unb.ca
replicas: 1
revisionHistoryLimit: 2
minReadySeconds: 30
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
metadata:
labels:
app: drupal
appMajor: "8"
instance: datasets.lib.unb.ca
tier: frontend
uri: datasets.lib.unb.ca
vcsOwner: unb-libraries
vcsRepository: datasets.lib.unb.ca
vcsRef: prod
spec:
nodeSelector:
deployenv: prod
containers:
-
name: datasets-lib-unb-ca
readinessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 15
livenessProbe:
httpGet:
path: /health
port: 80
initialDelaySeconds: 100
timeoutSeconds: 3
periodSeconds: 15
env:
-
name: DEPLOY_ENV
value: prod
-
name: MYSQL_HOSTNAME
value: drupal-mysql-lib-unb-ca
-
name: MYSQL_PORT
value: "3306"
-
name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mysql
key: root-password
-
name: NR_INSTALL_KEY
valueFrom:
secretKeyRef:
name: newrelic
key: install-key
image: "||DEPLOYMENTIMAGE||"
imagePullPolicy: Always
ports:
-
containerPort: 80
volumeMounts:
-
mountPath: /app/html/sites/default
name: drupal-persistent-storage
priorityClassName: med-priority-services
imagePullSecrets:
-
name: github-container-registry-auth
restartPolicy: Always
volumes:
-
name: drupal-persistent-storage
persistentVolumeClaim:
claimName: datasets-lib-unb-ca
| 25 | 48 | 0.51798 |
f70214cf468dcabb804e2eeaf9b0ebda184a24fd | 1,029 | yaml | YAML | boskos/cluster/metrics-deployment.yaml | jacob-delgado/test-infra | 8289b92190e512792e0a4ee0ef9807934633d5df | [
"Apache-2.0"
] | 61 | 2017-05-26T00:07:10.000Z | 2021-09-23T13:06:42.000Z | boskos/cluster/metrics-deployment.yaml | jacob-delgado/test-infra | 8289b92190e512792e0a4ee0ef9807934633d5df | [
"Apache-2.0"
] | 3,300 | 2017-04-13T19:26:26.000Z | 2022-03-31T22:02:45.000Z | boskos/cluster/metrics-deployment.yaml | jacob-delgado/test-infra | 8289b92190e512792e0a4ee0ef9807934633d5df | [
"Apache-2.0"
] | 171 | 2017-04-13T19:09:05.000Z | 2022-03-28T13:12:20.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: boskos-metrics
labels:
app.kubernetes.io/part-of: boskos
app: boskos-metrics
namespace: boskos
spec:
selector:
matchLabels:
app: boskos-metrics
replicas: 1
template:
metadata:
labels:
app: boskos-metrics
namespace: test-pods
spec:
terminationGracePeriodSeconds: 30
containers:
- name: metrics
image: gcr.io/k8s-staging-boskos/metrics:v20200819-984516e
args:
- --resource-type=gke-perf-preset,gcp-perf-test-project,gcp-project,gke-e2e-test
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /prometheus
port: 8080
periodSeconds: 1
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 10
tolerations:
- key: dedicated
operator: Equal
value: boskos
effect: NoSchedule
nodeSelector:
prod: boskos
| 23.386364 | 88 | 0.601555 |
f7023dd2bd92b0189cf77df8eead090f9bd971ac | 2,172 | yaml | YAML | config/prow/cluster/statusreconciler_deployment.yaml | opdev/test-infra | 945b4b9a796124d0bb773a4634a1abb6818c8b5d | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/statusreconciler_deployment.yaml | opdev/test-infra | 945b4b9a796124d0bb773a4634a1abb6818c8b5d | [
"Apache-2.0"
] | 1 | 2020-12-03T14:02:36.000Z | 2020-12-03T14:02:36.000Z | config/prow/cluster/statusreconciler_deployment.yaml | opdev/test-infra | 945b4b9a796124d0bb773a4634a1abb6818c8b5d | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 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: statusreconciler
labels:
app: statusreconciler
spec:
replicas: 1
selector:
matchLabels:
app: statusreconciler
template:
metadata:
labels:
app: statusreconciler
spec:
serviceAccountName: statusreconciler
terminationGracePeriodSeconds: 180
containers:
- name: statusreconciler
image: gcr.io/k8s-prow/status-reconciler:v20210414-378dc3ffc3
imagePullPolicy: Always
args:
- --dry-run=false
- --continue-on-error=true
- --plugin-config=/etc/plugins/plugins.yaml
- --config-path=/etc/config/config.yaml
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --job-config-path=/etc/job-config
- --denylist=kubernetes/kubernetes
volumeMounts:
- name: oauth
mountPath: /etc/github
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
- name: plugins
mountPath: /etc/plugins
readOnly: true
volumes:
- name: oauth
secret:
secretName: oauth-token
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config
- name: plugins
configMap:
name: plugins
| 29.351351 | 74 | 0.635359 |
f70286692a8bece5c8539affbb34d325920a9517 | 299 | yaml | YAML | docs/examples/csi-driver/azure/storageclass.yaml | rndmh3ro/docs-1 | a85bfc69fb26d08317aad8323a89987ab4349282 | [
"Apache-2.0"
] | null | null | null | docs/examples/csi-driver/azure/storageclass.yaml | rndmh3ro/docs-1 | a85bfc69fb26d08317aad8323a89987ab4349282 | [
"Apache-2.0"
] | null | null | null | docs/examples/csi-driver/azure/storageclass.yaml | rndmh3ro/docs-1 | a85bfc69fb26d08317aad8323a89987ab4349282 | [
"Apache-2.0"
] | null | null | null | kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: vault-azure-storage
namespace: demo
annotations:
storageclass.kubernetes.io/is-default-class: "false"
provisioner: secrets.csi.kubevault.com
parameters:
ref: demo/vault-app
engine: Azure
role: my-role
path: azure
| 19.933333 | 56 | 0.749164 |
f703135c4b64289da3666bdcd95e0e0a5a0a763b | 206 | yaml | YAML | operators/flux/0.15.3/manifests/notification-controller.serviceaccount.yaml | eemcmullan/community-operators-prod | 781ce347284282f7f37d431df1fd035d7232c47b | [
"Apache-2.0"
] | 449 | 2019-01-08T21:21:22.000Z | 2022-03-30T02:23:33.000Z | operators/flux/0.15.3/manifests/notification-controller.serviceaccount.yaml | eemcmullan/community-operators-prod | 781ce347284282f7f37d431df1fd035d7232c47b | [
"Apache-2.0"
] | 2,828 | 2019-01-09T14:16:10.000Z | 2021-07-30T14:09:52.000Z | operators/flux/0.15.3/manifests/notification-controller.serviceaccount.yaml | eemcmullan/community-operators-prod | 781ce347284282f7f37d431df1fd035d7232c47b | [
"Apache-2.0"
] | 982 | 2019-01-08T22:05:07.000Z | 2022-03-21T21:31:51.000Z | apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: flux-system
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: 0.15.3
name: notification-controller
| 22.888889 | 43 | 0.747573 |
f7032fc77a29772f16a98dd047434962ca7a7050 | 282 | yml | YAML | manifests/service.yml | wz0un/bitnami-docker-wordpress | 9827264f00ae5c07ac9107f0953511be54a50783 | [
"Apache-2.0"
] | null | null | null | manifests/service.yml | wz0un/bitnami-docker-wordpress | 9827264f00ae5c07ac9107f0953511be54a50783 | [
"Apache-2.0"
] | null | null | null | manifests/service.yml | wz0un/bitnami-docker-wordpress | 9827264f00ae5c07ac9107f0953511be54a50783 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: "kubwz0un1-cffc"
labels:
app: "kubwz0un1-cffc"
spec:
type: LoadBalancer
ports:
- port: 8080
targetPort: 8080
protocol: TCP
name: http
selector:
app: "kubwz0un1-cffc" | 18.8 | 30 | 0.567376 |
f7033b21dafd356bfc68934d02c6f7027ca4f32c | 304 | yaml | YAML | kubernetes-elasticsearch-cluster/es-svc.yaml | lgolowich/data-explorer-indexers | 87884a657b911eba30614f550f8987139fbc872c | [
"BSD-3-Clause"
] | 4 | 2018-12-18T21:18:35.000Z | 2021-08-23T10:44:31.000Z | kubernetes-elasticsearch-cluster/es-svc.yaml | lgolowich/data-explorer-indexers | 87884a657b911eba30614f550f8987139fbc872c | [
"BSD-3-Clause"
] | 42 | 2018-03-06T20:35:15.000Z | 2020-07-14T23:37:10.000Z | kubernetes-elasticsearch-cluster/es-svc.yaml | lgolowich/data-explorer-indexers | 87884a657b911eba30614f550f8987139fbc872c | [
"BSD-3-Clause"
] | 5 | 2018-10-08T16:42:55.000Z | 2020-03-27T08:06:32.000Z | apiVersion: v1
kind: Service
metadata:
name: elasticsearch
labels:
component: elasticsearch
role: data
annotations:
cloud.google.com/load-balancer-type: "Internal"
spec:
selector:
component: elasticsearch
role: data
ports:
- name: http
port: 9200
type: LoadBalancer
| 16.888889 | 51 | 0.697368 |
f7038bc9be3a4edd7ff4d521d12e45e8cb011898 | 194 | yaml | YAML | configs/openfaas/templates/secrets.yaml | genebean/kubebag | 490013dadafa2b64fcc599d17ce647acfd2814cc | [
"BSD-3-Clause"
] | 11 | 2019-11-13T13:52:10.000Z | 2020-02-14T20:42:24.000Z | configs/openfaas/templates/secrets.yaml | genebean/kubebag | 490013dadafa2b64fcc599d17ce647acfd2814cc | [
"BSD-3-Clause"
] | 1 | 2019-11-13T16:28:21.000Z | 2019-11-13T16:28:21.000Z | configs/openfaas/templates/secrets.yaml | genebean/kubebag | 490013dadafa2b64fcc599d17ce647acfd2814cc | [
"BSD-3-Clause"
] | 1 | 2019-11-13T15:09:37.000Z | 2019-11-13T15:09:37.000Z | apiVersion: v1
kind: Secret
metadata:
name: basic-auth
type: Opaque
stringData:
basic-auth-user: "{{ .Values.basicauth.username }}"
basic-auth-password: "{{ .Values.basicauth.password }}"
| 21.555556 | 57 | 0.716495 |
f70426fc0f5aeee2d85f9c92655473cec7be6104 | 831 | yaml | YAML | tests/stacks/ibm/test_data/expected/~g_v1_service_jupyter-web-app-service.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 376 | 2019-02-27T01:32:34.000Z | 2022-03-29T14:02:39.000Z | tests/stacks/ibm/test_data/expected/~g_v1_service_jupyter-web-app-service.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 2,171 | 2019-02-27T17:37:34.000Z | 2022-03-31T18:16:26.000Z | tests/stacks/ibm/test_data/expected/~g_v1_service_jupyter-web-app-service.yaml | pathologywatch/manifests | 622a1974ef841406b45bd3ae51ba507cbaf4bf89 | [
"Apache-2.0"
] | 643 | 2019-02-27T01:49:11.000Z | 2022-03-31T06:31:15.000Z | apiVersion: v1
kind: Service
metadata:
annotations:
getambassador.io/config: |-
---
apiVersion: ambassador/v0
kind: Mapping
name: webapp_mapping
prefix: /jupyter/
service: jupyter-web-app-service.kubeflow
add_request_headers:
x-forwarded-prefix: /jupyter
labels:
app: jupyter-web-app
app.kubernetes.io/component: jupyter-web-app
app.kubernetes.io/name: jupyter-web-app
kustomize.component: jupyter-web-app
run: jupyter-web-app
name: jupyter-web-app-service
namespace: kubeflow
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 5000
selector:
app: jupyter-web-app
app.kubernetes.io/component: jupyter-web-app
app.kubernetes.io/name: jupyter-web-app
kustomize.component: jupyter-web-app
type: ClusterIP
| 24.441176 | 48 | 0.683514 |
f7047c27ff730344f478becf24855e2c30669fd5 | 1,192 | yml | YAML | vcs/kustomize/vcs/overlays/local/vcs/holder/add-profiles.yml | talwinder50/k8s | 542d2918d2e4976a768ab05adfa314c3006c220f | [
"Apache-2.0"
] | null | null | null | vcs/kustomize/vcs/overlays/local/vcs/holder/add-profiles.yml | talwinder50/k8s | 542d2918d2e4976a768ab05adfa314c3006c220f | [
"Apache-2.0"
] | null | null | null | vcs/kustomize/vcs/overlays/local/vcs/holder/add-profiles.yml | talwinder50/k8s | 542d2918d2e4976a768ab05adfa314c3006c220f | [
"Apache-2.0"
] | null | null | null | #
# Copyright SecureKey Technologies Inc. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
---
kind: Job
apiVersion: batch/v1
metadata:
name: holder-vcs-add-profiles
spec:
template:
spec:
volumes:
- name: script
configMap:
name: holder-vcs-add-profiles-script
restartPolicy: Never
initContainers:
- name: wait
image: busybox
imagePullPolicy: IfNotPresent
command: ["sh"]
args: ["-c", "sleep 5"]
- name: healthcheck-ready
image: busybox
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args:
- "-c"
- |
while [[ "$(wget -T 5 -S --spider http://${HOLDER_VCS_SERVICE_HOST}/healthcheck 2>&1 | grep '200 OK')" == "" ]];
do echo "waiting for endpoint";
sleep 5;
done;
containers:
- name: holder-vcs-add-profiles
image: "alpine:latest"
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args: ["/opt/vcs_holder_configure.sh"]
volumeMounts:
- name: script
mountPath: /opt
| 25.913043 | 126 | 0.533557 |
f7049b190e43ced482be393b83b6227965870981 | 143 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation654.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation654.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation654.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-654
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 17.875 | 49 | 0.72028 |
f704ab4689d5f8a33567ddeddf7639a509ed49ad | 1,078 | yaml | YAML | config/prow/cluster/pipeline_deployment.yaml | ike-ma/test-infra | 624c7344bdb56bd25e119a8b1ccc284939861938 | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/pipeline_deployment.yaml | ike-ma/test-infra | 624c7344bdb56bd25e119a8b1ccc284939861938 | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/pipeline_deployment.yaml | ike-ma/test-infra | 624c7344bdb56bd25e119a8b1ccc284939861938 | [
"Apache-2.0"
] | null | null | null | kind: Deployment
apiVersion: apps/v1
metadata:
name: prow-pipeline
namespace: default
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: prow-pipeline
template:
metadata:
labels:
app: prow-pipeline
spec:
serviceAccountName: prow-pipeline
containers:
- name: pipeline
image: gcr.io/k8s-prow/pipeline:v20210525-8b942ff77a
args:
- --all-contexts
- --config=/etc/prow-config/config.yaml
env:
# Use KUBECONFIG envvar rather than --kubeconfig flag in order to provide multiple configs to merge.
- name: KUBECONFIG
value: "/etc/kubeconfig/config"
volumeMounts:
- mountPath: /etc/kubeconfig
name: kubeconfig
readOnly: true
- mountPath: /etc/prow-config
name: prow-config
readOnly: true
volumes:
- name: kubeconfig
secret:
defaultMode: 420
secretName: kubeconfig
- name: prow-config
configMap:
name: config
| 24.5 | 108 | 0.595547 |
f705049a3204a487c73836d1a228f2f9a00a20fe | 145,723 | yaml | YAML | config-root/namespaces/monitoring/monitoring-prometheus-monitors/spring-dashboard-cm.yaml | vkvych-at-vitech/sdlc-env-100 | e5683b6b257d4a97c1e538c0facc9916329cba71 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/monitoring/monitoring-prometheus-monitors/spring-dashboard-cm.yaml | vkvych-at-vitech/sdlc-env-100 | e5683b6b257d4a97c1e538c0facc9916329cba71 | [
"Apache-2.0"
] | 21 | 2021-05-11T12:32:21.000Z | 2021-05-14T14:13:39.000Z | config-root/namespaces/monitoring/monitoring-prometheus-monitors/spring-dashboard-cm.yaml | vkvych-at-vitech/sdlc-env-100 | e5683b6b257d4a97c1e538c0facc9916329cba71 | [
"Apache-2.0"
] | null | null | null | # Source: monitoring/templates/spring-dashboard.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: spring-dashboard
labels:
grafana_dashboard: "1"
release: "monitoring"
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
meta.helm.sh/release-name: 'prometheus-monitors'
namespace: monitoring
data:
spring.json: |-
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.0.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "Dashboard for Spring Boot2 Statistics(by micrometer-prometheus).\r\nThis is a fork of dashboard 6756, fixed for Spring Boot 2.3 and support for Jetty instead of Tomcat.",
"editable": true,
"gnetId": 12464,
"graphTooltip": 0,
"id": null,
"iteration": 1592010645913,
"links": [],
"panels": [
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 54,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(245, 54, 54, 0.9)",
"#5195ce",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "Prometheus",
"decimals": 1,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 5
},
"height": "",
"id": 52,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "70%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "process_uptime_seconds{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", version=\"local\"}",
"targets": [
{
"expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 14400
}
],
"thresholds": "",
"title": "Uptime",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 1,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 5,
"x": 6,
"y": 5
},
"id": 58,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "70%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A",
"step": 14400
}
],
"thresholds": "70,90",
"title": "Heap Used",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(50, 172, 45, 0.97)",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "Prometheus",
"decimals": 1,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
"w": 5,
"x": 11,
"y": 5
},
"id": 60,
"interval": null,
"links": [],
"mappingType": 2,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "70%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
},
{
"from": "-99999999999999999999999999999999",
"text": "N/A",
"to": "0"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 14400
}
],
"thresholds": "70,90",
"title": "Non-Heap Used",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
},
{
"op": "=",
"text": "x",
"value": ""
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 5
},
"hiddenSeries": false,
"id": 66,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "process_files_open{application=\"$application\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Open Files",
"refId": "A"
},
{
"expr": "process_files_max{application=\"$application\", instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max Files",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Process Open Files",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "locale",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"rgba(245, 54, 54, 0.9)",
"#5195ce",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "Prometheus",
"decimals": null,
"editable": true,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "dateTimeAsIso",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 8
},
"height": "",
"id": 56,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "70%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", version=\"local\"}",
"targets": [
{
"expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 14400
}
],
"thresholds": "",
"title": "Start time",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 11
},
"hiddenSeries": false,
"id": 95,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "system_cpu_usage{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "System CPU Usage",
"refId": "A"
},
{
"expr": "process_cpu_usage{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Process CPU Usage",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 11
},
"hiddenSeries": false,
"id": 96,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "system_load_average_1m{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Load Average [1m]",
"refId": "A"
},
{
"expr": "system_cpu_count{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "CPU Core Size",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Load Average",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Basic Statistics",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 1
},
"id": 48,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 2
},
"hiddenSeries": false,
"id": 85,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "memory_pool_heap",
"repeatDirection": "h",
"scopedVars": {
"memory_pool_heap": {
"selected": false,
"text": "ZHeap",
"value": "ZHeap"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used",
"refId": "C"
},
{
"expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Commited",
"refId": "A"
},
{
"expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$memory_pool_heap (heap)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 0,
"y": 10
},
"hiddenSeries": false,
"id": 88,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "memory_pool_nonheap",
"repeatDirection": "h",
"scopedVars": {
"memory_pool_nonheap": {
"selected": false,
"text": "CodeHeap 'non-nmethods'",
"value": "CodeHeap 'non-nmethods'"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used",
"refId": "C"
},
{
"expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Commited",
"refId": "A"
},
{
"expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$memory_pool_nonheap (non-heap)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 6,
"y": 10
},
"hiddenSeries": false,
"id": 97,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1592010645910,
"repeatPanelId": 88,
"scopedVars": {
"memory_pool_nonheap": {
"selected": false,
"text": "CodeHeap 'non-profiled nmethods'",
"value": "CodeHeap 'non-profiled nmethods'"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used",
"refId": "C"
},
{
"expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Commited",
"refId": "A"
},
{
"expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$memory_pool_nonheap (non-heap)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 12,
"y": 10
},
"hiddenSeries": false,
"id": 98,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1592010645910,
"repeatPanelId": 88,
"scopedVars": {
"memory_pool_nonheap": {
"selected": false,
"text": "CodeHeap 'profiled nmethods'",
"value": "CodeHeap 'profiled nmethods'"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used",
"refId": "C"
},
{
"expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Commited",
"refId": "A"
},
{
"expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$memory_pool_nonheap (non-heap)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 6,
"x": 18,
"y": 10
},
"hiddenSeries": false,
"id": 99,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1592010645910,
"repeatPanelId": 88,
"scopedVars": {
"memory_pool_nonheap": {
"selected": false,
"text": "Metaspace",
"value": "Metaspace"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used",
"refId": "C"
},
{
"expr": "jvm_memory_committed_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Commited",
"refId": "A"
},
{
"expr": "jvm_memory_max_bytes{instance=\"$instance\", application=\"$application\", id=\"$memory_pool_nonheap\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Max",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "$memory_pool_nonheap (non-heap)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 18
},
"hiddenSeries": false,
"id": 50,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_classes_loaded{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Classes Loaded",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Classes Loaded",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "locale",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 18
},
"hiddenSeries": false,
"id": 80,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(jvm_classes_unloaded_total{instance=\"$instance\", application=\"$application\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Classes Unloaded",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Classes Unloaded",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 26
},
"hiddenSeries": false,
"id": 82,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"direct\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used Bytes",
"refId": "A"
},
{
"expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\", application=\"$application\", id=\"direct\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Capacity Bytes",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Direct Buffers",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 26
},
"hiddenSeries": false,
"id": 83,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\", application=\"$application\", id=\"mapped\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Used Bytes",
"refId": "A"
},
{
"expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\", application=\"$application\", id=\"mapped\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Capacity Bytes",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Mapped Buffers",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 33
},
"hiddenSeries": false,
"id": 68,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jvm_threads_daemon{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Daemon",
"refId": "A"
},
{
"expr": "jvm_threads_live{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Live",
"refId": "B"
},
{
"expr": "jvm_threads_peak{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Peak",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Threads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"hiddenSeries": false,
"id": 78,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(jvm_gc_memory_allocated_bytes_total{instance=\"$instance\", application=\"$application\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "allocated",
"refId": "A"
},
{
"expr": "irate(jvm_gc_memory_promoted_bytes_total{instance=\"$instance\", application=\"$application\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "promoted",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory Allocate/Promote",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "JVM Statistics - Memory",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 72,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 0,
"y": 3
},
"hiddenSeries": false,
"id": 74,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(jvm_gc_pause_seconds_count{instance=\"$instance\", application=\"$application\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": " {{action}} [ {{cause}} ]",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "GC Count",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "locale",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 10,
"w": 12,
"x": 12,
"y": 3
},
"hiddenSeries": false,
"id": 76,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(jvm_gc_pause_seconds_sum{instance=\"$instance\", application=\"$application\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": " {{action}} [ {{cause}} ]",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "GC Stop the World Duration",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "JVM Statistics - GC",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 3
},
"id": 34,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 4
},
"id": 44,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "hikaricp_connections{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", pool=\"HikariPool-1\", version=\"local\"}",
"targets": [
{
"expr": "hikaricp_connections{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Connections Size",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 20,
"x": 4,
"y": 4
},
"hiddenSeries": false,
"id": 36,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"hideZero": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "hikaricp_connections_active{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Active",
"refId": "B"
},
{
"expr": "hikaricp_connections_idle{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Idle",
"refId": "A"
},
{
"expr": "hikaricp_connections_pending{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Pending",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 8
},
"id": 46,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "hikaricp_connections_timeout_total{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", pool=\"HikariPool-1\", version=\"local\"}",
"targets": [
{
"expr": "hikaricp_connections_timeout_total{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Connection Timeout Count",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 38,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "hikaricp_connections_creation_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Creation Time",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Connection Creation Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 12
},
"hiddenSeries": false,
"id": 42,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "hikaricp_connections_usage_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Usage Time",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Connection Usage Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 12
},
"hiddenSeries": false,
"id": 40,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "hikaricp_connections_acquire_seconds_sum{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{instance=\"$instance\", application=\"$application\", pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "Acquire Time",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Connection Acquire Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "HikariCP Statistics",
"type": "row"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 4
},
"id": 101,
"panels": [],
"title": "Hibernate Stats",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "Prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 0,
"y": 5
},
"id": 102,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"values": false
}
},
"pluginVersion": "7.0.1",
"targets": [
{
"expr": "hibernate_transactions_total{application=\"$application\", instance=\"$instance\", result=\"success\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 14400
}
],
"title": "Total Transactions",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "Prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 6,
"y": 5
},
"id": 106,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"values": false
}
},
"pluginVersion": "7.0.1",
"targets": [
{
"expr": "hibernate_statements_total{application=\"$application\", instance=\"$instance\", status=\"prepared\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "Statements",
"metric": "",
"refId": "A",
"step": 14400
}
],
"title": "Prepared Statements ",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "Prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 12,
"y": 5
},
"id": 107,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"values": false
}
},
"pluginVersion": "7.0.1",
"targets": [
{
"expr": "hibernate_optimistic_failures_total",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 14400
}
],
"title": "Total optimistic locking failures",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "Prometheus",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {},
"decimals": 1,
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 6,
"x": 18,
"y": 5
},
"id": 108,
"interval": null,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"lastNotNull"
]
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"last"
],
"values": false
}
},
"pluginVersion": "7.0.1",
"targets": [
{
"expr": "hibernate_query_executions_total",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 14400
}
],
"title": "Total query executions",
"type": "stat"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"hiddenSeries": false,
"id": 104,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(hibernate_sessions_open_total{application=\"$application\", instance=\"$instance\"}[5m]) ",
"hide": false,
"interval": "",
"legendFormat": "sessions_opened",
"refId": "B"
},
{
"expr": "rate(hibernate_sessions_closed_total{application=\"$application\", instance=\"$instance\"}[5m]) ",
"hide": false,
"interval": "",
"legendFormat": "sessions_closed",
"refId": "C"
},
{
"expr": "rate(hibernate_flushes_total{application=\"$application\", instance=\"$instance\"}[5m]) ",
"interval": "",
"legendFormat": "flushes",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [
{
"$$hashKey": "object:969",
"colorMode": "background6",
"fill": true,
"fillColor": "rgba(234, 112, 112, 0.12)",
"line": false,
"lineColor": "rgba(237, 46, 24, 0.60)",
"op": "time"
}
],
"timeShift": null,
"title": "Entity Manager / Session Metrics",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:934",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:935",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"hiddenSeries": false,
"id": 105,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.0.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(hibernate_collections_loads_total{application=\"$application\", instance=\"$instance\"}[2m])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "collections loaded",
"refId": "B"
},
{
"expr": "rate(hibernate_collections_updates_total{application=\"$application\", instance=\"$instance\"}[2m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "collections updated",
"refId": "C"
},
{
"expr": "rate(hibernate_collections_fetches_total{application=\"$application\", instance=\"$instance\"}[2m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "collection fetches",
"refId": "A"
},
{
"expr": "rate(hibernate_collections_deletes_total{application=\"$application\", instance=\"$instance\"}[2m])",
"interval": "",
"legendFormat": "remove",
"refId": "D"
},
{
"expr": "rate(hibernate_collections_recreates_total{application=\"$application\", instance=\"$instance\"}[2m])",
"interval": "",
"legendFormat": "recreates",
"refId": "E"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Entity Collection Metrics",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:602",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:603",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 109,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pluginVersion": "7.0.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(hibernate_collections_loads_total{application=\"$application\", instance=\"$instance\"}[2m])",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "entities loaded",
"refId": "B"
},
{
"expr": "rate(hibernate_entities_updates_total{application=\"$application\", instance=\"$instance\"}[2m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "entities updated",
"refId": "C"
},
{
"expr": "rate(hibernate_entities_fetches_total{application=\"$application\", instance=\"$instance\"}[2m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "entities fetched",
"refId": "A"
},
{
"expr": "rate(hibernate_entities_deletes_total{application=\"$application\", instance=\"$instance\"}[2m])",
"interval": "",
"legendFormat": "entities removed",
"refId": "D"
},
{
"expr": "rate(hibernate_entities_recreates_total{application=\"$application\", instance=\"$instance\"}[2m])",
"interval": "",
"legendFormat": "recreates",
"refId": "E"
},
{
"expr": "rate(hibernate_entities_inserts_total{application=\"$application\", instance=\"$instance\"}[2m])",
"interval": "",
"legendFormat": "entities inserted",
"refId": "F"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Entity Metrics",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:602",
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:603",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 18,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 5
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", uri!~\".*actuator.*\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{method}} [{{status}}] - {{uri}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Request Count",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{method}} [{{status}}] - {{uri}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Response Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "HTTP Statistics",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 22,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 6
},
"id": 28,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "jetty_threads_config_max{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", version=\"local\"}",
"targets": [
{
"expr": "jetty_threads_config_max{instance=\"$instance\", application=\"$application\"} ",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Max Threads",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"decimals": 0,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 20,
"x": 4,
"y": 6
},
"hiddenSeries": false,
"id": 24,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "jetty_threads_busy{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "busy ",
"refId": "A"
},
{
"expr": "jetty_threads_idle{instance=\"$instance\", application=\"$application\"}",
"interval": "",
"legendFormat": "idle",
"refId": "B"
},
{
"expr": "jetty_threads_current{instance=\"$instance\", application=\"$application\"}",
"interval": "",
"legendFormat": "current",
"refId": "C"
},
{
"expr": "jetty_threads_jobs{instance=\"$instance\", application=\"$application\"}",
"interval": "",
"legendFormat": "jobs",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Jetty Threads",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "none",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"decimals": null,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"format": "locale",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 10
},
"id": 32,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "jetty_threads_config_min{app=\"orders\", app_kubernetes_io_instance=\"mushop\", app_kubernetes_io_name=\"orders\", instance=\"10.1.0.72:80\", job=\"kubernetes-pods\", kubernetes_namespace=\"mushop\", kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\", mockmode=\"false\", pod_template_hash=\"67bb8f45c8\", version=\"local\"}",
"targets": [
{
"expr": "jetty_threads_config_min{instance=\"$instance\", application=\"$application\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Thread Config Min",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"title": "Jetty Statistics",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 8,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 104
},
"hiddenSeries": false,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"info\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "info",
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "INFO logs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 104
},
"hiddenSeries": false,
"id": 10,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"error\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "error",
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "ERROR logs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 111
},
"hiddenSeries": false,
"id": 14,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"warn\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "warn",
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WARN logs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 111
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"debug\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "debug",
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DEBUG logs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 111
},
"hiddenSeries": false,
"id": 20,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": true,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "",
"expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"trace\"}[5m])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "trace",
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "TRACE logs",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"title": "Logback Statistics",
"type": "row"
}
],
"refresh": "5s",
"schemaVersion": 25,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {},
"datasource": "Prometheus",
"definition": "label_values(jvm_classes_loaded_classes, instance)",
"hide": 0,
"includeAll": false,
"label": "Instance",
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(jvm_classes_loaded_classes, instance)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "Prometheus",
"definition": "",
"hide": 0,
"includeAll": false,
"label": "Application",
"multi": false,
"name": "application",
"options": [],
"query": "label_values(jvm_classes_loaded{instance=\"$instance\"}, application)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "Prometheus",
"definition": "",
"hide": 0,
"includeAll": false,
"label": "HikariCP-Pool",
"multi": false,
"name": "hikaricp",
"options": [],
"query": "label_values(hikaricp_connections{instance=\"$instance\", application=\"$application\"}, pool)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "Prometheus",
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Memory Pool (heap)",
"multi": false,
"name": "memory_pool_heap",
"options": [],
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "Prometheus",
"definition": "",
"hide": 0,
"includeAll": true,
"label": "Memory Pool (nonheap)",
"multi": false,
"name": "memory_pool_nonheap",
"options": [],
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-15m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "",
"title": "Spring Boot Statistics",
"uid": "OS7-NUiGz",
"version": 8
}
| 30.710854 | 393 | 0.315064 |
f7052f912818e081623c61aa47cfc817c91b93ad | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation4894.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation4894.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation4894.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-4894
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f7053d3948c63fc37b4a193b4050c89fdd387e0b | 311 | yaml | YAML | assets/thanos-querier/oauth-cookie-secret.yaml | fpetkovski/cluster-monitoring-operator | 55cac04a156ba80aa48fcfcae4e221ecbd8247e6 | [
"Apache-2.0"
] | null | null | null | assets/thanos-querier/oauth-cookie-secret.yaml | fpetkovski/cluster-monitoring-operator | 55cac04a156ba80aa48fcfcae4e221ecbd8247e6 | [
"Apache-2.0"
] | null | null | null | assets/thanos-querier/oauth-cookie-secret.yaml | fpetkovski/cluster-monitoring-operator | 55cac04a156ba80aa48fcfcae4e221ecbd8247e6 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
data: {}
kind: Secret
metadata:
labels:
app.kubernetes.io/component: query-layer
app.kubernetes.io/instance: thanos-querier
app.kubernetes.io/name: thanos-query
app.kubernetes.io/version: 0.19.0
name: thanos-querier-oauth-cookie
namespace: openshift-monitoring
type: Opaque
| 23.923077 | 46 | 0.745981 |
f70547541b27043fe7685cd1e412ab308cef39f3 | 2,576 | yaml | YAML | apps/prow/cluster/hook_deployment.yaml | Priyankasaggu11929/k8s.io | 3e3bd0b8dc05a0bff46f100692910e24e15c11e2 | [
"Apache-2.0"
] | null | null | null | apps/prow/cluster/hook_deployment.yaml | Priyankasaggu11929/k8s.io | 3e3bd0b8dc05a0bff46f100692910e24e15c11e2 | [
"Apache-2.0"
] | null | null | null | apps/prow/cluster/hook_deployment.yaml | Priyankasaggu11929/k8s.io | 3e3bd0b8dc05a0bff46f100692910e24e15c11e2 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: prow
name: hook
labels:
app: hook
spec:
replicas: 4
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
app: hook
template:
metadata:
labels:
app: hook
spec:
serviceAccountName: hook
terminationGracePeriodSeconds: 180
containers:
- name: hook
image: gcr.io/k8s-prow/hook:v20220404-e2e605a820
imagePullPolicy: Always
args:
- --config-path=/etc/config/config.yaml
- --dry-run=false
- --github-endpoint=http://ghproxy.prow.svc.cluster.local
- --github-endpoint=https://api.github.com
- --github-token-path=/etc/github/token
- --job-config-path=/etc/job-config
- --kubeconfig=/etc/kubeconfig/kubeconfig
ports:
- name: http
containerPort: 8888
- name: metrics
containerPort: 9090
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
privileged: false
volumeMounts:
- name: hmac
mountPath: /etc/webhook
readOnly: true
- name: github-token
mountPath: /etc/github
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
- name: plugins
mountPath: /etc/plugins
readOnly: true
- name: kubeconfig
mountPath: /etc/kubeconfig
readOnly: true
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /healthz/ready
port: 8081
initialDelaySeconds: 10
periodSeconds: 3
timeoutSeconds: 600
volumes:
- name: hmac
secret:
secretName: k8s-infra-prow-hmac-token
- name: github-token
secret:
defaultMode: 420
secretName: k8s-infra-ci-robot-github-token
- name: kubeconfig
secret:
defaultMode: 420
secretName: k8s-infra-build-clusters-kubeconfig
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config
- name: plugins
configMap:
name: plugins
| 25.50495 | 65 | 0.549689 |
f70588ddc5fc42794d0b4bbc79eb190cf49e3d3a | 356 | yaml | YAML | content/docs/0.1.0-alpha.1/_testdata/test-6/manifests/output/github.com/kubepack/kube-a/manifests/app/dyn-hostpath/pv-pod.yaml | kubepack/website | a38f5aad7bf23df00a36c713be19968f810ddb72 | [
"Apache-2.0"
] | 3 | 2018-01-07T14:19:02.000Z | 2019-04-24T13:58:25.000Z | content/docs/0.1.0-alpha.1/_testdata/test-6/manifests/output/github.com/kubepack/kube-a/manifests/app/dyn-hostpath/pv-pod.yaml | kubepack/website | a38f5aad7bf23df00a36c713be19968f810ddb72 | [
"Apache-2.0"
] | 2 | 2018-04-19T05:38:23.000Z | 2019-11-02T06:37:39.000Z | content/docs/0.1.0-alpha.1/_testdata/test-6/manifests/output/github.com/kubepack/kube-b/manifests/app/dyn-hostpath/pv-pod.yaml | kubepack/website | a38f5aad7bf23df00a36c713be19968f810ddb72 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
annotations:
git-commit-hash: de53e301b2cbc0e991f2cf609eef099c91a7fcfe
name: test-pd
spec:
containers:
- image: gcr.io/google_containers/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-pd
name: test-volume
volumes:
- hostPath:
path: /tmp
name: test-volume
| 19.777778 | 61 | 0.699438 |
f705fefb8c2a89bb8c35e404027722096462ef53 | 169 | yaml | YAML | manifests/kustomize/env/gcp/gcp-default-config/gcp-default-configmap.yaml | Tomcli/kfp-tekton-backend | bd1b853d43aa82fd914c65a34d3f3502c38eabe2 | [
"Apache-2.0"
] | 6 | 2020-05-19T02:35:11.000Z | 2020-05-29T17:58:42.000Z | manifests/kustomize/env/gcp/gcp-default-config/gcp-default-configmap.yaml | Tomcli/kfp-tekton-backend | bd1b853d43aa82fd914c65a34d3f3502c38eabe2 | [
"Apache-2.0"
] | 1,932 | 2021-01-25T11:23:37.000Z | 2022-03-31T17:10:18.000Z | manifests/kustomize/env/gcp/gcp-default-config/gcp-default-configmap.yaml | ckadner/kfp-tekton-backend | 53e0e68a79e67535443505d074e1524994efcd06 | [
"Apache-2.0"
] | 11 | 2020-05-19T22:26:41.000Z | 2021-01-25T09:56:21.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: gcp-default-config
data:
bucket_name: "$(BUCKET_NAME)"
has_default_bucket: "true"
project_id: "$(GCP_PROJECT_ID)"
| 18.777778 | 33 | 0.739645 |
f706293daf66b83248583b94d7c5fc6c02593738 | 1,165 | yaml | YAML | openmcp-snapshot/deploy/operator.yaml | openmcp/Public_OpenMCP-Release | 95da3aeb0a184a70ed682a9851b2dbd945173837 | [
"Unlicense"
] | null | null | null | openmcp-snapshot/deploy/operator.yaml | openmcp/Public_OpenMCP-Release | 95da3aeb0a184a70ed682a9851b2dbd945173837 | [
"Unlicense"
] | null | null | null | openmcp-snapshot/deploy/operator.yaml | openmcp/Public_OpenMCP-Release | 95da3aeb0a184a70ed682a9851b2dbd945173837 | [
"Unlicense"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: openmcp-snapshot
namespace: openmcp
spec:
replicas: 1
selector:
matchLabels:
name: openmcp-snapshot
template:
metadata:
labels:
name: openmcp-snapshot
spec:
serviceAccountName: openmcp-snapshot-sa
imagePullSecrets:
- name: regcred
containers:
- name: openmcp-snapshot
# Replace this with the built image name
image: openmcp/openmcp-snapshot:v0.0.2
command:
- openmcp-snapshot
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "openmcp-snapshot"
tolerations:
- key: node.kubernetes.io/not-ready
effect: NoExecute
tolerationSeconds: 0
- key: node.kubernetes.io/unreachable
effect: NoExecute
tolerationSeconds: 0
| 25.326087 | 50 | 0.559657 |
f7067b8be7c993567c9c937d90b533ef5a8d0d36 | 273 | yaml | YAML | guides/loadbalancer-source-ranges/loadbalancer-source-ranges.yaml | raymonddejong/vsphere-with-tanzu | 25e7894b0ff283fb4b3549d419ccf2b4c868df15 | [
"MIT"
] | null | null | null | guides/loadbalancer-source-ranges/loadbalancer-source-ranges.yaml | raymonddejong/vsphere-with-tanzu | 25e7894b0ff283fb4b3549d419ccf2b4c868df15 | [
"MIT"
] | null | null | null | guides/loadbalancer-source-ranges/loadbalancer-source-ranges.yaml | raymonddejong/vsphere-with-tanzu | 25e7894b0ff283fb4b3549d419ccf2b4c868df15 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: nginx-service-lb
labels:
app: nginx
spec:
type: LoadBalancer
loadBalancerSourceRanges:
- "10.30.88.0/24"
ports:
- port: 80
targetPort: 80
protocol: TCP
name: tcp
selector:
app: nginx | 16.058824 | 27 | 0.6337 |
f706cf0e473209a900d9a1d5daef34cd0285cae5 | 2,311 | yaml | YAML | tests/test_data/no-envs/expected/v1/ConfigMap/jenkins-x-pod-template-aws-cdk.yaml | jstrachan/jxboot-helmfile-resources | c4e324d30048b1ff350f530a8dbe93fa2db954d3 | [
"Apache-2.0"
] | null | null | null | tests/test_data/no-envs/expected/v1/ConfigMap/jenkins-x-pod-template-aws-cdk.yaml | jstrachan/jxboot-helmfile-resources | c4e324d30048b1ff350f530a8dbe93fa2db954d3 | [
"Apache-2.0"
] | null | null | null | tests/test_data/no-envs/expected/v1/ConfigMap/jenkins-x-pod-template-aws-cdk.yaml | jstrachan/jxboot-helmfile-resources | c4e324d30048b1ff350f530a8dbe93fa2db954d3 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: ConfigMap
metadata:
name: "jenkins-x-pod-template-aws-cdk"
labels:
jenkins.io/kind: podTemplate
data:
pod: |-
apiVersion: v1
kind: Pod
metadata:
name: jenkins-aws-cdk
labels:
jenkins.io/kind: build-pod
annotations:
jenkins-x.io/devpodPorts: 9229, 3000, 8080, 5005
spec:
serviceAccount: jenkins
nodeSelector:
volumes:
- name: workspace-volume
emptyDir: {}
- name: volume-0
secret:
secretName: jenkins-maven-settings
- name: volume-1
secret:
secretName: jenkins-docker-cfg
- name: volume-2
secret:
secretName: jenkins-release-gpg
containers:
- name: aws-cdk
image: gcr.io/jenkinsxio/builder-maven-nodejs:2.0.876-229
args:
- cat
command:
- /bin/sh
- -c
workingDir: /home/jenkins
securityContext:
privileged: true
tty: true
env:
- name: DOCKER_REGISTRY
valueFrom:
configMapKeyRef:
name: jenkins-x-docker-registry
key: docker.registry
- name: DOCKER_CONFIG
value: /home/jenkins/.docker/
- name: GIT_AUTHOR_EMAIL
value: [email protected]
- name: GIT_AUTHOR_NAME
value: jenkins-x-bot
- name: GIT_COMMITTER_EMAIL
value: [email protected]
- name: GIT_COMMITTER_NAME
value: jenkins-x-bot
- name: JENKINS_URL
value: http://jenkins:8080
- name: XDG_CONFIG_HOME
value: /home/jenkins
- name: _JAVA_OPTIONS
value: -XX:+UnlockExperimentalVMOptions -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx512m
resources:
requests:
cpu: 400m
memory: 512Mi
limits:
volumeMounts:
- mountPath: /home/jenkins
name: workspace-volume
- name: volume-0
mountPath: /root/.m2/
- name: volume-1
mountPath: /home/jenkins/.docker
- name: volume-2
mountPath: /home/jenkins/.gnupg
| 28.8875 | 218 | 0.570316 |
f706f9daa067cc1c1296675142617ad050ed09ac | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation6696.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation6696.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation6696.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-6696
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f7070f750adb8119b3084073cda561df3f0b3e0f | 310 | yaml | YAML | lab-01-yml-files/vote/service.yaml | alaaddintarhan/example-voting-app | bace842012071b3fb91d7df41709c390954dc085 | [
"Apache-2.0"
] | 3 | 2021-12-23T13:02:42.000Z | 2022-02-06T14:53:54.000Z | lab-01-yml-files/vote/service.yaml | alaaddintarhan/example-voting-app | bace842012071b3fb91d7df41709c390954dc085 | [
"Apache-2.0"
] | null | null | null | lab-01-yml-files/vote/service.yaml | alaaddintarhan/example-voting-app | bace842012071b3fb91d7df41709c390954dc085 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
labels:
app: ws-app01
name: vote
namespace: attin-studio
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
selector:
deploymentconfig: vote
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
| 15.5 | 26 | 0.664516 |
f7076a73e20035930d0012ff22db66a0d9a79b87 | 2,142 | yaml | YAML | dev-tools/minikube/4-Services/web-ui/sourceDeploy.yaml | BirdHighway/openintegrationhub | 3d30a2a318264e7f32f57cc38738caf3c3f7da93 | [
"Apache-2.0"
] | 123 | 2018-08-17T21:39:49.000Z | 2022-02-26T00:13:54.000Z | dev-tools/minikube/4-Services/web-ui/sourceDeploy.yaml | BirdHighway/openintegrationhub | 3d30a2a318264e7f32f57cc38738caf3c3f7da93 | [
"Apache-2.0"
] | 714 | 2017-09-29T09:48:41.000Z | 2022-03-11T09:24:12.000Z | dev-tools/minikube/4-Services/web-ui/sourceDeploy.yaml | BirdHighway/openintegrationhub | 3d30a2a318264e7f32f57cc38738caf3c3f7da93 | [
"Apache-2.0"
] | 39 | 2017-09-29T09:43:33.000Z | 2021-11-02T08:56:02.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: web-ui
namespace: oih-dev-ns
spec:
replicas: 1
selector:
matchLabels:
app: web-ui
template:
metadata:
labels:
app: web-ui
spec:
containers:
- name: web-ui
image: node:16-alpine #openintegrationhub/iam:latest #
command: ["/bin/sh"]
args: ["-c", "npm install --non-interactive && npm start:container"]
workingDir: /usr/src/app/
ports:
- containerPort: 3000
env:
- name: PORT
value: "3000"
- name: ENDPOINT_IAM
value: "http://iam.example.com"
- name: ENDPOINT_FLOW
value: "http://flow-repository.example.com"
- name: ENDPOINT_COMPONENT
value: "http://component-repository.example.com"
- name: ENDPOINT_SECRETS
value: "http://skm.example.com/api/v1"
- name: ENDPOINT_DISPATCHER
value: "http://dispatcher-service.example.com"
- name: ENDPOINT_METADATA
value: "http://metadata.example.com/api/v1"
- name: ENDPOINT_APP_DIRECTORY
value: "http://app-directory.example.com/api/v1"
- name: NODE_ENV
value: development
- name: LOG_LEVEL
value: debug
resources:
limits:
cpu: "0.1"
memory: 500Mi
volumeMounts:
- name: code
mountPath: /usr/src/app
subPath: services/web-ui
livenessProbe:
httpGet:
port: 3000
path: /healthcheck
initialDelaySeconds: 300
timeoutSeconds: 1
readinessProbe:
httpGet:
port: 3000
path: /healthcheck
initialDelaySeconds: 120
timeoutSeconds: 1
imagePullPolicy: IfNotPresent
volumes:
- name: code
persistentVolumeClaim:
claimName: source-volume-claim
minReadySeconds: 10
revisionHistoryLimit: 2
| 29.75 | 78 | 0.521475 |
f707c5d86f279abcfa37ac5967c47d8ffe333517 | 621 | yaml | YAML | examples/20-secret-cloudflare-credentials.yaml | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | examples/20-secret-cloudflare-credentials.yaml | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | examples/20-secret-cloudflare-credentials.yaml | BeckerMax/external-dns-management | a81a44a87426e410cf40dbf91d0f52ce74200ac8 | [
"BSD-3-Clause"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: cloudflare-credentials
namespace: default
type: Opaque
data:
# replace '...' with values encoded as base64
# The token should have permission of Zone:Read and DNS:Edit for all zones.
# You can optionally exclude certain zones
# see https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys
# For details see https://github.com/gardener/external-dns-management/blob/master/doc/cloudflare/README.md#using-the-api-token
CLOUDFLARE_API_TOKEN: ...
# Alternatively use Gardener cloud provider credentials convention
#apiToken: ...
| 38.8125 | 128 | 0.764895 |
f707edc964db060c84583b97af9502664665d65c | 276 | yaml | YAML | k8s/addons/prometheus/04-storage-role.yaml | rakeliu/Manual | ecd31fa816a74bbd6b93449fd612a0646e9b6510 | [
"MIT"
] | null | null | null | k8s/addons/prometheus/04-storage-role.yaml | rakeliu/Manual | ecd31fa816a74bbd6b93449fd612a0646e9b6510 | [
"MIT"
] | null | null | null | k8s/addons/prometheus/04-storage-role.yaml | rakeliu/Manual | ecd31fa816a74bbd6b93449fd612a0646e9b6510 | [
"MIT"
] | null | null | null | # Role - storageClass
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: leader-locking-nfs-client-provisioner
namespace: monitoring
rules:
- apiGroups:
- ""
resources:
- endpoints
verbs:
- get
- list
- watch
- create
- update
- patch
| 14.526316 | 45 | 0.681159 |
f708161df307cfe6abce0a807b641177fe852c23 | 194 | yaml | YAML | kubernetes/gif-maker-configmap.yaml | kelseyhightower/cloud-native-app | 5114541652bad372d3dc7005866ac590e0066d0e | [
"Apache-2.0"
] | 21 | 2017-03-08T22:19:40.000Z | 2021-02-16T13:26:08.000Z | kubernetes/gif-maker-configmap.yaml | kelseyhightower/cloud-native-app | 5114541652bad372d3dc7005866ac590e0066d0e | [
"Apache-2.0"
] | 1 | 2017-07-25T08:04:14.000Z | 2017-07-25T08:04:14.000Z | kubernetes/gif-maker-configmap.yaml | kelseyhightower/cloud-native-app | 5114541652bad372d3dc7005866ac590e0066d0e | [
"Apache-2.0"
] | 11 | 2017-03-08T23:01:22.000Z | 2021-07-20T03:08:30.000Z | kind: ConfigMap
apiVersion: v1
metadata:
name: "gif-maker"
data:
bucket: "gif-maker-dev"
database: "projects/hightowerlabs/instances/gif-maker/databases/dev"
project-id: "hightowerlabs"
| 21.555556 | 70 | 0.752577 |
f70821f506d8be61b248a6563e600e95df075101 | 2,850 | yaml | YAML | deploy/kubernetes/bos/node.yaml | baidubce/baiducloud-cce-csi-driver | 6f51e7619cc1c01131fb2414372286825d323f83 | [
"Apache-2.0"
] | 3 | 2021-08-30T08:31:55.000Z | 2022-03-08T06:15:43.000Z | deploy/kubernetes/bos/node.yaml | baidubce/baiducloud-cce-csi-driver | 6f51e7619cc1c01131fb2414372286825d323f83 | [
"Apache-2.0"
] | null | null | null | deploy/kubernetes/bos/node.yaml | baidubce/baiducloud-cce-csi-driver | 6f51e7619cc1c01131fb2414372286825d323f83 | [
"Apache-2.0"
] | 1 | 2022-01-26T09:13:54.000Z | 2022-01-26T09:13:54.000Z | kind: DaemonSet
apiVersion: apps/v1
metadata:
name: csi-bosplugin-node-server
namespace: kube-system
spec:
selector:
matchLabels:
app: csi-bosplugin-node-server
template:
metadata:
labels:
app: csi-bosplugin-node-server
spec:
serviceAccount: csi-bos-external-runner
hostNetwork: true
restartPolicy: Always
priorityClassName: system-node-critical
tolerations:
- operator: Exists
containers:
- name: node-driver-registrar
image: registry.baidubce.com/cce-plugin-pro/csi-node-driver-registrar:v2.1.0
args:
- "--csi-address=$(ADDRESS)"
- "--kubelet-registration-path=$(ADDRESS)"
- "--v=5"
env:
- name: ADDRESS
value: /var/lib/kubelet/plugins/bos.csi.baidubce.com/csi.sock
imagePullPolicy: "Always"
volumeMounts:
- name: reg-dir
mountPath: /registration
- name: kubelet-dir
mountPath: /var/lib/kubelet
- name: csi-bosplugin
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: registry.baidubce.com/cce-plugin-pro/cce-csi-plugin:v1.1.1
args :
- "--driver-type=bos"
- "--csi-endpoint=$(CSI_ENDPOINT)"
- "--driver-mode=node"
- "--max-volumes-per-node=10"
- "--region=gz"
- "--logtostderr"
- "--v=5"
env:
- name: CSI_ENDPOINT
value: unix://var/lib/kubelet/plugins/bos.csi.baidubce.com/csi.sock
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
imagePullPolicy: "Always"
volumeMounts:
- name: kubelet-dir
mountPath: /var/lib/kubelet
mountPropagation: "Bidirectional"
- name: host-sys
mountPath: /sys
mountPropagation: "HostToContainer"
- name: docker-sock
mountPath: /var/run/docker.sock
- name: bosfs-cred-dir
mountPath: /etc/bosfs/credentials
volumes:
- name: kubelet-dir
hostPath:
path: /var/lib/kubelet
type: DirectoryOrCreate
- name: reg-dir
hostPath:
path: /var/lib/kubelet/plugins_registry
type: DirectoryOrCreate
- name: host-sys
hostPath:
path: /sys
- name: docker-sock
hostPath:
path: /var/run/docker.sock
type: Socket
- name: bosfs-cred-dir
hostPath:
path: /etc/bosfs/credentials
type: DirectoryOrCreate
| 31.318681 | 86 | 0.528421 |
f7089039ce15f30b4cc67b701c4b7dfe014bb0b0 | 720 | yaml | YAML | yaml/influx/deployment.yaml | mashine3189/NexClipperBasic | 44d25918d46537d18cd28b26de54c30d1877ecc0 | [
"Apache-2.0"
] | null | null | null | yaml/influx/deployment.yaml | mashine3189/NexClipperBasic | 44d25918d46537d18cd28b26de54c30d1877ecc0 | [
"Apache-2.0"
] | null | null | null | yaml/influx/deployment.yaml | mashine3189/NexClipperBasic | 44d25918d46537d18cd28b26de54c30d1877ecc0 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: influx
namespace: nexclipper
labels:
app: influx
spec:
replicas: 1
selector:
matchLabels:
app: influx
template:
metadata:
labels:
app: influx
spec:
containers:
- env:
- name: PRE_CREATE_DB
value: dashboard
image: nexclipper/influxdb
imagePullPolicy: IfNotPresent
name: influx
ports:
- containerPort: 8083
- containerPort: 8086
volumeMounts:
- name: influx-data
mountPath: /var/lib/influxdb
volumes:
- name: influx-data
hostPath:
path: /nfs/inlfuxdb
status: {}
| 20 | 51 | 0.555556 |
f70909b09d10e63b9dc95c91458534da3269a465 | 323 | yaml | YAML | k8s/tests/new_tests/02_dashboard_service_external_test.yaml | jecnua/k8s-swarm-test-drive | 82e9b6e35023dfeff5bd94529f54c522cb01cf6a | [
"MIT"
] | null | null | null | k8s/tests/new_tests/02_dashboard_service_external_test.yaml | jecnua/k8s-swarm-test-drive | 82e9b6e35023dfeff5bd94529f54c522cb01cf6a | [
"MIT"
] | null | null | null | k8s/tests/new_tests/02_dashboard_service_external_test.yaml | jecnua/k8s-swarm-test-drive | 82e9b6e35023dfeff5bd94529f54c522cb01cf6a | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: kubernetes-dashboard-test
labels:
addon: kubernetes-dashboard.addons.k8s.io
app: kubernetes-dashboard-test
kubernetes.io/cluster-service: "true"
facing: external
spec:
type: LoadBalancer
selector:
app: kubernetes-dashboard-test
ports:
- port: 80
| 20.1875 | 45 | 0.724458 |
f70934e52d9088c92ed1148595e5fadbdd9310f4 | 1,508 | yaml | YAML | chp15-scaling/set1512-hpa-scaling-cpu-avg-value/set1512-6-hpa.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | 1 | 2021-01-10T13:13:24.000Z | 2021-01-10T13:13:24.000Z | chp15-scaling/set1512-hpa-scaling-cpu-avg-value/set1512-6-hpa.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | null | null | null | chp15-scaling/set1512-hpa-scaling-cpu-avg-value/set1512-6-hpa.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | null | null | null | apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: kubia
namespace: chp15-set1512
spec:
behavior:
scaleUp:
stabilizationWindowSeconds: 0 # default
policies:
- type: Percent
value: 10 # default is 100
periodSeconds: 15 # default is 15
scaleDown:
stabilizationWindowSeconds: 10 # default is 300
policies:
- type: Percent
value: 10 # default
periodSeconds: 15 # default
maxReplicas: 3 # this overrides spec.replicas setting in deployment object
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: kubia-deploy
metrics:
- type: Resource
resource:
name: cpu # cpu percentage of resource specified on pod containers
target:
type: Utilization # resource metric in terms of percentage
averageUtilization: 5 # When pod consumes 5% of CPU, create new pod
# We are scaling for an average CPU memory use
# 1. Tell the Autoscaler to adjust the number of pods so they each utilize 30% of requested CPU.
# 2. Defaults: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
# 3. Overall reference: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/
# 4. Starting from v1.18 the v2beta2 API allows scaling behavior to be configured through the HPA behavior field.
# 5. Scaling policies: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#scaling-policies
| 35.904762 | 114 | 0.722149 |
f7094c164a6fe7762491177165122e0233bddac8 | 1,412 | yml | YAML | mod8/deploy.yml | hecomlilong/cloud-native-training-camp | 1226c573e7ec14513ae71284d3a6af6309254c45 | [
"Apache-2.0"
] | null | null | null | mod8/deploy.yml | hecomlilong/cloud-native-training-camp | 1226c573e7ec14513ae71284d3a6af6309254c45 | [
"Apache-2.0"
] | null | null | null | mod8/deploy.yml | hecomlilong/cloud-native-training-camp | 1226c573e7ec14513ae71284d3a6af6309254c45 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: demo-server
name: demo-server
spec:
replicas: 2
selector:
matchLabels:
app: demo-server
template:
metadata:
labels:
app: demo-server
room: bjzt
spec:
containers:
- image: docker.io/swiftabc/cncamp-lilong-2022-02-28-d43c98c
name: demo-server
command:
- /http-server
args:
- --logtostderr=true
- --config=file:////config/mod8.ini
volumeMounts:
- mountPath: /config
name: web-conf
resources:
limits:
memory: 200Mi
requests:
memory: 100Mi
lifecycle:
preStop:
exec:
command: [ "/bin/sh","-c","kill -TERM 1" ]
ports:
- containerPort: 1880
readinessProbe:
httpGet:
path: /healthz
port: 1880
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
livenessProbe:
httpGet:
path: /healthz
port: 1880
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
nodeSelector:
room: bjzt
volumes:
- name: web-conf
configMap:
name: web-config
| 23.147541 | 66 | 0.481586 |
f70962c7344c142074c13ef85a66d4cea970369c | 924 | yaml | YAML | docs/testing/logs/100mb.yaml | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | 2 | 2017-06-18T11:57:20.000Z | 2018-06-29T04:07:27.000Z | docs/testing/logs/100mb.yaml | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | 1 | 2018-07-01T15:10:21.000Z | 2018-07-04T09:20:48.000Z | docs/testing/logs/100mb.yaml | cheld/dashboard | dc23822c60a8b44b136d79db979958a3567fd272 | [
"Apache-2.0"
] | 1 | 2018-03-27T00:32:05.000Z | 2018-03-27T00:32:05.000Z | # Copyright 2017 Google Inc. 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.
# A manifest that creates a container that creates a large amount of logs
apiVersion: v1
kind: Pod
metadata:
name: 100mb-of-logs
spec:
containers:
- name: succeeded
image: alpine:3.4
command: ["/bin/sh", "-c", "echo start----; base64 /dev/urandom | head -c 10000000; echo ----end"]
restartPolicy: Never
| 34.222222 | 104 | 0.727273 |
f7096aab0c0617252575c5198c384ecab4e69e62 | 270 | yaml | YAML | deploy/role_binding.yaml | velazcorenier/events-operator | beda2c1cc056851c2b3f45f04b3f0f02d774bfba | [
"Apache-2.0"
] | null | null | null | deploy/role_binding.yaml | velazcorenier/events-operator | beda2c1cc056851c2b3f45f04b3f0f02d774bfba | [
"Apache-2.0"
] | null | null | null | deploy/role_binding.yaml | velazcorenier/events-operator | beda2c1cc056851c2b3f45f04b3f0f02d774bfba | [
"Apache-2.0"
] | null | null | null | kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: events-operator
subjects:
- kind: ServiceAccount
name: events-operator
namespace: kabanero
roleRef:
kind: ClusterRole
name: events-operator
apiGroup: rbac.authorization.k8s.io
| 20.769231 | 40 | 0.788889 |
f70987c50560a3068a478ebbee799729060e97ea | 311 | yaml | YAML | scripts/k8s-cicd/examples/nginx/nginx-service.yaml | closeio/devops | d88b0e317087701c3d08ecfb17860f9d2f09f51f | [
"MIT"
] | 7 | 2016-10-21T08:10:53.000Z | 2019-11-06T15:06:47.000Z | scripts/k8s-cicd/examples/nginx/nginx-service.yaml | closeio/devops | d88b0e317087701c3d08ecfb17860f9d2f09f51f | [
"MIT"
] | 3 | 2018-01-02T05:44:00.000Z | 2021-03-26T17:42:34.000Z | scripts/k8s-cicd/examples/nginx/nginx-service.yaml | closeio/devops | d88b0e317087701c3d08ecfb17860f9d2f09f51f | [
"MIT"
] | 12 | 2016-10-17T18:03:36.000Z | 2020-11-23T16:15:00.000Z | apiVersion: v1
kind: Service
metadata:
annotations:
service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
labels:
app: nginx-test
name: nginx-test
spec:
ports:
- name: nginx-test
port: 80
protocol: TCP
targetPort: 80
selector:
app: nginx-test
type: LoadBalancer
| 17.277778 | 68 | 0.678457 |
f7098aea61d5a786aa925078ecf3bcbfc2a759f4 | 211 | yaml | YAML | ha/pvc.yaml | chrisns/pink_kube_infra | b998e7571c109880b82ba35cada52e58171758cf | [
"MIT"
] | null | null | null | ha/pvc.yaml | chrisns/pink_kube_infra | b998e7571c109880b82ba35cada52e58171758cf | [
"MIT"
] | 4 | 2022-01-10T18:15:12.000Z | 2022-01-26T23:07:09.000Z | ha/pvc.yaml | chrisns/pink_kube_infra | b998e7571c109880b82ba35cada52e58171758cf | [
"MIT"
] | null | null | null | kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: homeassistant
namespace: homeassistant
spec:
accessModes:
- ReadWriteMany
storageClassName: nfs
resources:
requests:
storage: 1Gi
| 16.230769 | 27 | 0.748815 |
f709a5dbd388d2a6339807e7bc6a812cee8ca42e | 1,218 | yaml | YAML | sdk/python/tests/compiler/testdata/kaniko.basic.yaml | Strasser-Pablo/pipelines | a1d513eb412f3ffd44edf82af2fa7edb05c3b952 | [
"Apache-2.0"
] | 2,860 | 2018-05-24T04:55:01.000Z | 2022-03-31T13:49:56.000Z | sdk/python/tests/compiler/testdata/kaniko.basic.yaml | Strasser-Pablo/pipelines | a1d513eb412f3ffd44edf82af2fa7edb05c3b952 | [
"Apache-2.0"
] | 7,331 | 2018-05-16T09:03:26.000Z | 2022-03-31T23:22:04.000Z | sdk/python/tests/compiler/testdata/kaniko.basic.yaml | Strasser-Pablo/pipelines | a1d513eb412f3ffd44edf82af2fa7edb05c3b952 | [
"Apache-2.0"
] | 1,359 | 2018-05-15T11:05:41.000Z | 2022-03-31T09:42:09.000Z | # Copyright 2018 The Kubeflow 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
#
# 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: Pod
metadata:
generateName: kaniko-
namespace: default
annotations:
sidecar.istio.io/inject: 'false'
spec:
restartPolicy: Never
serviceAccountName: kubeflow-pipelines-container-builder
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor@sha256:78d44ec4e9cb5545d7f85c1924695c89503ded86a59f92c7ae658afa3cff5400
args: ["--cache=true",
"--dockerfile=dockerfile",
"--context=gs://mlpipeline/kaniko_build.tar.gz",
"--destination=gcr.io/mlpipeline/kaniko_image:latest",
"--digest-file=/dev/termination-log",
]
| 34.8 | 113 | 0.720854 |
f709cf462b6fdea32405fa7010901bffcb09ac48 | 2,331 | yaml | YAML | k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml | gojko/amazon-cloudwatch-container-insights | fba3d54d9aff9e9bee1d4aad836cbc0ff5df3078 | [
"MIT-0"
] | null | null | null | k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml | gojko/amazon-cloudwatch-container-insights | fba3d54d9aff9e9bee1d4aad836cbc0ff5df3078 | [
"MIT-0"
] | null | null | null | k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent/cwagent-daemonset.yaml | gojko/amazon-cloudwatch-container-insights | fba3d54d9aff9e9bee1d4aad836cbc0ff5df3078 | [
"MIT-0"
] | null | null | null | # deploy cwagent as daemonset
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: cloudwatch-agent
namespace: amazon-cloudwatch
spec:
selector:
matchLabels:
name: cloudwatch-agent
template:
metadata:
labels:
name: cloudwatch-agent
spec:
containers:
- name: cloudwatch-agent
image: amazon/cloudwatch-agent:1.231221.0
#ports:
# - containerPort: 8125
# hostPort: 8125
# protocol: UDP
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 200m
memory: 200Mi
# Please don't change below envs
env:
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: HOST_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: K8S_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CI_VERSION
value: "k8s/1.1.0"
# Please don't change the mountPath
volumeMounts:
- name: cwagentconfig
mountPath: /etc/cwagentconfig
- name: rootfs
mountPath: /rootfs
readOnly: true
- name: dockersock
mountPath: /var/run/docker.sock
readOnly: true
- name: varlibdocker
mountPath: /var/lib/docker
readOnly: true
- name: sys
mountPath: /sys
readOnly: true
- name: devdisk
mountPath: /dev/disk
readOnly: true
volumes:
- name: cwagentconfig
configMap:
name: cwagentconfig
- name: rootfs
hostPath:
path: /
- name: dockersock
hostPath:
path: /var/run/docker.sock
- name: varlibdocker
hostPath:
path: /var/lib/docker
- name: sys
hostPath:
path: /sys
- name: devdisk
hostPath:
path: /dev/disk/
terminationGracePeriodSeconds: 60
serviceAccountName: cloudwatch-agent
| 27.104651 | 51 | 0.485199 |
f709cf6c9a9340e9cc470fe6559cd7f84872faf1 | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation3467.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation3467.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation3467.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-3467
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f70a0193a5a546f27379a2b3e2f4a4cbe7af9e99 | 1,140 | yaml | YAML | addons/ekco/0.2.0/deployment.yaml | franklines/kURL | a2a3614fc2e38deeacaa833bc068d4d7c63da1aa | [
"Apache-2.0"
] | 1 | 2022-02-09T22:56:46.000Z | 2022-02-09T22:56:46.000Z | addons/ekco/0.2.0/deployment.yaml | franklines/kURL | a2a3614fc2e38deeacaa833bc068d4d7c63da1aa | [
"Apache-2.0"
] | 2 | 2021-10-06T20:28:34.000Z | 2022-02-19T05:24:07.000Z | addons/ekco/0.2.0/deployment.yaml | franklines/kURL | a2a3614fc2e38deeacaa833bc068d4d7c63da1aa | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: ekc-operator
spec:
selector:
matchLabels:
app: ekc-operator
strategy:
type: Recreate
template:
metadata:
labels:
app: ekc-operator
spec:
serviceAccountName: ekco
restartPolicy: Always
nodeSelector:
node-role.kubernetes.io/master: ""
containers:
- name: ekc-operator
image: replicated/ekco:v0.2.0
imagePullPolicy: IfNotPresent
command: [ /usr/bin/ekco, operator ]
resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
volumeMounts:
- name: ekco-config
mountPath: /etc/ekco
readOnly: true
- name: certificates-dir
mountPath: /etc/kubernetes/pki
readOnly: true
volumes:
- name: ekco-config
configMap:
name: ekco-config
- name: certificates-dir
hostPath:
path: /etc/kubernetes/pki
type: Directory
| 24.255319 | 46 | 0.527193 |
f70a50e303d5b008deb07b22cc665d53e5fd8880 | 1,660 | yaml | YAML | crds/route.yaml | seveirbian/edgeserverless | eb83a84ef41aee8763eca6065808cd9dbc288ef5 | [
"Apache-2.0"
] | null | null | null | crds/route.yaml | seveirbian/edgeserverless | eb83a84ef41aee8763eca6065808cd9dbc288ef5 | [
"Apache-2.0"
] | null | null | null | crds/route.yaml | seveirbian/edgeserverless | eb83a84ef41aee8763eca6065808cd9dbc288ef5 | [
"Apache-2.0"
] | null | null | null | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: routes.edgeserverless.kubeedge.io
labels:
edgeserverless.kubeedge.io/crd-install: "true"
spec:
group: edgeserverless.kubeedge.io
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
description: Define Route YAML Spec
type: object
properties:
spec:
type: object
properties:
id:
type: string
minLength: 36
maxLength: 36
name:
type: string
minLength: 8
maxLength: 64
example: test-route
uri:
type: string
example: subdomain.user.com/uri
minLength: 0
maxLength: 256
targets:
type: array
minItems: 1
maxItems: 2
items:
type: object
properties:
target:
type: string
type:
type: string
enum:
- k8sservice
- yuanrong
ratio:
type: integer
format: int64
minimum: 0
maximum: 100
names:
kind: Route
plural: routes
singular: route
shortNames:
- rt
scope: Namespaced | 27.666667 | 50 | 0.410241 |
f70a8353af2d1580dbd959fe2f2f564504bf6694 | 599 | yaml | YAML | kustomize/testdata/kustomization_varsub_expected.yaml | ilanpillemer/pkg | 372d2e087e8e101a7893115daa64a4d63eaa992f | [
"Apache-2.0"
] | null | null | null | kustomize/testdata/kustomization_varsub_expected.yaml | ilanpillemer/pkg | 372d2e087e8e101a7893115daa64a4d63eaa992f | [
"Apache-2.0"
] | null | null | null | kustomize/testdata/kustomization_varsub_expected.yaml | ilanpillemer/pkg | 372d2e087e8e101a7893115daa64a4d63eaa992f | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
environment: prod
region: eu-central-1
name: app
namespace: apps
spec:
selector:
matchLabels:
app: app
template:
metadata:
annotations:
prometheus.io/port: "9797"
prometheus.io/scrape: "true"
labels:
app: app
spec:
containers:
- image: nginx:1.21.4
imagePullPolicy: IfNotPresent
name: nginx
resources:
limits:
cpu: 2000m
memory: 512Mi
requests:
cpu: 100m
memory: 64Mi
| 18.71875 | 37 | 0.547579 |
f70a8dd71dfba09186430d3c2ea7325d0224c050 | 321 | yaml | YAML | namespaces/live-1.cloud-platform.service.justice.gov.uk/david-helloworld-demo-dev/01-rbac.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | namespaces/live-1.cloud-platform.service.justice.gov.uk/david-helloworld-demo-dev/01-rbac.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | namespaces/live-1.cloud-platform.service.justice.gov.uk/david-helloworld-demo-dev/01-rbac.yaml | umaar/cloud-platform-environments | c0fab9757b5fe340998457e182424ac1027b7c5f | [
"MIT"
] | null | null | null | kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: david-helloworld-demo-dev-admin
namespace: david-helloworld-demo-dev
subjects:
- kind: Group
name: "github:webops"
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: admin
apiGroup: rbac.authorization.k8s.io
| 22.928571 | 40 | 0.757009 |
f70a9e5a88e05bb5865fbafdb46bfaaaebe22785 | 114 | yaml | YAML | CarImageProcessing/k8s/application-configmap.yaml | Innovation-Hub-2022/innovation-hub-2022-challenge-01 | 54cd4de3680e3e7547e1354e7531933e5711f08e | [
"MIT"
] | null | null | null | CarImageProcessing/k8s/application-configmap.yaml | Innovation-Hub-2022/innovation-hub-2022-challenge-01 | 54cd4de3680e3e7547e1354e7531933e5711f08e | [
"MIT"
] | 5 | 2022-03-24T09:29:40.000Z | 2022-03-24T22:53:08.000Z | CarImageProcessing/k8s/application-configmap.yaml | gilo-agilo/innovation-hub-2022-challenge-01 | 54cd4de3680e3e7547e1354e7531933e5711f08e | [
"MIT"
] | 1 | 2022-03-28T14:49:41.000Z | 2022-03-28T14:49:41.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: application-configmap
data:
database_url: elasticsearch-service | 19 | 37 | 0.815789 |
f70aafa9b33e9e71e2902e752d9994fcdd760f3d | 100 | yaml | YAML | config/rbac/service-account.yaml | acornett21/ack-s3-controller | 9b2168deb4bf6693c86bd1c7abe9ae44d1913ab6 | [
"Apache-2.0"
] | null | null | null | config/rbac/service-account.yaml | acornett21/ack-s3-controller | 9b2168deb4bf6693c86bd1c7abe9ae44d1913ab6 | [
"Apache-2.0"
] | null | null | null | config/rbac/service-account.yaml | acornett21/ack-s3-controller | 9b2168deb4bf6693c86bd1c7abe9ae44d1913ab6 | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: v1
kind: ServiceAccount
metadata:
name: ack-s3-controller
namespace: ack-system
| 14.285714 | 25 | 0.75 |
f70aeaaceddcc72e4a091ada909cc35db32d1300 | 389 | yaml | YAML | config/rbac/provider_editor_role.yaml | loheagn/terraform-controller | 1301cffb0c65204060ffe76e3e81c5ad7f3c10e5 | [
"Apache-2.0"
] | 76 | 2021-04-13T05:44:32.000Z | 2022-03-22T10:58:01.000Z | config/rbac/provider_editor_role.yaml | OTAKU-Wang/terraform-controller | ce2697169a184d2d96be530675d61f06dce16641 | [
"Apache-2.0"
] | 159 | 2021-04-13T07:28:13.000Z | 2022-03-27T13:03:02.000Z | config/rbac/provider_editor_role.yaml | OTAKU-Wang/terraform-controller | ce2697169a184d2d96be530675d61f06dce16641 | [
"Apache-2.0"
] | 41 | 2021-04-13T04:00:14.000Z | 2022-03-24T18:09:36.000Z | # permissions for end users to edit providers.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: provider-editor-role
rules:
- apiGroups:
- terraform.core.oam.dev
resources:
- providers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- terraform.core.oam.dev
resources:
- providers/status
verbs:
- get
| 15.56 | 46 | 0.686375 |
f70afbd2343f181d342f73f4ccd79c2d9b34e61f | 127 | yaml | YAML | nginx-livedemo/app-ingress-service.yaml | chrisns/talks | 625451f344f63204fd1a9266c8e0f8abf14d3407 | [
"MIT"
] | null | null | null | nginx-livedemo/app-ingress-service.yaml | chrisns/talks | 625451f344f63204fd1a9266c8e0f8abf14d3407 | [
"MIT"
] | null | null | null | nginx-livedemo/app-ingress-service.yaml | chrisns/talks | 625451f344f63204fd1a9266c8e0f8abf14d3407 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: app
spec:
ports:
- port: 80
targetPort: 80
selector:
app: app
| 11.545455 | 20 | 0.622047 |
f70b776c512c691584acb1cb51e366fd2cfe9f68 | 299 | yml | YAML | Chapter11/11-begin/edge-service/k8s/ingress.yml | npalm/cloud-native-spring-in-action | 7cb7acabd47b14a522e39eac65989c08dd2cc9c0 | [
"Apache-2.0"
] | 1 | 2022-01-07T22:07:44.000Z | 2022-01-07T22:07:44.000Z | Chapter11/11-begin/edge-service/k8s/ingress.yml | email2dhiren/cloud-native-spring-in-action | 7cb7acabd47b14a522e39eac65989c08dd2cc9c0 | [
"Apache-2.0"
] | null | null | null | Chapter11/11-begin/edge-service/k8s/ingress.yml | email2dhiren/cloud-native-spring-in-action | 7cb7acabd47b14a522e39eac65989c08dd2cc9c0 | [
"Apache-2.0"
] | null | null | null | apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: polar-ingress
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: edge-service
port:
number: 80 | 19.933333 | 34 | 0.464883 |
f70b7fc990679e39239916d06d1cc3de501202fc | 1,079 | yml | YAML | stage/rethinkdb-replica.rc.2.yml | draytechnologies/k8s-rethinkdb-cluster | a28f030a2f1393342bead1de6bbf7e0475ccb3f7 | [
"MIT"
] | null | null | null | stage/rethinkdb-replica.rc.2.yml | draytechnologies/k8s-rethinkdb-cluster | a28f030a2f1393342bead1de6bbf7e0475ccb3f7 | [
"MIT"
] | null | null | null | stage/rethinkdb-replica.rc.2.yml | draytechnologies/k8s-rethinkdb-cluster | a28f030a2f1393342bead1de6bbf7e0475ccb3f7 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: ReplicationController
metadata:
labels:
db: rethinkdb
name: rethinkdb-replica-2
spec:
replicas: 1
selector:
db: rethinkdb
role: replica
instance: two
template:
metadata:
labels:
db: rethinkdb
role: replica
instance: two
spec:
containers:
- image: us.gcr.io/dray-app/rethinkdb:2.3.2
command:
- "/usr/bin/run.sh"
- "--server-name"
- "replica_2"
imagePullPolicy: Always
name: rethinkdb
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 8080
name: admin-port
- containerPort: 28015
name: driver-port
- containerPort: 29015
name: cluster-port
volumeMounts:
- mountPath: /data
name: rethinkdb-storage
volumes:
- gcePersistentDisk:
fsType: ext4
pdName: rethinkdb-storage-stage-2
name: rethinkdb-storage
| 22.479167 | 49 | 0.554217 |
f70b84c83a9e70b494e1be724f00676085dd8912 | 1,051 | yaml | YAML | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | mcluseau/kubernetes | cf94ec6944fbec72954a6d56c6cb8183fe9b88fa | [
"Apache-2.0"
] | 6 | 2021-05-01T14:35:57.000Z | 2022-03-09T13:31:26.000Z | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | mcluseau/kubernetes | cf94ec6944fbec72954a6d56c6cb8183fe9b88fa | [
"Apache-2.0"
] | null | null | null | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | mcluseau/kubernetes | cf94ec6944fbec72954a6d56c6cb8183fe9b88fa | [
"Apache-2.0"
] | 3 | 2021-05-01T14:36:03.000Z | 2022-03-09T13:30:54.000Z | apiVersion: v1
kind: ReplicationController
metadata:
name: heapster-v9
namespace: kube-system
labels:
k8s-app: heapster
version: v9
kubernetes.io/cluster-service: "true"
spec:
replicas: 1
selector:
k8s-app: heapster
version: v9
template:
metadata:
labels:
k8s-app: heapster
version: v9
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/heapster:v0.18.1
name: heapster
resources:
limits:
cpu: 100m
memory: 300Mi
command:
- /heapster
- --source=kubernetes:''
- --sink=gcl
- --sink=gcmautoscaling
- --sink=influxdb:http://monitoring-influxdb:8086
- --sink_frequency=2m
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
readOnly: true
volumes:
- name: ssl-certs
hostPath:
path: "/etc/ssl/certs"
| 23.886364 | 61 | 0.53568 |
f70be86f459a12e7daf2a615c41c4af1ad449b70 | 1,398 | yaml | YAML | versionStream/git-operator/job.yaml | ajjush/jx3-microk8s | 36e536a8b0e203c7cd4108f76b7dea9ef1438091 | [
"Apache-2.0"
] | null | null | null | versionStream/git-operator/job.yaml | ajjush/jx3-microk8s | 36e536a8b0e203c7cd4108f76b7dea9ef1438091 | [
"Apache-2.0"
] | null | null | null | versionStream/git-operator/job.yaml | ajjush/jx3-microk8s | 36e536a8b0e203c7cd4108f76b7dea9ef1438091 | [
"Apache-2.0"
] | null | null | null | apiVersion: batch/v1
kind: Job
metadata:
labels:
app: jx-boot
jenkins-x.io/kind: jx-git-operator
spec:
backoffLimit: 4
completions: 1
parallelism: 1
template:
metadata:
labels:
app: jx-boot
jenkins-x.io/kind: jx-git-operator
spec:
initContainers:
- args:
- gitops
- git
- clone
command:
- jx
env:
- name: XDG_CONFIG_HOME
value: /workspace/xdg_config
image: ghcr.io/jenkins-x/jx-boot:3.2.46
name: git-clone
volumeMounts:
- mountPath: /workspace
name: workspace-volume
workingDir: /workspace
containers:
- args:
- apply
command:
- make
env:
- name: XDG_CONFIG_HOME
value: /workspace/xdg_config
envFrom:
- secretRef:
name: jx-boot-job-env-vars
optional: true
image: ghcr.io/jenkins-x/jx-boot:3.2.46
imagePullPolicy: Always
name: job
volumeMounts:
- mountPath: /workspace
name: workspace-volume
workingDir: /workspace/source
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
serviceAccountName: jx-boot-job
terminationGracePeriodSeconds: 30
volumes:
- name: workspace-volume
emptyDir: {}
| 23.3 | 47 | 0.563662 |
f70ca70df9b2f18c75c994dd2da26a87b843d0bb | 3,024 | yaml | YAML | modules/020-deckhouse/crds/deckhouse-release.yaml | ToyTox/deckhouse | 8e1f58ab95b06bcff8491bfec1c0483f0db77dc1 | [
"Apache-2.0"
] | null | null | null | modules/020-deckhouse/crds/deckhouse-release.yaml | ToyTox/deckhouse | 8e1f58ab95b06bcff8491bfec1c0483f0db77dc1 | [
"Apache-2.0"
] | null | null | null | modules/020-deckhouse/crds/deckhouse-release.yaml | ToyTox/deckhouse | 8e1f58ab95b06bcff8491bfec1c0483f0db77dc1 | [
"Apache-2.0"
] | null | null | null | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: deckhousereleases.deckhouse.io
labels:
heritage: deckhouse
module: deckhouse
spec:
group: deckhouse.io
scope: Cluster
names:
plural: deckhousereleases
singular: deckhouserelease
kind: DeckhouseRelease
preserveUnknownFields: false
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
description: |
Defines the configuration for Deckhouse release.
required:
- spec
properties:
approved:
type: boolean
default: false
description: |
Flag for the manual deployment readiness.
Ignored if the module's update mode is set to `Auto` (`update.mode: Auto`).
spec:
type: object
required:
- version
properties:
version:
type: string
description: Deckhouse version.
example: 'v1.24.20'
applyAfter:
type: string
description: Marks release as a part of canary release. This release will be delayed until this time.
requirements:
type: object
additionalProperties:
type: string
description: Deckhouse release requirements.
status:
type: object
properties:
phase:
type: string
enum:
- Pending
- Deployed
- Outdated
- Suspended
description: Current status of the release.
message:
type: string
description: Detailed status or error message.
transitionTime:
type: string
description: Time of release status change.
approved:
type: boolean
description: |
The status of the release's readiness for deployment. Always true for automatic updates (`update.mode: Auto`).
subresources:
status: {}
additionalPrinterColumns:
- name: approved
jsonPath: .status.approved
type: boolean
description: 'Is the release approved for deployment.'
- name: phase
jsonPath: .status.phase
type: string
description: 'Current release status.'
- name: applyAfter
jsonPath: .spec.applyAfter
type: string
description: 'This release will be applied after this time.'
- name: transitionTime
jsonPath: .status.transitionTime
type: date
format: date-time
description: 'When the release status was changed.'
| 32.516129 | 130 | 0.523148 |
f70cfc8dcbc4212532bceb104752d1065c1cda09 | 357 | yaml | YAML | k8s/redis/deployment.yaml | matheussm4224/docker_laravel | 1d8742737f21d65175b8da4bc0ee7ee76c4d1553 | [
"MIT"
] | null | null | null | k8s/redis/deployment.yaml | matheussm4224/docker_laravel | 1d8742737f21d65175b8da4bc0ee7ee76c4d1553 | [
"MIT"
] | null | null | null | k8s/redis/deployment.yaml | matheussm4224/docker_laravel | 1d8742737f21d65175b8da4bc0ee7ee76c4d1553 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-master
labels:
app: redis
spec:
selector:
matchLabels:
app: redis
replicas: 1
template:
metadata:
labels:
app: redis
role: master
spec:
containers:
- name: master
image: redis
ports:
- containerPort: 6379
| 13.730769 | 29 | 0.568627 |
f70d3b11815d2e10b553e3e4b022a156393907fb | 917 | yaml | YAML | k8s/rental_service/app/app-job.yaml | anderfilth/microservices-journey | 2db0998754857eb532616a98b44d5bca718d1801 | [
"MIT"
] | null | null | null | k8s/rental_service/app/app-job.yaml | anderfilth/microservices-journey | 2db0998754857eb532616a98b44d5bca718d1801 | [
"MIT"
] | null | null | null | k8s/rental_service/app/app-job.yaml | anderfilth/microservices-journey | 2db0998754857eb532616a98b44d5bca718d1801 | [
"MIT"
] | null | null | null | apiVersion: batch/v1
kind: Job
metadata:
name: rental-job-consumer-products
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: jornada-rental
image: wesleywillians/rental_jornada:latest
imagePullPolicy: Always
command: ["php", "artisan","kafka:consume","products","product-group"]
envFrom:
- configMapRef:
name: rental-app-conf
env:
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: rental-mysql-pass
key: password
volumeMounts:
- name: rental-app-conf
subPath: .env
mountPath: /var/www/.env
volumes:
- name: rental-app-conf
configMap:
name: rental-app-conf
items:
- key: env
path: .env
| 26.2 | 80 | 0.507088 |
f70d90033131be6499b320ede727e587b4ac6a93 | 1,180 | yaml | YAML | onprem/infra/jenkins/master/Deployment.yaml | cocoding-ss/apjung-gitops | 08424fa7c8aa6c63b5e597e707ec150a377a427a | [
"MIT"
] | null | null | null | onprem/infra/jenkins/master/Deployment.yaml | cocoding-ss/apjung-gitops | 08424fa7c8aa6c63b5e597e707ec150a377a427a | [
"MIT"
] | null | null | null | onprem/infra/jenkins/master/Deployment.yaml | cocoding-ss/apjung-gitops | 08424fa7c8aa6c63b5e597e707ec150a377a427a | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: jenkins-master-deploy
namespace: jenkins
labels:
app.kubernetes.io/name: jenkins-master
app.kubernetes.io/instance: jenkins-master-deploy
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/instance: jenkins-master-pod
template:
metadata:
labels:
app.kubernetes.io/name: jenkins-master
app.kubernetes.io/instance: jenkins-master-pod
spec:
containers:
- name: jenkins-master-pod
image: jenkins/jenkins:jdk11
ports:
- containerPort: 8080
- containerPort: 50000
resources:
requests:
memory: "1000Mi"
cpu: "300m"
limits:
memory: "1000Mi"
cpu: "300m"
env:
- name: JENKINS_JAVA_OPTIONS
value: "-Dorg.apache.commons.jelly.tags.fmt.timeZone=Asia/Seoul"
volumeMounts:
- mountPath: /var/jenkins_home
name: jenkins-master-pvc
volumes:
- name: jenkins-master-pvc
persistentVolumeClaim:
claimName: jenkins-master-pvc
| 27.44186 | 78 | 0.582203 |
f70db92bd8e60ed458ba563275b3d83d7a3591b7 | 155 | yaml | YAML | environments/all/apps/spam/four.yaml | flanksource/testing-sample-repo | 233c8714fe5709b17a25dc740e0cb57bf211abc0 | [
"MIT"
] | null | null | null | environments/all/apps/spam/four.yaml | flanksource/testing-sample-repo | 233c8714fe5709b17a25dc740e0cb57bf211abc0 | [
"MIT"
] | null | null | null | environments/all/apps/spam/four.yaml | flanksource/testing-sample-repo | 233c8714fe5709b17a25dc740e0cb57bf211abc0 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: ConfigMap
metadata:
name: four-global
data:
URL_LALA_HOST: http://lala:8080/omni-bomni
URL_MOSTEST: https://ghost/omen/mostests
| 19.375 | 44 | 0.76129 |
f70dfa2342e39a39ff89cd5a8695e50bdcb1104c | 1,175 | yaml | YAML | multi-cluster-access-and-quota/repos/platform/configsync/clusters/cluster-west/namespaces/tenant-c/rbac.authorization.k8s.io_v1_rolebinding_namespace-viewer.yaml | tonyzhc/anthos-config-management-samples | 5da4d66177aa7bd09a4990884c47a876bba22353 | [
"Apache-2.0"
] | 30 | 2021-04-21T14:45:23.000Z | 2022-03-28T21:32:00.000Z | multi-cluster-access-and-quota/repos/platform/configsync/clusters/cluster-west/namespaces/tenant-c/rbac.authorization.k8s.io_v1_rolebinding_namespace-viewer.yaml | tonyzhc/anthos-config-management-samples | 5da4d66177aa7bd09a4990884c47a876bba22353 | [
"Apache-2.0"
] | 23 | 2021-06-23T19:02:57.000Z | 2022-02-24T14:17:34.000Z | multi-cluster-access-and-quota/repos/platform/configsync/clusters/cluster-west/namespaces/tenant-c/rbac.authorization.k8s.io_v1_rolebinding_namespace-viewer.yaml | tonyzhc/anthos-config-management-samples | 5da4d66177aa7bd09a4990884c47a876bba22353 | [
"Apache-2.0"
] | 102 | 2021-04-27T22:12:39.000Z | 2022-03-31T04:29:28.000Z | # Copyright 2021 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.
# [START anthos_config_management_multi_cluster_access_and_quota_cluster_west_tenant_c_role_binding]
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
cluster: cluster-west
owner: platform-team
name: namespace-viewer
namespace: tenant-c
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: view
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User
name: user-21
- apiGroup: rbac.authorization.k8s.io
kind: User
name: user-22
# [END anthos_config_management_multi_cluster_access_and_quota_cluster_west_tenant_c_role_binding]
| 33.571429 | 100 | 0.785532 |
f70e1f1a9720a8a8d707125f444b68830fb42d3d | 921 | yaml | YAML | playground-widget/resources/k8s/parser/parser-deployment.yaml | keizer619/ballerina-www | 25e78d86162c9a1061d89c1cb28054d840759039 | [
"Apache-2.0"
] | null | null | null | playground-widget/resources/k8s/parser/parser-deployment.yaml | keizer619/ballerina-www | 25e78d86162c9a1061d89c1cb28054d840759039 | [
"Apache-2.0"
] | null | null | null | playground-widget/resources/k8s/parser/parser-deployment.yaml | keizer619/ballerina-www | 25e78d86162c9a1061d89c1cb28054d840759039 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: bpg-parser-dep
namespace: ballerina-playground
labels:
app: bpg-parser
spec:
replicas: 1
selector:
matchLabels:
app: bpg-parser
template:
metadata:
labels:
app: bpg-parser
spec:
containers:
- name: bpg-parser-container
imagePullPolicy: Always
image: gcr.io/${BPG_GCP_PROJECT_ID}/parser:v0.1-20181210-2241
# resources:
# requests:
# cpu: 100m
# memory: 100Mi
ports:
- name: http-port
containerPort: 80
- name: https-port
containerPort: 8443
readinessProbe:
tcpSocket:
port: http-port
initialDelaySeconds: 3
periodSeconds: 10
livenessProbe:
tcpSocket:
port: http-port
initialDelaySeconds: 5
periodSeconds: 20 | 23.025 | 69 | 0.564604 |
f70e8b3c8b7d1f26a9a19c02e8757375a99d5760 | 541 | yaml | YAML | manifests/05-config.yaml | zonggen/console-operator | 1d800497561964f7d0f5e80eb0b4012491cf170c | [
"Apache-2.0"
] | 29 | 2018-09-24T15:27:09.000Z | 2022-01-05T15:36:59.000Z | manifests/05-config.yaml | zonggen/console-operator | 1d800497561964f7d0f5e80eb0b4012491cf170c | [
"Apache-2.0"
] | 642 | 2018-09-14T14:48:12.000Z | 2022-03-31T23:50:06.000Z | manifests/05-config.yaml | zonggen/console-operator | 1d800497561964f7d0f5e80eb0b4012491cf170c | [
"Apache-2.0"
] | 90 | 2018-09-27T14:14:21.000Z | 2022-03-23T12:57:34.000Z | apiVersion: v1
kind: ConfigMap
metadata:
namespace: openshift-console-operator
name: console-operator-config
annotations:
include.release.openshift.io/ibm-cloud-managed: "true"
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
data:
controller-config.yaml: |
apiVersion: operator.openshift.io/v1alpha1
kind: GenericOperatorConfig
leaderElection:
namespace: openshift-console-operator
servingInfo:
bindNetwork: "tcp"
| 30.055556 | 71 | 0.754159 |
f70eb42fad17ae4acd65b99884ed9473ccd16eb5 | 183 | yaml | YAML | hotelReservation/kubernetes/geo-pvc.yaml | skuma31/DeathStarBench | 6558c9d8a205345635fcb9c9b2100f33bbaf47c1 | [
"Apache-2.0"
] | null | null | null | hotelReservation/kubernetes/geo-pvc.yaml | skuma31/DeathStarBench | 6558c9d8a205345635fcb9c9b2100f33bbaf47c1 | [
"Apache-2.0"
] | null | null | null | hotelReservation/kubernetes/geo-pvc.yaml | skuma31/DeathStarBench | 6558c9d8a205345635fcb9c9b2100f33bbaf47c1 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: geo-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: manual
resources:
requests:
storage: 1Gi
| 15.25 | 27 | 0.721311 |
f70ec13f1ff8a2b8f670cb68961022e473554d17 | 235 | yaml | YAML | staging/src/k8s.io/pod-security-admission/test/testdata/restricted/v1.7/pass/hostpath0.yaml | mbonaci/kubernetes | 5fe522c2376e9a732a50c89f38986ce4300fd4a0 | [
"Apache-2.0"
] | 2 | 2021-07-02T01:53:50.000Z | 2021-07-03T13:22:54.000Z | staging/src/k8s.io/pod-security-admission/test/testdata/restricted/v1.7/pass/hostpath0.yaml | mbonaci/kubernetes | 5fe522c2376e9a732a50c89f38986ce4300fd4a0 | [
"Apache-2.0"
] | 1 | 2021-02-06T00:56:11.000Z | 2021-02-09T23:38:53.000Z | staging/src/k8s.io/pod-security-admission/test/testdata/restricted/v1.7/pass/hostpath0.yaml | mbonaci/kubernetes | 5fe522c2376e9a732a50c89f38986ce4300fd4a0 | [
"Apache-2.0"
] | 1 | 2021-07-21T19:13:35.000Z | 2021-07-21T19:13:35.000Z | apiVersion: v1
kind: Pod
metadata:
name: hostpath0
spec:
containers:
- image: k8s.gcr.io/pause
name: container1
initContainers:
- image: k8s.gcr.io/pause
name: initcontainer1
securityContext:
runAsNonRoot: true
| 16.785714 | 27 | 0.710638 |
f70ed7ba7bf3cd5fea03fac6249836c87aea6f96 | 396 | yaml | YAML | k8s/helm/manifests/redis-ha/templates/redis-ha-rolebinding.yaml | ignitialio/chaman | c1c388ff5ad72cf82f8a4da7c4e6e621301d2854 | [
"MIT"
] | null | null | null | k8s/helm/manifests/redis-ha/templates/redis-ha-rolebinding.yaml | ignitialio/chaman | c1c388ff5ad72cf82f8a4da7c4e6e621301d2854 | [
"MIT"
] | null | null | null | k8s/helm/manifests/redis-ha/templates/redis-ha-rolebinding.yaml | ignitialio/chaman | c1c388ff5ad72cf82f8a4da7c4e6e621301d2854 | [
"MIT"
] | null | null | null | ---
# Source: redis-ha/templates/redis-ha-rolebinding.yaml
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: chaman-redis-ha
labels:
heritage: Tiller
release: chaman
chart: redis-ha-3.7.1
app: chaman-redis-ha
subjects:
- kind: ServiceAccount
name: chaman-redis-ha
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: chaman-redis-ha
| 19.8 | 54 | 0.724747 |
f70eed10d3d3f7dff71565b7402ca5e0a38e5869 | 718 | yaml | YAML | packages/provisioner/packages/rpi3firmware-manager/stack.dev.yaml | standardplatform/standardplatform | ccb1688e21e0e5a40fc6080792e02b8ccc520f13 | [
"CC0-1.0"
] | 1 | 2020-12-11T18:49:20.000Z | 2020-12-11T18:49:20.000Z | packages/provisioner/packages/rpi3firmware-manager/stack.dev.yaml | clusterplatform/clusterplatform | ccb1688e21e0e5a40fc6080792e02b8ccc520f13 | [
"CC0-1.0"
] | null | null | null | packages/provisioner/packages/rpi3firmware-manager/stack.dev.yaml | clusterplatform/clusterplatform | ccb1688e21e0e5a40fc6080792e02b8ccc520f13 | [
"CC0-1.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: rpi3firmware-manager
spec:
selector:
matchLabels:
app: rpi3firmware-manager
template:
metadata:
labels:
app: rpi3firmware-manager
spec:
containers:
- name: rpi3firmware-manager
image: registry.gitlab.com/clusterplatform/clusterplatform/rpi3firmware-manager.dev
resources:
limits:
memory: 200Mi
cpu: 200m
envFrom:
- configMapRef:
name: nats
- configMapRef:
name: redis
- configMapRef:
name: postgres
- configMapRef:
name: verdaccio
| 23.933333 | 93 | 0.544568 |
f70f15662937737b37e95f0b692165684e09854d | 316 | yaml | YAML | config/rbac/mark_viewer_role.yaml | mark8s/helloworld-operator | 734b4a1969a63d6ea5f0d2b0876ce2e2f44b8a7d | [
"curl",
"Apache-2.0"
] | null | null | null | config/rbac/mark_viewer_role.yaml | mark8s/helloworld-operator | 734b4a1969a63d6ea5f0d2b0876ce2e2f44b8a7d | [
"curl",
"Apache-2.0"
] | null | null | null | config/rbac/mark_viewer_role.yaml | mark8s/helloworld-operator | 734b4a1969a63d6ea5f0d2b0876ce2e2f44b8a7d | [
"curl",
"Apache-2.0"
] | null | null | null | # permissions for end users to view marks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: mark-viewer-role
rules:
- apiGroups:
- hello.mark8s.io
resources:
- marks
verbs:
- get
- list
- watch
- apiGroups:
- hello.mark8s.io
resources:
- marks/status
verbs:
- get
| 15.047619 | 42 | 0.683544 |
f70f23e0e2b016ef287d4b8a02484b687d1423bd | 560 | yaml | YAML | inspect/kube-deploy.yaml | SataQiu/issueflow | b5b124e3a4ca263bf2c2384ef00bd07aa6f1a17d | [
"Apache-2.0"
] | null | null | null | inspect/kube-deploy.yaml | SataQiu/issueflow | b5b124e3a4ca263bf2c2384ef00bd07aa6f1a17d | [
"Apache-2.0"
] | null | null | null | inspect/kube-deploy.yaml | SataQiu/issueflow | b5b124e3a4ca263bf2c2384ef00bd07aa6f1a17d | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: istio-translate-inspect
namespace: issueflow
labels:
app: istio-translate-inspect
spec:
replicas: 1
selector:
matchLabels:
app: istio-translate-inspect
template:
metadata:
labels:
app: istio-translate-inspect
spec:
containers:
- name: istio-translate-inspect
image: shidaqiu/istio-inspect:1.0
command: ["python3", "-u", "entry.py"]
imagePullPolicy: "Always"
env:
- name: GITHUB_TOKEN
value: "xxx"
| 21.538462 | 46 | 0.623214 |
f70f7339893ce04ee5e148da45890f467d698a82 | 767 | yaml | YAML | deploy/kubernetes/autoscaling/heapster-deployment.yaml | Remit/microservices-demo | 70ba7bc30b0ee3b69c8ce58190c4ec98b831223c | [
"Apache-2.0"
] | null | null | null | deploy/kubernetes/autoscaling/heapster-deployment.yaml | Remit/microservices-demo | 70ba7bc30b0ee3b69c8ce58190c4ec98b831223c | [
"Apache-2.0"
] | null | null | null | deploy/kubernetes/autoscaling/heapster-deployment.yaml | Remit/microservices-demo | 70ba7bc30b0ee3b69c8ce58190c4ec98b831223c | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: heapster
namespace: kube-system
spec:
selector:
matchLabels:
task: monitoring
k8s-app: heapster
replicas: 1
template:
metadata:
labels:
task: monitoring
k8s-app: heapster
spec:
serviceAccountName: heapster
containers:
- name: heapster
image: gcr.io/google_containers/heapster-amd64:v1.4.0
imagePullPolicy: IfNotPresent
command:
- /heapster
- --source=kubernetes:https://kubernetes.default
- --sink=influxdb:http://monitoring-influxdb:8086
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
| 22.558824 | 61 | 0.589309 |
f70fd08acd7cbbb2a635f080a88bc48da6cbd7c0 | 3,162 | yml | YAML | redis/redis-6.0/kubernetes/redis-master-statfulset.yml | slpcat/docker-collections | 6428f8b1a4e322889a85f1a8f54df0d8ff1c544e | [
"BSD-3-Clause"
] | 63 | 2018-02-04T03:31:22.000Z | 2022-03-07T08:27:39.000Z | redis/redis-6.0/kubernetes/redis-master-statfulset.yml | slpcat/docker-collections | 6428f8b1a4e322889a85f1a8f54df0d8ff1c544e | [
"BSD-3-Clause"
] | 2 | 2018-09-17T07:02:36.000Z | 2020-03-17T17:00:46.000Z | redis/redis-6.0/kubernetes/redis-master-statfulset.yml | slpcat/docker-collections | 6428f8b1a4e322889a85f1a8f54df0d8ff1c544e | [
"BSD-3-Clause"
] | 40 | 2018-01-22T16:31:16.000Z | 2022-03-08T04:40:42.000Z | apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis-master
namespace: default
labels:
name: redis-master
spec:
serviceName: redis-master
replicas: 1
selector:
matchLabels:
app: redis-master
template:
metadata:
labels:
app: redis-master
redis-master: "true"
annotations:
#disable istio sidecar injection
sidecar.istio.io/inject: "false"
spec:
terminationGracePeriodSeconds: 10
#imagePullSecrets:
# - name: regsecret
securityContext:
sysctls:
#kubernetes >= v1.11 and kernel version >= 4.15 needed
#- name: kernel.msgmax
# value: "65536"
- name: net.ipv4.tcp_syncookies
value: "0"
- name: net.ipv4.ip_local_port_range
value: "1024 65535"
- name: net.core.somaxconn
value: "65535"
- name: net.ipv4.ip_unprivileged_port_start
value: "0"
- name: net.ipv4.tcp_tw_reuse
value: "1"
- name: net.ipv4.tcp_fin_timeout
value: "30"
- name: net.ipv4.tcp_keepalive_intvl
value: "10"
- name: net.ipv4.tcp_keepalive_probes
value: "2"
- name: net.ipv4.tcp_keepalive_time
value: "120"
- name: net.ipv4.tcp_ecn
value: "1"
- name: net.ipv4.tcp_max_syn_backlog
value: "65536"
- name: net.ipv4.tcp_rfc1337
value: "1"
- name: net.ipv4.tcp_slow_start_after_idle
value: "0"
- name: net.ipv4.tcp_fack
value: "1"
- name: net.ipv4.tcp_max_tw_buckets
value: "262144"
- name: net.ipv4.tcp_fastopen
value: "3"
- name: net.ipv4.icmp_ratelimit
value: "100"
- name: net.ipv4.tcp_abort_on_overflow
value: "1"
- name: net.ipv4.tcp_adv_win_scale
value: "2"
- name: net.ipv4.tcp_retries2
value: "8"
- name: net.ipv4.tcp_syn_retries
value: "3"
- name: net.ipv4.tcp_synack_retries
value: "2"
- name: net.unix.max_dgram_qlen
value: "512"
- name: net.ipv4.tcp_fwmark_accept
value: "1"
- name: net.ipv4.fwmark_reflect
value: "1"
containers:
- name: redis
image: redis:6.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
env:
- name: MASTER
value: "true"
#- name: REDIS_PASS
# valueFrom:
# secretKeyRef:
# name: redis-secret
# key: redisAuthPass
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "2Gi"
cpu: "2000m"
volumeMounts:
- name: redis-master-volume
mountPath: /data
volumeClaimTemplates:
- metadata:
name: redis-master-volume
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 10Gi
| 27.982301 | 64 | 0.521822 |
f7100ee409aa28b6a974dad49128b87b51632dce | 196 | yaml | YAML | aplicacao.yaml | jonatasoli/kubernetes-archives | 3ba140860c4a8c20f4cf7f86c0b3c39c837e81ea | [
"MIT"
] | null | null | null | aplicacao.yaml | jonatasoli/kubernetes-archives | 3ba140860c4a8c20f4cf7f86c0b3c39c837e81ea | [
"MIT"
] | null | null | null | aplicacao.yaml | jonatasoli/kubernetes-archives | 3ba140860c4a8c20f4cf7f86c0b3c39c837e81ea | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: aplicacao
spec:
containers:
- name: container-aplicacao-loja
image: rafanercessian/aplicacao-loja:v1
ports:
- containerPort: 80
| 17.818182 | 45 | 0.683673 |
f7100f445ddbb892490d4c77e6a247b53f59731c | 330 | yaml | YAML | open5gcore/templates/pgw-service.yaml | felipevicens/open5gcore-helm-chart | 2723023898dc328359a4bed64dadc274fe3cd46b | [
"Apache-2.0"
] | null | null | null | open5gcore/templates/pgw-service.yaml | felipevicens/open5gcore-helm-chart | 2723023898dc328359a4bed64dadc274fe3cd46b | [
"Apache-2.0"
] | null | null | null | open5gcore/templates/pgw-service.yaml | felipevicens/open5gcore-helm-chart | 2723023898dc328359a4bed64dadc274fe3cd46b | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: open5gs-pgw-svc-pool
namespace: open5gs
labels:
epc-mode: pgw
spec:
type: ClusterIP
ports:
- name: gtpc
port: 2123
protocol: UDP
- name: gtpu
port: 2152
protocol: UDP
- name: gx
port: 3868
protocol: TCP
selector:
epc-mode: pgw
| 15 | 28 | 0.615152 |
f710721c9741bf112c39fbdf31cbf01142e28409 | 714 | yaml | YAML | K3d/JustmePVol/kubernetes/yamls/mongodb/mongodb-statefulset.yaml | tarsoqueiroz/aboutContainers | 9d8caab1219decd602cfa05089eaec8b7a361651 | [
"MIT"
] | null | null | null | K3d/JustmePVol/kubernetes/yamls/mongodb/mongodb-statefulset.yaml | tarsoqueiroz/aboutContainers | 9d8caab1219decd602cfa05089eaec8b7a361651 | [
"MIT"
] | 1 | 2020-06-20T05:07:17.000Z | 2020-06-20T05:07:17.000Z | K3d/JustmePVol/kubernetes/yamls/mongodb/mongodb-statefulset.yaml | tarsoqueiroz/aboutContainers | 9d8caab1219decd602cfa05089eaec8b7a361651 | [
"MIT"
] | 1 | 2020-06-20T05:25:25.000Z | 2020-06-20T05:25:25.000Z | apiVersion: apps/v1
kind: StatefulSet
metadata:
name: mongo
spec:
selector:
matchLabels:
app: mongo
serviceName: "mongo"
replicas: 3
template:
metadata:
labels:
app: mongo
spec:
terminationGracePeriodSeconds: 10
containers:
- name: mongo
image: mongo
command:
- mongod
- "--bind_ip_all"
- "--replSet"
- rs0
ports:
- containerPort: 27017
volumeMounts:
- name: mongo-volume
mountPath: /data/db
volumeClaimTemplates:
- metadata:
name: mongo-volume
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
| 18.789474 | 39 | 0.553221 |
f710974db5b8952296820fd3826ca9604a9da3e1 | 141 | yaml | YAML | namespaces/live-1.cloud-platform.service.justice.gov.uk/polygraph-offender-management/03-resourcequota.yaml | rossjones/cloud-platform-environments | 85a4e19cf012d97d885c6ea91379ca3f7b59a49a | [
"MIT"
] | 28 | 2018-07-13T15:02:24.000Z | 2022-03-17T09:23:54.000Z | namespaces/live-1.cloud-platform.service.justice.gov.uk/polygraph-offender-management/03-resourcequota.yaml | happygeneralist/recall-decisions-alpha | 09124f3994a878e9969e7b4326088b2ae7bfd170 | [
"MIT"
] | 963 | 2018-05-30T15:46:06.000Z | 2022-03-30T10:06:39.000Z | namespaces/live-1.cloud-platform.service.justice.gov.uk/polygraph-offender-management/03-resourcequota.yaml | happygeneralist/recall-decisions-alpha | 09124f3994a878e9969e7b4326088b2ae7bfd170 | [
"MIT"
] | 29 | 2018-12-04T09:37:36.000Z | 2022-02-25T10:35:34.000Z | apiVersion: v1
kind: ResourceQuota
metadata:
name: namespace-quota
namespace: polygraph-offender-management
spec:
hard:
pods: "50"
| 15.666667 | 42 | 0.744681 |
f710b468f622d168236b98a3d564c206fbe25762 | 96 | yaml | YAML | chp08-pod-metadata/set822-api-server/set822-0-ns.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | 1 | 2021-01-10T13:13:24.000Z | 2021-01-10T13:13:24.000Z | chp08-pod-metadata/set822-api-server/set822-0-ns.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | null | null | null | chp08-pod-metadata/set822-api-server/set822-0-ns.yaml | gbih/learning-k8s-in-action-study-notes | 73fd7d6e0a5296ee7c5843f2cf765bf15e81002d | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
name: chp08-set822
labels:
name: chp08-set822
| 12 | 22 | 0.71875 |
f710c4e481b1c4c95f810de7f77696dcb4ce424c | 313 | yaml | YAML | namespaces/live-1.cloud-platform.service.justice.gov.uk/cica-oas-basic-testing/01-rbac.yaml | martyn-w/cloud-platform-environments | 784924e37ebb6e2c074f88bf8fbb4eb7bdf3d634 | [
"MIT"
] | 28 | 2018-07-13T15:02:24.000Z | 2022-03-17T09:23:54.000Z | namespaces/live-1.cloud-platform.service.justice.gov.uk/cica-oas-basic-testing/01-rbac.yaml | martyn-w/cloud-platform-environments | 784924e37ebb6e2c074f88bf8fbb4eb7bdf3d634 | [
"MIT"
] | 963 | 2018-05-30T15:46:06.000Z | 2022-03-30T10:06:39.000Z | namespaces/live-1.cloud-platform.service.justice.gov.uk/cica-oas-basic-testing/01-rbac.yaml | martyn-w/cloud-platform-environments | 784924e37ebb6e2c074f88bf8fbb4eb7bdf3d634 | [
"MIT"
] | 29 | 2018-12-04T09:37:36.000Z | 2022-02-25T10:35:34.000Z | kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cica-oas-basic-testing-admin
namespace: cica-oas-basic-testing
subjects:
- kind: Group
name: "github:cica"
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: admin
apiGroup: rbac.authorization.k8s.io
| 22.357143 | 40 | 0.750799 |
f710cd2ed5fa061528ebb78f6714ebfc5fe79425 | 249 | yaml | YAML | microk8s-resources/actions/prometheus/deprecated/node-exporter-service.yaml | BabisK/microk8s | c43ce5c961a3b577aca6f8cf76fada964c2334c9 | [
"Apache-2.0"
] | 6,286 | 2018-07-20T15:55:22.000Z | 2022-02-22T06:59:26.000Z | microk8s-resources/actions/prometheus/deprecated/node-exporter-service.yaml | BabisK/microk8s | c43ce5c961a3b577aca6f8cf76fada964c2334c9 | [
"Apache-2.0"
] | 2,230 | 2018-07-20T14:14:33.000Z | 2022-02-22T08:22:21.000Z | microk8s-resources/actions/prometheus/deprecated/node-exporter-service.yaml | thanhtung22-cloud/microk8s | d1d02633ca245af9724094447be2e3c144526b35 | [
"Apache-2.0"
] | 706 | 2018-07-22T16:35:32.000Z | 2022-02-17T06:32:10.000Z | apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: node-exporter
name: node-exporter
namespace: monitoring
spec:
clusterIP: None
ports:
- name: https
port: 9100
targetPort: https
selector:
app: node-exporter
| 15.5625 | 26 | 0.670683 |
f71130e7403d7ac0d406b06175586934eab1bb4d | 164 | yaml | YAML | deploy/complete/kubernetes/manifests/payment-svc.yaml | gvenzl/oci-cloudnative | 7588aa321cdc9d521177703ae3a5d9b0d5c4c345 | [
"UPL-1.0"
] | 2 | 2021-03-09T02:30:14.000Z | 2022-03-04T22:11:07.000Z | deploy/complete/kubernetes/manifests/payment-svc.yaml | gvenzl/oci-cloudnative | 7588aa321cdc9d521177703ae3a5d9b0d5c4c345 | [
"UPL-1.0"
] | 3 | 2021-05-20T12:50:09.000Z | 2022-01-22T12:41:10.000Z | deploy/complete/kubernetes/manifests/payment-svc.yaml | gvenzl/oci-cloudnative | 7588aa321cdc9d521177703ae3a5d9b0d5c4c345 | [
"UPL-1.0"
] | 1 | 2021-08-16T19:28:58.000Z | 2021-08-16T19:28:58.000Z | ---
apiVersion: v1
kind: Service
metadata:
name: payment
labels:
name: payment
spec:
ports:
- port: 80
targetPort: 80
selector:
name: payment
| 11.714286 | 18 | 0.640244 |
f711414bfa0cb91341aebbe8accb8473bd9cef69 | 235 | yaml | YAML | deployment/service.yaml | IBM-ICP-CoC/qod-api | 14f844ed3f8eb4f1f634bd937a478f5c5a35a47b | [
"MIT"
] | null | null | null | deployment/service.yaml | IBM-ICP-CoC/qod-api | 14f844ed3f8eb4f1f634bd937a478f5c5a35a47b | [
"MIT"
] | null | null | null | deployment/service.yaml | IBM-ICP-CoC/qod-api | 14f844ed3f8eb4f1f634bd937a478f5c5a35a47b | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: qod-api
labels:
app: qod-api
tier: api
spec:
type: ClusterIP
ports:
- port: 3000
targetPort: 3000
protocol: TCP
name: http
selector:
app: qod-api
| 13.823529 | 22 | 0.608511 |
f711496756830f8bcf71cbab76386f85c5ba683e | 1,348 | yaml | YAML | 99-labs-archive/lab-02-d/04-job-exec-limit.yaml | mpatel66/gke-fundamentals-workshop | 3cb05bd819896e9fe3f2d8569ed6cefbee115fb8 | [
"Apache-2.0"
] | 3 | 2022-03-10T10:00:36.000Z | 2022-03-28T09:57:54.000Z | 99-labs-archive/lab-02-d/04-job-exec-limit.yaml | mpatel66/gke-fundamentals-workshop | 3cb05bd819896e9fe3f2d8569ed6cefbee115fb8 | [
"Apache-2.0"
] | null | null | null | 99-labs-archive/lab-02-d/04-job-exec-limit.yaml | mpatel66/gke-fundamentals-workshop | 3cb05bd819896e9fe3f2d8569ed6cefbee115fb8 | [
"Apache-2.0"
] | 3 | 2022-03-10T15:59:27.000Z | 2022-03-28T09:58:09.000Z | # Copyright 2021 DoiT International
#
# 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: batch/v1
kind: Job
metadata:
name: job-04-exec-limit
namespace: doit-lab-02-d
labels:
k8s-app: job-03-exec-limit
k8s-scope: gke-ws-doit-lab-02-d
spec:
# try to run 5 times before considering a Job as failed
backoffLimit: 5
# once a Job reaches activeDeadlineSeconds, all of its running Pods
# are terminated and the Job status will become type: Failed with
# reason: DeadlineExceeded.
activeDeadlineSeconds: 20
template:
metadata:
name: job-04-exec-limit-tpl
spec:
containers:
- name: job-04-exec-limit-c
image: busybox
command: ["/bin/sh", "-c"]
args: ["echo 'just running a (always failing) parallel-consumer job'; sleep 1; exit 1;"]
restartPolicy: OnFailure
| 33.7 | 98 | 0.709199 |
f7116c81728c47792f13aa42ad19b3ea0e1456e4 | 390 | yaml | YAML | install/kubernetes/helm/istio-init/templates/clusterrole.yaml | rockholla/istio | 788e237094d198fcbeab2ea3935a67bc1f9a3315 | [
"Apache-2.0"
] | null | null | null | install/kubernetes/helm/istio-init/templates/clusterrole.yaml | rockholla/istio | 788e237094d198fcbeab2ea3935a67bc1f9a3315 | [
"Apache-2.0"
] | null | null | null | install/kubernetes/helm/istio-init/templates/clusterrole.yaml | rockholla/istio | 788e237094d198fcbeab2ea3935a67bc1f9a3315 | [
"Apache-2.0"
] | 3 | 2019-11-18T09:26:55.000Z | 2021-03-03T08:15:27.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: istio-init-{{ .Release.Namespace }}
labels:
app: istio-init
istio: init
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "create", "watch"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["create", "get", "list", "watch", "patch"]
| 26 | 52 | 0.661538 |
f71170a93330253567195d11c94b9ac688ff2fef | 143 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation984.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation984.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation984.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-984
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 17.875 | 49 | 0.72028 |
f711fc102b6bd04f564e21cd5747527a14064385 | 436 | yaml | YAML | deploy/tilt/parca-server-service.yaml | frankfanslc/parca-agent | a51c450fe149e6bdb6837035959e952a77cb97fd | [
"Apache-2.0"
] | 1 | 2022-03-02T19:47:38.000Z | 2022-03-02T19:47:38.000Z | deploy/tilt/parca-server-service.yaml | frankfanslc/parca-agent | a51c450fe149e6bdb6837035959e952a77cb97fd | [
"Apache-2.0"
] | null | null | null | deploy/tilt/parca-server-service.yaml | frankfanslc/parca-agent | a51c450fe149e6bdb6837035959e952a77cb97fd | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: observability
app.kubernetes.io/instance: parca
app.kubernetes.io/name: parca
app.kubernetes.io/version: v0.7.1
name: parca
namespace: parca
spec:
ports:
- name: http
port: 7070
targetPort: 7070
selector:
app.kubernetes.io/component: observability
app.kubernetes.io/instance: parca
app.kubernetes.io/name: parca
| 21.8 | 46 | 0.713303 |
f7127b90db49ac93a9ad1aee88e9694aa8436b82 | 411 | yml | YAML | DeploymentFiles/order.yml | goverthanan/AirPG | 6bbae003b7771994682da3e58c8343663b3c4fd2 | [
"MIT"
] | null | null | null | DeploymentFiles/order.yml | goverthanan/AirPG | 6bbae003b7771994682da3e58c8343663b3c4fd2 | [
"MIT"
] | null | null | null | DeploymentFiles/order.yml | goverthanan/AirPG | 6bbae003b7771994682da3e58c8343663b3c4fd2 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: order
labels:
app: order
tier: frontend
spec:
replicas: 1
selector:
matchLabels:
app: order
tier: frontend
template:
metadata:
labels:
app: order
tier: frontend
spec:
containers:
- name: order
image: aankitatiwari24/air-pg:order
ports:
- containerPort: 5000
| 16.44 | 43 | 0.588808 |
f712815efd2521308d04275fa2ec88d05e21b1f1 | 755 | yaml | YAML | hack/e2e/manifests/gateway-controller-deployment.yaml | tpiperatgod/argo-events | ce67b3858b91c48914d1a3ccc900d539cc31a66f | [
"Apache-2.0"
] | 2 | 2018-06-15T22:54:53.000Z | 2018-06-18T08:42:35.000Z | hack/e2e/manifests/gateway-controller-deployment.yaml | tpiperatgod/argo-events | ce67b3858b91c48914d1a3ccc900d539cc31a66f | [
"Apache-2.0"
] | 43 | 2022-02-04T12:49:23.000Z | 2022-03-31T12:31:15.000Z | hack/e2e/manifests/gateway-controller-deployment.yaml | tpiperatgod/argo-events | ce67b3858b91c48914d1a3ccc900d539cc31a66f | [
"Apache-2.0"
] | 1 | 2020-11-23T05:38:15.000Z | 2020-11-23T05:38:15.000Z | # The gateway-controller listens for changes on the gateway CRD and creates gateway
apiVersion: apps/v1
kind: Deployment
metadata:
name: gateway-controller
spec:
replicas: 1
selector:
matchLabels:
app: gateway-controller
template:
metadata:
labels:
app: gateway-controller
spec:
serviceAccountName: argo-events-sa
containers:
- name: gateway-controller
image: argoproj/gateway-controller:v0.10-test
imagePullPolicy: Always
env:
- name: GATEWAY_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: GATEWAY_CONTROLLER_CONFIG_MAP
value: gateway-controller-configmap
| 26.964286 | 83 | 0.631788 |
f712b7ea9eb5e2eec87587c4ba2689bf23132f1c | 231 | yaml | YAML | examples/gateways/kafka-gateway-configmap.yaml | nstott/argo-events | 2e64f672ccb209db99001a233146a084329c92d8 | [
"Apache-2.0"
] | 1 | 2019-04-17T23:10:21.000Z | 2019-04-17T23:10:21.000Z | examples/gateways/kafka-gateway-configmap.yaml | nstott/argo-events | 2e64f672ccb209db99001a233146a084329c92d8 | [
"Apache-2.0"
] | null | null | null | examples/gateways/kafka-gateway-configmap.yaml | nstott/argo-events | 2e64f672ccb209db99001a233146a084329c92d8 | [
"Apache-2.0"
] | 1 | 2020-09-02T06:33:20.000Z | 2020-09-02T06:33:20.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: kafka-gateway-configmap
data:
foo: |-
url: kafka.argo-events:9092
topic: foo
partition: "0"
bar: |-
url: kafka.argo-events:9092
topic: bar
partition: "1"
| 16.5 | 31 | 0.640693 |
f7130ff5dc9c1a2d23f7d46b967eef78fbc5ba8b | 532 | yaml | YAML | kubernetes-manifests/frontend.deployment.yaml | saturnism/helloworld-java-springboot | 608964b778c039523d83b4d656ecc1ac3f926595 | [
"Apache-2.0"
] | null | null | null | kubernetes-manifests/frontend.deployment.yaml | saturnism/helloworld-java-springboot | 608964b778c039523d83b4d656ecc1ac3f926595 | [
"Apache-2.0"
] | null | null | null | kubernetes-manifests/frontend.deployment.yaml | saturnism/helloworld-java-springboot | 608964b778c039523d83b4d656ecc1ac3f926595 | [
"Apache-2.0"
] | null | null | null | # Syntax reference https://kubernetes.io/docs/concepts/configuration/overview/
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
spec:
selector:
matchLabels:
app: frontend
replicas: 1
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: server
ports:
- containerPort: 8080
image: gcr.io/wise-coyote-827/frontend-server
env:
- name: BACKEND_SERVICE_ADDR
value: 'backend-internal:8080' | 23.130435 | 78 | 0.610902 |
f71329ecaf582fa2c1c6c3713d2fc7b2333187f6 | 2,867 | yaml | YAML | config-root/namespaces/jx/lighthouse/lighthouse-keeper-deploy.yaml | demonccc/jx3-gitops-repo-mundoes | e1e0d31eea299809e7b8ecce9e16ee53dd762364 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-keeper-deploy.yaml | demonccc/jx3-gitops-repo-mundoes | e1e0d31eea299809e7b8ecce9e16ee53dd762364 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/lighthouse/lighthouse-keeper-deploy.yaml | demonccc/jx3-gitops-repo-mundoes | e1e0d31eea299809e7b8ecce9e16ee53dd762364 | [
"Apache-2.0"
] | null | null | null | # Source: lighthouse/templates/keeper-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: lighthouse-keeper
labels:
chart: "lighthouse-1.3.0"
app: lighthouse-keeper
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
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
app: lighthouse-keeper
template:
metadata:
annotations:
ad.datadoghq.com/keeper.logs: '[{"source":"lighthouse","service":"keeper"}]'
prometheus.io/port: "9090"
prometheus.io/scrape: "true"
jenkins-x.io/hash: 'efaf2824743f262428efac87b577e83419a9d9c1f7600f4815a09c7177935a0a'
labels:
app: lighthouse-keeper
spec:
serviceAccountName: lighthouse-keeper
terminationGracePeriodSeconds: 30
containers:
- name: lighthouse-keeper
image: ghcr.io/jenkins-x/lighthouse-keeper:1.3.0
imagePullPolicy: IfNotPresent
args:
- "--namespace=jx"
ports:
- name: http
containerPort: 8888
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
httpGet:
path: /
port: http
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
env:
- name: "GIT_KIND"
value: "github"
- name: "GIT_SERVER"
value: "https://github.com"
- name: "GIT_USER"
value: demonccc
- name: "GIT_TOKEN"
valueFrom:
secretKeyRef:
name: lighthouse-oauth-token
key: oauth
- name: "JX_LOG_FORMAT"
value: "json"
- name: "LOGRUS_FORMAT"
value: "json"
- name: LOGRUS_SERVICE
value: "lighthouse"
- name: LOGRUS_SERVICE_VERSION
value: "1.3.0"
- name: LOGRUS_STACK_SKIP
value: ""
- name: "LIGHTHOUSE_KEEPER_STATUS_CONTEXT_LABEL"
value: "Lighthouse Merge Status"
- name: LIGHTHOUSE_TRIGGER_ON_MISSING
value: "enable"
envFrom:
- secretRef:
name: jx-boot-job-env-vars
optional: true
resources:
limits:
cpu: 400m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
| 29.255102 | 93 | 0.531217 |
f7133733501891d8523fb7c0799401bb0f531d17 | 162 | yaml | YAML | k8s/mediaserver/base/resources/apps/radarr/service.yaml | berbiche/infrastructure | 2538ed127a9b453650798baebc9f2db2eff3bd97 | [
"MIT"
] | 3 | 2022-01-20T00:23:30.000Z | 2022-03-23T04:22:42.000Z | k8s/mediaserver/base/resources/apps/radarr/service.yaml | berbiche/infrastructure | 2538ed127a9b453650798baebc9f2db2eff3bd97 | [
"MIT"
] | 1 | 2022-01-20T20:14:56.000Z | 2022-01-20T20:14:56.000Z | k8s/mediaserver/base/resources/apps/radarr/service.yaml | berbiche/infrastructure | 2538ed127a9b453650798baebc9f2db2eff3bd97 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: radarr
spec:
ports:
- name: http
protocol: TCP
targetPort: http
port: 80
type: ClusterIP
| 13.5 | 22 | 0.62963 |
f7135e2697fdd25419110e033e1688d4acaf98ce | 4,329 | yaml | YAML | charts/fluentbit-operator/crds/logging.kubesphere.io_parser.yaml | Mario-F/fluentbit-operator | bf44306be01ef6dd5203c75607067dffed68df79 | [
"Apache-2.0"
] | 97 | 2019-04-05T07:47:26.000Z | 2021-08-03T00:59:50.000Z | charts/fluentbit-operator/crds/logging.kubesphere.io_parser.yaml | Mario-F/fluentbit-operator | bf44306be01ef6dd5203c75607067dffed68df79 | [
"Apache-2.0"
] | 67 | 2021-08-10T11:10:53.000Z | 2022-03-01T02:43:09.000Z | charts/fluentbit-operator/crds/logging.kubesphere.io_parser.yaml | Mario-F/fluentbit-operator | bf44306be01ef6dd5203c75607067dffed68df79 | [
"Apache-2.0"
] | 43 | 2019-04-14T11:18:29.000Z | 2021-08-01T03:47:23.000Z |
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
name: parsers.logging.kubesphere.io
spec:
group: logging.kubesphere.io
names:
kind: Parser
listKind: ParserList
plural: parsers
singular: parser
scope: Namespaced
versions:
- name: v1alpha2
schema:
openAPIV3Schema:
description: Parser is the Schema for the parsers API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ParserSpec defines the desired state of Parser
properties:
decoders:
description: 'Decoders are a built-in feature available through the
Parsers file, each Parser definition can optionally set one or multiple
decoders. There are two type of decoders type: Decode_Field and
Decode_Field_As.'
items:
properties:
decodeField:
description: If the content can be decoded in a structured message,
append that structure message (keys and values) to the original
log message.
type: string
decodeFieldAs:
description: Any content decoded (unstructured or structured)
will be replaced in the same key/value, no extra keys are
added.
type: string
type: object
type: array
json:
description: JSON defines json parser configuration.
properties:
timeFormat:
description: Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
type: string
timeKeep:
description: Time_Keep
type: boolean
timeKey:
description: Time_Key
type: string
type: object
logfmt:
description: Logfmt defines logfmt parser configuration.
type: object
ltsv:
description: LTSV defines ltsv parser configuration.
properties:
timeFormat:
description: Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
type: string
timeKeep:
description: Time_Keep
type: boolean
timeKey:
description: Time_Key
type: string
types:
type: string
type: object
regex:
description: Regex defines regex parser configuration.
properties:
regex:
type: string
timeFormat:
description: Time_Format, eg. %Y-%m-%dT%H:%M:%S %z
type: string
timeKeep:
description: Time_Keep
type: boolean
timeKey:
description: Time_Key
type: string
types:
type: string
type: object
type: object
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: [] | 37.973684 | 175 | 0.518827 |
f7139820ea3f3a07719495785da8566f73cce1bf | 443 | yaml | YAML | kustomize/hpa.yaml | pretty25/podinfo | f41275132c776b080562f60be0cba1223d40dd69 | [
"Apache-2.0"
] | null | null | null | kustomize/hpa.yaml | pretty25/podinfo | f41275132c776b080562f60be0cba1223d40dd69 | [
"Apache-2.0"
] | null | null | null | kustomize/hpa.yaml | pretty25/podinfo | f41275132c776b080562f60be0cba1223d40dd69 | [
"Apache-2.0"
] | null | null | null | apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: podinfo
#namespace: maven-app
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: podinfo
minReplicas: 3
maxReplicas: 4
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
# scale up if usage is above
# 99% of the requested CPU (100m)
averageUtilization: 99
| 20.136364 | 41 | 0.6614 |
f713bd33a79cbeee0f5415811b12d8551c842e6a | 230 | yaml | YAML | kubernetes/prod/overlays/host/resources/chrisdb-pvc.yaml | jbernal0019/ChRIS_ultron_backEnd | bea8065222d231f626763df2e38b0e046c6a5adf | [
"MIT"
] | 26 | 2016-05-26T14:09:35.000Z | 2022-01-28T19:12:43.000Z | kubernetes/prod/overlays/host/resources/chrisdb-pvc.yaml | jbernal0019/ChRIS_ultron_backEnd | bea8065222d231f626763df2e38b0e046c6a5adf | [
"MIT"
] | 168 | 2016-06-24T11:07:15.000Z | 2022-03-21T12:33:43.000Z | kubernetes/prod/overlays/host/resources/chrisdb-pvc.yaml | jbernal0019/ChRIS_ultron_backEnd | bea8065222d231f626763df2e38b0e046c6a5adf | [
"MIT"
] | 45 | 2017-08-16T16:41:40.000Z | 2022-03-31T18:12:14.000Z | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: chrisdb
spec:
accessModes:
- ReadWriteOnce
storageClassName: ""
resources:
requests:
storage: 100Gi
selector:
matchLabels:
volume: chrisdb
| 15.333333 | 27 | 0.7 |
f7152435986e77b175a8b22b55784216618681c3 | 1,030 | yml | YAML | k8s/metabase/deployment.yml | suzuki-shunsuke/example | 80b4a6465b8d73b81241edf8af65215f68e1d51c | [
"MIT"
] | 1 | 2022-02-09T06:35:59.000Z | 2022-02-09T06:35:59.000Z | k8s/metabase/deployment.yml | suzuki-shunsuke/example | 80b4a6465b8d73b81241edf8af65215f68e1d51c | [
"MIT"
] | null | null | null | k8s/metabase/deployment.yml | suzuki-shunsuke/example | 80b4a6465b8d73b81241edf8af65215f68e1d51c | [
"MIT"
] | null | null | null | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: metabase
namespace: metabase
spec:
selector:
matchLabels:
app: metabase
replicas: 1
template:
metadata:
labels:
app: metabase
spec:
containers:
- name: metabase
image: metabase/metabase:v0.30.3
env:
- name: MB_DB_TYPE
value: mysql
- name: MB_DB_DBNAME
valueFrom:
secretKeyRef:
name: metabase-db
key: dbname
- name: MB_DB_PORT
valueFrom:
secretKeyRef:
name: metabase-db
key: port
- name: MB_DB_USER
valueFrom:
secretKeyRef:
name: metabase-db
key: user
- name: MB_DB_PASS
valueFrom:
secretKeyRef:
name: metabase-db
key: pass
- name: MB_DB_HOST
valueFrom:
secretKeyRef:
name: metabase-db
key: host
| 21.458333 | 40 | 0.491262 |
f715657bdbd9b1485110b6f7c089015086246dd4 | 6,005 | yaml | YAML | netbox-deployment.yaml | isweluiz/netbox-kubernetes | a2bacd07e62f7a73e8c9ae7598778355b10b2dcb | [
"Apache-2.0"
] | 1 | 2022-03-19T01:34:30.000Z | 2022-03-19T01:34:30.000Z | netbox-deployment.yaml | isweluiz/netbox-kubernetes | a2bacd07e62f7a73e8c9ae7598778355b10b2dcb | [
"Apache-2.0"
] | null | null | null | netbox-deployment.yaml | isweluiz/netbox-kubernetes | a2bacd07e62f7a73e8c9ae7598778355b10b2dcb | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: netbox
namespace: netbox-community
labels:
k8s-app: netbox
spec:
replicas: 3
selector:
matchLabels:
k8s-app: netbox
template:
metadata:
labels:
k8s-app: netbox
spec:
containers:
# NetBox container using the netbox-docker image: https://github.com/netbox-community/netbox-docker
- name: netbox
image: quay.io/netboxcommunity/netbox:v2.11.12-ldap
ports:
- name: http
containerPort: 8080
readinessProbe: # will mark the pod as ready once the initialization script is completed and will probe every 20 seconds
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 20
envFrom:
- configMapRef:
name: netbox-configmap
lifecycle: # Will run the post-startup scripts detailed in netbox-startup-configmap.yaml
postStart:
exec:
command:
- /bin/sh
- -c
- >
bash /home/install-plugins.sh &&
bash /home/start-rqworker.sh &&
bash /home/nginx-caching-fix.sh
volumeMounts:
# Mounting secrets for netbox and other related components
- name: auth-ldap-bind-password
mountPath: /run/secrets/auth_ldap_bind_password
subPath: auth_ldap_bind_password
readOnly: true
- name: db-password
mountPath: /run/secrets/db_password
subPath: db_password
readOnly: true
- name: email-password
mountPath: /run/secrets/email_password
subPath: email_password
readOnly: true
- name: napalm-password
mountPath: /run/secrets/napalm_password
subPath: napalm_password
readOnly: true
- name: redis-password
mountPath: /run/secrets/redis_password
subPath: redis_password
- name: secret-key
mountPath: /run/secrets/secret_key
subPath: secret_key
readOnly: true
- name: superuser-api-token
mountPath: /run/secrets/superuser_api_token
subPath: superuser_api_token
- name: superuser-password
mountPath: /run/secrets/superuser_password
subPath: superuser_password
readOnly: true
# Persistent Volume paths
- name: netbox-media-files # Allows for multiple replicas of the netbox pod to be available
mountPath: /opt/netbox/netbox/media
- name: ldap-config # Allows for LDAP authentication to work
subPath: ldap_config.py
mountPath: /opt/netbox/netbox/netbox/ldap_config.py
- mountPath: /etc/netbox/config/netbox-plugins.py
name: netbox-plugins
subPath: netbox-plugins.py
- mountPath: /home/install-plugins.sh
name: install-plugins
subPath: install-plugins.sh
- mountPath: /home/start-rqworker.sh
name: start-rqworker
subPath: start-rqworker.sh
- mountPath: /home/nginx-caching-fix.sh
name: nginx-caching-fix
subPath: nginx-caching-fix.sh
- name: sso-saml2-xml
mountPath: /opt/netbox/sso-saml2.xml
subPath: sso-saml2-metadata.xml
restartPolicy: Always
volumes:
# Reference to configmaps and PVs
- name: netbox-media-files
persistentVolumeClaim:
claimName: netbox-media-pvc
readOnly: false
- name: ldap-config
configMap:
name: netbox-configmap
items:
- key: ldap_config.py
path: ldap_config.py
- name: netbox-plugins
configMap:
name: startup-configmap
items:
- key: "netbox-plugins.py"
path: "netbox-plugins.py"
- name: install-plugins
configMap:
name: startup-configmap
items:
- key: "install-plugins.sh"
path: "install-plugins.sh"
- name: start-rqworker
configMap:
name: startup-configmap
items:
- key: "start-rqworker.sh"
path: "start-rqworker.sh"
- name: nginx-caching-fix
configMap:
name: startup-configmap
items:
- key: "nginx-caching-fix.sh"
path: "nginx-caching-fix.sh"
- name: sso-saml2-xml
configMap:
name: sso-saml2-xml
items:
- key: sso-saml2-metadata.xml
path: sso-saml2-metadata.xml
# Populate via secret
- name: auth-ldap-bind-password
secret:
secretName: netbox-secret
items:
- key: auth_ldap_bind_password
path: auth_ldap_bind_password
- name: db-password
secret:
secretName: netbox-postgresql
items:
- key: password
path: db_password
- name: email-password
secret:
secretName: netbox-secret
items:
- key: email_password
path: email_password
- name: napalm-password
secret:
secretName: netbox-secret
items:
- key: napalm_password
path: napalm_password
- name: redis-password
secret:
secretName: netbox-redis
items:
- key: redis-password
path: redis_password
- name: secret-key
secret:
secretName: netbox-secret
items:
- key: secret_key
path: secret_key
- name: superuser-password
secret:
secretName: netbox-secret
items:
- key: superuser_password
path: superuser_password
- name: superuser-api-token
secret:
secretName: netbox-secret
items:
- key: superuser_api_token
path: superuser_api_token
| 31.772487 | 128 | 0.569525 |
f7156a9b05751eaa9dab55ebf8b79c0e74969ef2 | 77 | yaml | YAML | app/manifests/app-namespace.yaml | nick-otter/microservices-demo | 54af1c79676f57c6b6a7bcf2db46ab802839d106 | [
"Apache-2.0"
] | null | null | null | app/manifests/app-namespace.yaml | nick-otter/microservices-demo | 54af1c79676f57c6b6a7bcf2db46ab802839d106 | [
"Apache-2.0"
] | null | null | null | app/manifests/app-namespace.yaml | nick-otter/microservices-demo | 54af1c79676f57c6b6a7bcf2db46ab802839d106 | [
"Apache-2.0"
] | null | null | null | kind: Namespace
apiVersion: v1
metadata:
name: app
labels:
name: app
| 11 | 15 | 0.688312 |
f7156aea1ec47e528f7e9e0c96631edd19a38a76 | 218 | yml | YAML | multicluster/test/yamls/leader-access-token-secret.yml | vmware-tanzu-private/antrea | 040f07ae94aab07fdad1ec3943073b1cbe55a520 | [
"Apache-2.0"
] | 1 | 2021-12-07T15:06:23.000Z | 2021-12-07T15:06:23.000Z | multicluster/test/yamls/leader-access-token-secret.yml | vmware-tanzu-private/antrea | 040f07ae94aab07fdad1ec3943073b1cbe55a520 | [
"Apache-2.0"
] | 10 | 2022-01-10T03:36:31.000Z | 2022-03-31T03:30:18.000Z | multicluster/test/yamls/leader-access-token-secret.yml | vmware-tanzu-private/antrea | 040f07ae94aab07fdad1ec3943073b1cbe55a520 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: leader-access-token
namespace: antrea-mcs-ns
annotations:
kubernetes.io/service-account.name: antrea-mc-member-access-sa
type: kubernetes.io/service-account-token
| 21.8 | 66 | 0.775229 |
f7157e69b2853b6b53a456d9a1789a0ee8384c62 | 1,903 | yaml | YAML | assets/prometheus-k8s/role-specific-namespaces.yaml | derekwaynecarr/cluster-monitoring-operator | 72d41ad891cf762c68a49463bf524a590112fa73 | [
"Apache-2.0"
] | null | null | null | assets/prometheus-k8s/role-specific-namespaces.yaml | derekwaynecarr/cluster-monitoring-operator | 72d41ad891cf762c68a49463bf524a590112fa73 | [
"Apache-2.0"
] | null | null | null | assets/prometheus-k8s/role-specific-namespaces.yaml | derekwaynecarr/cluster-monitoring-operator | 72d41ad891cf762c68a49463bf524a590112fa73 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
items:
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: default
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: kube-system
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-monitoring
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-cluster-version
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-apiserver
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-kube-scheduler
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
- apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-kube-controller-manager
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
kind: RoleList
| 16.405172 | 48 | 0.598529 |
f71582371c712a76b4b099404fbffdcb3885dfcc | 257 | yaml | YAML | testing/kube-tf-rn50-pack1.yaml | pint1022/KubeShare | 483a96efa6c9fd0d43e3fea27bb0e6e154b6ca54 | [
"Apache-2.0"
] | null | null | null | testing/kube-tf-rn50-pack1.yaml | pint1022/KubeShare | 483a96efa6c9fd0d43e3fea27bb0e6e154b6ca54 | [
"Apache-2.0"
] | null | null | null | testing/kube-tf-rn50-pack1.yaml | pint1022/KubeShare | 483a96efa6c9fd0d43e3fea27bb0e6e154b6ca54 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: kube-rn50-1
spec:
containers:
- name: tf-mnist-1gpu
image: centaurusinfra/tf-onegpu-mnist:latest
workingDir: /tmp/test
command: ["sh", "-c", "python3 tf-cf-rn50-pack.py"]
restartPolicy: OnFailure
| 21.416667 | 55 | 0.688716 |
f71617599311d683206237509e9fa9b5309f3064 | 701 | yml | YAML | kubernetes/reddit/mongo-deployment.yml | Otus-DevOps-2019-11/bard86_microservices | 799dd79a4e01ef1b42867c34a2efcf7fce33d3cc | [
"MIT"
] | 2 | 2020-03-17T06:50:48.000Z | 2021-01-24T14:08:40.000Z | kubernetes/reddit/mongo-deployment.yml | Otus-DevOps-2019-11/bard86_microservices | 799dd79a4e01ef1b42867c34a2efcf7fce33d3cc | [
"MIT"
] | 15 | 2020-02-12T17:48:55.000Z | 2022-03-31T00:43:34.000Z | kubernetes/reddit/mongo-deployment.yml | Otus-DevOps-2019-08/fresk-nc_microservices | 9b93fcd6bad07a046c837ba3f52c56c18be58eba | [
"MIT"
] | 2 | 2020-06-13T16:21:26.000Z | 2020-08-05T15:57:08.000Z | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mongo
labels:
app: reddit
component: mongo
comment-db: "true"
post-db: "true"
spec:
replicas: 1
selector:
matchLabels:
app: reddit
component: mongo
template:
metadata:
name: mongo
labels:
app: reddit
component: mongo
comment-db: "true"
post-db: "true"
spec:
containers:
- image: mongo:3.2
name: mongo
volumeMounts:
- name: mongo-gce-pd-storage
mountPath: /data/db
volumes:
- name: mongo-gce-pd-storage
persistentVolumeClaim:
claimName: mongo-pvc-dynamic
| 19.472222 | 40 | 0.552068 |