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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f75b496087d62b33714e91475f80565bc786620f | 702 | yaml | YAML | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | binomy/jx-pluto-gke-gsm | 7febea2348b31220bf57c3b7e513cad78fa01560 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | binomy/jx-pluto-gke-gsm | 7febea2348b31220bf57c3b7e513cad78fa01560 | [
"Apache-2.0"
] | 4 | 2022-03-24T02:29:34.000Z | 2022-03-24T04:21:47.000Z | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | binomy/jx-pluto-gke-gsm | 7febea2348b31220bf57c3b7e513cad78fa01560 | [
"Apache-2.0"
] | null | null | null | # Source: jxboot-helmfile-resources/templates/700-chartmuseum-ing.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
meta.helm.sh/release-name: 'jxboot-helmfile-resources'
name: chartmuseum
namespace: jx
labels:
gitops.jenkins-x.io/pipeline: 'namespaces'
spec:
rules:
- http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: jenkins-x-chartmuseum
port:
number: 8080
host: chartmuseum.pluto.binomy.io
tls:
- hosts:
- chartmuseum.pluto.binomy.io
secretName: "tls-pluto-binomy-io-p"
| 26 | 70 | 0.628205 |
f75b72e981b600cf7cfcdad90cfcccb4e68ca295 | 94 | yaml | YAML | .archive/create/admin-user.yaml | idcrook/kubernetes-homespun | 43c433254af7d53b4459435a2b3c2cfe247bcae2 | [
"MIT"
] | 9 | 2018-09-08T08:55:13.000Z | 2021-05-13T11:04:31.000Z | .archive/create/admin-user.yaml | idcrook/kubernetes-homespun | 43c433254af7d53b4459435a2b3c2cfe247bcae2 | [
"MIT"
] | 6 | 2019-12-15T18:25:32.000Z | 2021-09-23T23:27:43.000Z | .archive/create/admin-user.yaml | idcrook/kubernetes-homespun | 43c433254af7d53b4459435a2b3c2cfe247bcae2 | [
"MIT"
] | 3 | 2018-10-02T11:06:14.000Z | 2019-04-26T08:17:59.000Z | ---
apiVersion: v1
kind: ServiceAccount
metadata:
name: admin-user
namespace: kube-system
| 13.428571 | 24 | 0.744681 |
f75c05aa4caea52e7e8cbf8426aa1ce6efe3c8ec | 2,539 | yaml | YAML | katib/katib-controller/base/trial-template-configmap.yaml | Junryeol/manifests | 1c869a32b35abe0bd49f73c143d061d21fe7442a | [
"Apache-2.0"
] | null | null | null | katib/katib-controller/base/trial-template-configmap.yaml | Junryeol/manifests | 1c869a32b35abe0bd49f73c143d061d21fe7442a | [
"Apache-2.0"
] | null | null | null | katib/katib-controller/base/trial-template-configmap.yaml | Junryeol/manifests | 1c869a32b35abe0bd49f73c143d061d21fe7442a | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: ConfigMap
metadata:
name: trial-template
labels:
app: katib-trial-templates
data:
defaultTrialTemplate.yaml: |-
apiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/mxnet-mnist:v1beta1-91e4996
command:
- "python3"
- "/opt/mxnet-mnist/mnist.py"
- "--batch-size=64"
- "--lr=${trialParameters.learningRate}"
- "--num-layers=${trialParameters.numberLayers}"
- "--optimizer=${trialParameters.optimizer}"
restartPolicy: Never
# For ConfigMap templates double quotes must set in commands to correct parse JSON parameters in Trial Template (e.g nn_config, architecture)
enasCPUTemplate: |-
apiVersion: batch/v1
kind: Job
spec:
template:
spec:
containers:
- name: training-container
image: docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v1beta1-91e4996
command:
- python3
- -u
- RunTrial.py
- --num_epochs=1
- "--architecture=\"${trialParameters.neuralNetworkArchitecture}\""
- "--nn_config=\"${trialParameters.neuralNetworkConfig}\""
restartPolicy: Never
pytorchJobTemplate: |-
apiVersion: "kubeflow.org/v1"
kind: PyTorchJob
spec:
pytorchReplicaSpecs:
Master:
replicas: 1
restartPolicy: OnFailure
template:
spec:
containers:
- name: pytorch
image: gcr.io/kubeflow-ci/pytorch-dist-mnist-test:v1.0
imagePullPolicy: Always
command:
- "python"
- "/var/mnist.py"
- "--lr=${trialParameters.learningRate}"
- "--momentum=${trialParameters.momentum}"
Worker:
replicas: 2
restartPolicy: OnFailure
template:
spec:
containers:
- name: pytorch
image: gcr.io/kubeflow-ci/pytorch-dist-mnist-test:v1.0
imagePullPolicy: Always
command:
- "python"
- "/var/mnist.py"
- "--lr=${trialParameters.learningRate}"
- "--momentum=${trialParameters.momentum}"
| 33.407895 | 143 | 0.515163 |
f75c28e85c4a2ad030be0a31e9b1f92436e95afe | 229 | yml | YAML | kubernetes/yml/ddcc-transaction-mediator/service.yml | WorldHealthOrganization/ddcc-trusted-party-reference-implementation | 5bda6989af5aea49877b6c41826977ed1f211a81 | [
"Apache-2.0"
] | null | null | null | kubernetes/yml/ddcc-transaction-mediator/service.yml | WorldHealthOrganization/ddcc-trusted-party-reference-implementation | 5bda6989af5aea49877b6c41826977ed1f211a81 | [
"Apache-2.0"
] | null | null | null | kubernetes/yml/ddcc-transaction-mediator/service.yml | WorldHealthOrganization/ddcc-trusted-party-reference-implementation | 5bda6989af5aea49877b6c41826977ed1f211a81 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: svc-transactions
namespace: default
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: svc-transactions
type: ClusterIP
| 15.266667 | 25 | 0.689956 |
f75c80a331ed06a794edd68eda9120d53977cb0a | 374 | yaml | YAML | example/demo/worker.yaml | caiohasouza/oldmonk | 2662fa4f8a3180b1f59cceb0daeb8794389178bc | [
"Apache-2.0"
] | 7 | 2020-05-26T07:47:02.000Z | 2021-04-18T15:15:00.000Z | example/demo/worker.yaml | caiohasouza/oldmonk | 2662fa4f8a3180b1f59cceb0daeb8794389178bc | [
"Apache-2.0"
] | 24 | 2020-05-22T23:16:42.000Z | 2020-07-15T09:40:02.000Z | example/demo/worker.yaml | caiohasouza/oldmonk | 2662fa4f8a3180b1f59cceb0daeb8794389178bc | [
"Apache-2.0"
] | 3 | 2020-06-04T20:35:29.000Z | 2021-04-08T20:30:14.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
app: nginx
env: dev
spec:
replicas: 1
selector:
matchLabels:
app: nginx
env: dev
template:
metadata:
labels:
app: nginx
env: dev
spec:
containers:
- name: nginx
image: nginx:1.15.4
ports:
- containerPort: 80 | 15.583333 | 27 | 0.550802 |
f75c89e1b950894a2cb0e1f5725b5310c8e78ae1 | 298 | yaml | YAML | files/yapi/k8s-yaml/mongo/storage/class-ceph.yaml | dylanyht/devops_docs | 54e3671436e4e358f8c635b31a69feb72851ac66 | [
"MIT"
] | 1 | 2019-11-04T07:24:11.000Z | 2019-11-04T07:24:11.000Z | files/yapi/k8s-yaml/mongo/storage/class-ceph.yaml | dylanyht/devops_docs | 54e3671436e4e358f8c635b31a69feb72851ac66 | [
"MIT"
] | 2 | 2021-05-07T08:50:52.000Z | 2021-05-07T08:53:21.000Z | files/yapi/k8s-yaml/mongo/storage/class-ceph.yaml | dylanyht/devops_docs | 54e3671436e4e358f8c635b31a69feb72851ac66 | [
"MIT"
] | null | null | null | kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: yapi-mongo
provisioner: ceph.com/cephfs
parameters:
monitors: 172.16.77.81:6789
adminId: admin
adminSecretName: ceph-secret-admin
adminSecretNamespace: "storage"
claimRoot: /volumes/kubernetes/default/yapi-mongo | 27.090909 | 53 | 0.761745 |
f75c8ed390316637406b7a5da3e651793cacaac8 | 1,682 | yaml | YAML | deploy/webapp/frontend/deployment.yaml | verchol/podinfo | c5384d4ae30b04f3ab20931695ef00d176cf19b8 | [
"MIT"
] | null | null | null | deploy/webapp/frontend/deployment.yaml | verchol/podinfo | c5384d4ae30b04f3ab20931695ef00d176cf19b8 | [
"MIT"
] | null | null | null | deploy/webapp/frontend/deployment.yaml | verchol/podinfo | c5384d4ae30b04f3ab20931695ef00d176cf19b8 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
namespace: webapp
spec:
minReadySeconds: 3
revisionHistoryLimit: 5
progressDeadlineSeconds: 60
strategy:
rollingUpdate:
maxUnavailable: 0
type: RollingUpdate
selector:
matchLabels:
app: frontend
template:
metadata:
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9797"
labels:
app: frontend
spec:
serviceAccountName: webapp
containers:
- name: frontend
image: stefanprodan/podinfo:3.3.1
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 9898
protocol: TCP
- name: http-metrics
containerPort: 9797
protocol: TCP
- name: grpc
containerPort: 9999
protocol: TCP
command:
- ./podinfo
- --port=9898
- --port-metrics=9797
- --level=info
- --backend-url=http://backend:9898/echo
env:
- name: PODINFO_UI_COLOR
value: "34577c"
livenessProbe:
exec:
command:
- podcli
- check
- http
- localhost:9898/healthz
initialDelaySeconds: 5
timeoutSeconds: 5
readinessProbe:
exec:
command:
- podcli
- check
- http
- localhost:9898/readyz
initialDelaySeconds: 5
timeoutSeconds: 5
resources:
limits:
cpu: 1000m
memory: 128Mi
requests:
cpu: 100m
memory: 32Mi
| 22.72973 | 48 | 0.523187 |
f75cce0b8298180405fa79b2f797b21cd0ea144a | 292 | yaml | YAML | config/rbac/auth_proxy_service.yaml | nbalacha/lvm-operator | c7d35aeb5bede9e280e5d199c2e5ff64d4ac25a6 | [
"Apache-2.0"
] | 8 | 2021-12-10T13:52:44.000Z | 2022-03-03T15:40:34.000Z | config/rbac/auth_proxy_service.yaml | nbalacha/lvm-operator | c7d35aeb5bede9e280e5d199c2e5ff64d4ac25a6 | [
"Apache-2.0"
] | 129 | 2021-12-02T11:08:54.000Z | 2022-03-31T13:57:56.000Z | config/rbac/auth_proxy_service.yaml | nbalacha/lvm-operator | c7d35aeb5bede9e280e5d199c2e5ff64d4ac25a6 | [
"Apache-2.0"
] | 12 | 2021-12-02T06:15:02.000Z | 2022-03-28T11:35:33.000Z | apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: lvm-operator
name: controller-manager-metrics-service
namespace: system
spec:
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
selector:
app.kubernetes.io/name: lvm-operator
| 18.25 | 42 | 0.708904 |
f75d025e88bf0773fe0ee380ea5f07c3b605e024 | 362 | yaml | YAML | specs/resource-quota.yaml | nolancon/kubectl-storageos | 8bb4243a3c4ac078cf6889d1a804edf2e33d3f10 | [
"MIT"
] | 1 | 2022-03-16T21:40:15.000Z | 2022-03-16T21:40:15.000Z | specs/resource-quota.yaml | nolancon/kubectl-storageos | 8bb4243a3c4ac078cf6889d1a804edf2e33d3f10 | [
"MIT"
] | 20 | 2021-07-27T10:45:58.000Z | 2022-01-31T17:18:13.000Z | specs/resource-quota.yaml | nolancon/kubectl-storageos | 8bb4243a3c4ac078cf6889d1a804edf2e33d3f10 | [
"MIT"
] | 3 | 2021-07-22T16:42:29.000Z | 2021-09-21T10:30:13.000Z | apiVersion: v1
kind: ResourceQuota
metadata:
name: storageos-critical-pods
namespace: storageos
labels:
app: storageos
app.kubernetes.io/component: operator
spec:
hard:
pods: 100
scopeSelector:
matchExpressions:
- operator: In
scopeName: PriorityClass
values:
- system-cluster-critical
- system-node-critical | 20.111111 | 41 | 0.69337 |
f75d58a077db326cdc8acfef37bc0859cf16a846 | 1,632 | yml | YAML | deploy/backplane/10-srep-admins-cluster.ClusterRole.yml | gsleeman/managed-cluster-config | 53e0ef8971ad2360dc5aad1394fee9fe5dd04a97 | [
"Apache-2.0"
] | null | null | null | deploy/backplane/10-srep-admins-cluster.ClusterRole.yml | gsleeman/managed-cluster-config | 53e0ef8971ad2360dc5aad1394fee9fe5dd04a97 | [
"Apache-2.0"
] | null | null | null | deploy/backplane/10-srep-admins-cluster.ClusterRole.yml | gsleeman/managed-cluster-config | 53e0ef8971ad2360dc5aad1394fee9fe5dd04a97 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: backplane-srep-admins-cluster
rules:
# SRE can manage nodes
- apiGroups:
- ""
resources:
- nodes
verbs:
- patch
# SRE can manage projects
- apiGroups:
- config.openshift.io
resources:
- projects
verbs:
- '*'
- apiGroups:
- project.openshift.io
resources:
- projects
verbs:
- '*'
# SRE can manage namespaces
- apiGroups:
- ""
resources:
- namespaces
- namespaces/finalize
verbs:
- '*'
# SRE can update existing groups
- apiGroups:
- user.openshift.io
resources:
- groups
verbs:
- patch
- update
# SRE can upgrade the cluster
- apiGroups:
- config.openshift.io
resources:
- clusterversions
verbs:
- patch
- update
# SRE can approve Certificate Signing Requests (CSR)
- apiGroups:
- certificates.k8s.io
resources:
- certificatesigningrequests/approval
verbs:
- update
# SRE can get and post to all endpoints
- nonResourceURLs:
- '*'
verbs:
- '*'
#### Start - more perms for srep
# https://issues.redhat.com/browse/OSD-5537
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
- selfsubjectaccessreviews
- selfsubjectrulesreviews
verbs:
- '*'
- apiGroups:
- authorization.openshift.io
resources:
- resourceaccessreviews
- subjectaccessreviews
verbs:
- '*'
- apiGroups:
- user.openshift.io
resources:
- users
verbs:
- delete
# SREP can view machineconfigs, machineconfigpools, kubeletconfigs,
# controllerconfigs
- apiGroups:
- machineconfiguration.openshift.io
resources:
- '*'
verbs:
- get
- list
- watch
### End
| 17 | 67 | 0.679534 |
f75d811a8118b63c682644e13f60147977ef52c8 | 217 | yaml | YAML | cluster/apps/media/podsync/service.yaml | tuxpeople/k8s-server | b45593e0639e31e31fcc49fc2937fe299f2fce35 | [
"MIT"
] | null | null | null | cluster/apps/media/podsync/service.yaml | tuxpeople/k8s-server | b45593e0639e31e31fcc49fc2937fe299f2fce35 | [
"MIT"
] | 3 | 2021-06-04T08:31:08.000Z | 2021-06-23T10:20:53.000Z | cluster/apps/media/podsync/service.yaml | tuxpeople/k8s-server | b45593e0639e31e31fcc49fc2937fe299f2fce35 | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: Service
metadata:
labels:
app: podsync
name: podsync
spec:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: podsync
type: ClusterIP
| 12.764706 | 20 | 0.640553 |
f75e2ae79d9db8074285a7a75c8960a4fcf58bb3 | 387 | yaml | YAML | config/rbac/manifest_editor_role.yaml | cumirror/kubekey | 1358b2a7da049dc3ca7934c0ae5ab739d112ac0a | [
"Apache-2.0"
] | 841 | 2020-05-01T03:48:32.000Z | 2022-03-30T10:44:41.000Z | config/rbac/manifest_editor_role.yaml | cumirror/kubekey | 1358b2a7da049dc3ca7934c0ae5ab739d112ac0a | [
"Apache-2.0"
] | 1,134 | 2020-05-01T08:06:05.000Z | 2022-03-31T11:08:18.000Z | config/rbac/manifest_editor_role.yaml | cumirror/kubekey | 1358b2a7da049dc3ca7934c0ae5ab739d112ac0a | [
"Apache-2.0"
] | 282 | 2020-05-01T03:48:37.000Z | 2022-03-31T02:37:54.000Z | # permissions for end users to edit manifests.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: manifest-editor-role
rules:
- apiGroups:
- kubekey.kubesphere.io
resources:
- manifests
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kubekey.kubesphere.io
resources:
- manifests/status
verbs:
- get
| 15.48 | 46 | 0.689922 |
f75e7a778998897c0acc83e62354e80d1f3e8551 | 258 | yaml | YAML | config/rbac/auth_proxy_role_binding.yaml | scipian/terraform-controller | 3091b230b736bd7f3ec4f1e0f5045be9fcec9d11 | [
"Apache-2.0"
] | null | null | null | config/rbac/auth_proxy_role_binding.yaml | scipian/terraform-controller | 3091b230b736bd7f3ec4f1e0f5045be9fcec9d11 | [
"Apache-2.0"
] | 30 | 2019-03-21T20:54:14.000Z | 2020-09-08T16:50:09.000Z | config/rbac/auth_proxy_role_binding.yaml | scipian/terraform-controller | 3091b230b736bd7f3ec4f1e0f5045be9fcec9d11 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: proxy-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: proxy-role
subjects:
- kind: ServiceAccount
name: default
namespace: scipian
| 19.846154 | 40 | 0.782946 |
f75e9a02b16ebfb90367448cb595da727421dff1 | 5,281 | yaml | YAML | config-root/namespaces/tekton-pipelines/tekton-pipeline/tekton-pipelines-webhook-deploy.yaml | caosborne89/test_jx | 591c39610d8320da8b26d6510b361f8666b91358 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/tekton-pipelines/tekton-pipeline/tekton-pipelines-webhook-deploy.yaml | caosborne89/test_jx | 591c39610d8320da8b26d6510b361f8666b91358 | [
"Apache-2.0"
] | 114 | 2020-10-13T07:40:17.000Z | 2020-12-07T11:55:10.000Z | config-root/namespaces/tekton-pipelines/tekton-pipeline/tekton-pipelines-webhook-deploy.yaml | jstrachan/jx-demo-terraform-dev | e6552f4859878b78b5c2a74dd176a51736a9bec6 | [
"Apache-2.0"
] | 1 | 2020-11-24T09:58:54.000Z | 2020-11-24T09:58:54.000Z | # Source: tekton-pipeline/templates/tekton-pipelines-webhook-deploy.yaml
# Copyright 2020 The Tekton Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
# Note: the Deployment name must be the same as the Service name specified in
# config/400-webhook-service.yaml. If you change this name, you must also
# change the value of WEBHOOK_SERVICE_NAME below.
name: tekton-pipelines-webhook
namespace: tekton-pipelines
labels:
app.kubernetes.io/name: webhook
app.kubernetes.io/component: webhook
app.kubernetes.io/instance: default
app.kubernetes.io/version: "v0.18.0"
app.kubernetes.io/part-of: tekton-pipelines
# tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml
pipeline.tekton.dev/release: "v0.18.0"
# labels below are related to istio and should not be used for resource lookup
version: "v0.18.0"
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
wave.pusher.com/update-on-config-change: 'true'
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: webhook
app.kubernetes.io/component: webhook
app.kubernetes.io/instance: default
app.kubernetes.io/part-of: tekton-pipelines
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
labels:
app.kubernetes.io/name: webhook
app.kubernetes.io/component: webhook
app.kubernetes.io/instance: default
app.kubernetes.io/version: "v0.18.0"
app.kubernetes.io/part-of: tekton-pipelines
# tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml
pipeline.tekton.dev/release: "v0.18.0"
# labels below are related to istio and should not be used for resource lookup
app: tekton-pipelines-webhook
version: "v0.18.0"
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: webhook
app.kubernetes.io/component: webhook
app.kubernetes.io/instance: default
app.kubernetes.io/part-of: tekton-pipelines
topologyKey: kubernetes.io/hostname
weight: 100
serviceAccountName: tekton-pipelines-webhook
containers:
- name: webhook
# This is the Go import path for the binary that is containerized
# and substituted here.
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.18.0@sha256:622f9d84bc56c12e883f4e5a3936d1321ed369655ea88dc8f7ab61c0108f72dd
# Resource request required for autoscaler to take any action for a metric
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
env:
- name: SYSTEM_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
# If you are changing these names, you will also need to update
# the webhook's Role in 200-role.yaml to include the new
# values in the "configmaps" "get" rule.
- name: CONFIG_LOGGING_NAME
value: config-logging
- name: CONFIG_OBSERVABILITY_NAME
value: config-observability
- name: CONFIG_LEADERELECTION_NAME
value: config-leader-election
- name: WEBHOOK_SERVICE_NAME
value: tekton-pipelines-webhook
- name: WEBHOOK_SECRET_NAME
value: webhook-certs
- name: METRICS_DOMAIN
value: tekton.dev/pipeline
securityContext:
allowPrivilegeEscalation: false
# User 65532 is the distroless nonroot user ID
runAsUser: 65532
ports:
- name: metrics
containerPort: 9090
- name: profiling
containerPort: 8008
- name: https-webhook
containerPort: 8443
- name: probes
containerPort: 8080
livenessProbe:
httpGet:
path: /health
port: probes
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /readiness
port: probes
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
| 38.830882 | 160 | 0.628858 |
f75eb7c4d41f161b49a096cd245bbcd60c56f27d | 1,089 | yaml | YAML | src/interfaces/kubernetes/api.test.js.yaml | LamaAni/node_rest_api | 6ebb6a18de6ecf7d822e6f6a2fd384bb45d2e1f8 | [
"MIT"
] | null | null | null | src/interfaces/kubernetes/api.test.js.yaml | LamaAni/node_rest_api | 6ebb6a18de6ecf7d822e6f6a2fd384bb45d2e1f8 | [
"MIT"
] | null | null | null | src/interfaces/kubernetes/api.test.js.yaml | LamaAni/node_rest_api | 6ebb6a18de6ecf7d822e6f6a2fd384bb45d2e1f8 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: test-deployment
labels:
app: test-deployment
spec:
selector:
matchLabels:
app: test-deployment
replicas: 1
template:
metadata:
labels:
app: test-deployment
spec:
containers:
- name: tester
image: 'ubuntu:latest'
command:
- bash
- -c
- |
echo "Falling asleep for $SECS_TO_SLEEP"
sleep $SECS_TO_SLEEP
env:
- name: SECS_TO_SLEEP
value: '1000'
resources:
limits:
cpu: 200m
memory: 500Mi
requests:
cpu: 100m
memory: 200Mi
# ---
# apiVersion: v1
# kind: Pod
# metadata:
# name: test-pod
# spec:
# containers:
# - name: tester
# image: 'ubuntu:latest'
# command:
# - sleep
# - '1000'
# resources:
# limits:
# cpu: 200m
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
| 19.8 | 54 | 0.471074 |
f75f63a4805cf51534c9dbaae87530929b470cdb | 67 | yaml | YAML | Namespace/namespace.yaml | ctezna-factored/kubernetes-examples | 62d594ef6524b4efa8b2c7cbb958f16910c2c250 | [
"MIT"
] | null | null | null | Namespace/namespace.yaml | ctezna-factored/kubernetes-examples | 62d594ef6524b4efa8b2c7cbb958f16910c2c250 | [
"MIT"
] | null | null | null | Namespace/namespace.yaml | ctezna-factored/kubernetes-examples | 62d594ef6524b4efa8b2c7cbb958f16910c2c250 | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: Namespace
metadata:
name: factored-prod
| 11.166667 | 21 | 0.731343 |
f75fa223f439df3cd20fd443fcae17ab89074e15 | 490 | yaml | YAML | charts/grafana-ui-server/templates/user-roles.yaml | searchlight/installer | d6ce5d06a5ca6dd6fb967bcb1b2ffcb215566870 | [
"Apache-2.0"
] | 2 | 2020-02-26T23:33:20.000Z | 2020-05-04T07:38:36.000Z | charts/grafana-ui-server/templates/user-roles.yaml | open-viz/installer | aeaf6e0830b4681d73526feb59e35d7820edd323 | [
"Apache-2.0"
] | 3 | 2021-11-22T23:23:04.000Z | 2022-01-26T20:51:06.000Z | charts/grafana-ui-server/templates/user-roles.yaml | searchlight/installer | d6ce5d06a5ca6dd6fb967bcb1b2ffcb215566870 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: kubeops:identity:admin
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rbac.authorization.k8s.io/aggregate-to-view: "true"
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
rules:
- apiGroups:
- identity.k8s.appscode.com
resources:
- whoamis
verbs: ["create"]
| 27.222222 | 56 | 0.728571 |
f7604e143e739288ccd4680103b400d93ca16ce5 | 1,067 | yaml | YAML | experimental/addons/kubeflow/resources/CustomResourceDefinition-29.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 65 | 2020-05-27T03:36:33.000Z | 2022-03-23T09:50:59.000Z | experimental/addons/kubeflow/resources/CustomResourceDefinition-29.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 76 | 2020-05-29T09:14:26.000Z | 2022-03-28T14:31:33.000Z | experimental/addons/kubeflow/resources/CustomResourceDefinition-29.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 61 | 2020-05-26T03:19:48.000Z | 2022-03-24T21:57:12.000Z | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
knative.dev/crd-install: "true"
serving.knative.dev/release: v0.22.1
name: podautoscalers.autoscaling.internal.knative.dev
spec:
group: autoscaling.internal.knative.dev
names:
categories:
- knative-internal
- autoscaling
kind: PodAutoscaler
plural: podautoscalers
shortNames:
- kpa
- pa
singular: podautoscaler
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.desiredScale
name: DesiredScale
type: integer
- jsonPath: .status.actualScale
name: ActualScale
type: integer
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
name: v1alpha1
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
status: {}
| 24.25 | 61 | 0.665417 |
f7604ed47a0807a974245a4c152a73d152e8c226 | 240 | yaml | YAML | experiments/5G_experiment/manifests/f5gc-upf/01_upf-rbac.yaml | srac0/HetBed | 8b6e1dd49fa3509573714a739252937a6965712c | [
"Apache-2.0"
] | 1 | 2022-01-19T16:14:29.000Z | 2022-01-19T16:14:29.000Z | experiments/5G_experiment/manifests/f5gc-upf/01_upf-rbac.yaml | srac0/HetBed | 8b6e1dd49fa3509573714a739252937a6965712c | [
"Apache-2.0"
] | null | null | null | experiments/5G_experiment/manifests/f5gc-upf/01_upf-rbac.yaml | srac0/HetBed | 8b6e1dd49fa3509573714a739252937a6965712c | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: f5gc-upf-rbac
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: f5gc-upf-sa
| 20 | 40 | 0.775 |
f76068dbc0d08b6c81be7d4165e5d7a00f031f73 | 1,855 | yaml | YAML | tests/stacks/ibm/application/jupyter-web-app/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | SuiyunCloud/kubeflow-install | 45868a42447dd82849dd55a412f860d0cc86a8e6 | [
"Apache-2.0"
] | null | null | null | tests/stacks/ibm/application/jupyter-web-app/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | SuiyunCloud/kubeflow-install | 45868a42447dd82849dd55a412f860d0cc86a8e6 | [
"Apache-2.0"
] | null | null | null | tests/stacks/ibm/application/jupyter-web-app/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | SuiyunCloud/kubeflow-install | 45868a42447dd82849dd55a412f860d0cc86a8e6 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: jupyter-web-app
app.kubernetes.io/component: jupyter-web-app
app.kubernetes.io/name: jupyter-web-app
kustomize.component: jupyter-web-app
name: jupyter-web-app-deployment
namespace: kubeflow
spec:
replicas: 1
selector:
matchLabels:
app: jupyter-web-app
app.kubernetes.io/component: jupyter-web-app
app.kubernetes.io/name: jupyter-web-app
kustomize.component: jupyter-web-app
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
app: jupyter-web-app
app.kubernetes.io/component: jupyter-web-app
app.kubernetes.io/name: jupyter-web-app
kustomize.component: jupyter-web-app
spec:
containers:
- env:
- name: ROK_SECRET_NAME
valueFrom:
configMapKeyRef:
key: ROK_SECRET_NAME
name: jupyter-web-app-parameters
- name: UI
valueFrom:
configMapKeyRef:
key: UI
name: jupyter-web-app-parameters
- name: USERID_HEADER
valueFrom:
configMapKeyRef:
key: userid-header
name: kubeflow-config
- name: USERID_PREFIX
valueFrom:
configMapKeyRef:
key: userid-prefix
name: kubeflow-config
image: gcr.io/kubeflow-images.csv-public/jupyter-web-app:vmaster-ge4456300
imagePullPolicy: Always
name: jupyter-web-app
ports:
- containerPort: 5000
volumeMounts:
- mountPath: /etc/config
name: config-volume
serviceAccountName: jupyter-web-app-service-account
volumes:
- configMap:
name: jupyter-web-app-jupyter-web-app-config
name: config-volume
| 28.984375 | 82 | 0.604852 |
f7608a31de32eaec107248c0a9755e4228b3762b | 4,776 | yaml | YAML | k8s/europe-west4/gen/tf-r1.15.4-mnasnet-func-v3-32.yaml | shauheen/ml-testing-accelerators | 2ff9d5dbf21a9cc166cdfc460134cbb17be22e4c | [
"Apache-2.0"
] | 1 | 2020-05-09T18:59:09.000Z | 2020-05-09T18:59:09.000Z | k8s/europe-west4/gen/tf-r1.15.4-mnasnet-func-v3-32.yaml | shauheen/ml-testing-accelerators | 2ff9d5dbf21a9cc166cdfc460134cbb17be22e4c | [
"Apache-2.0"
] | null | null | null | k8s/europe-west4/gen/tf-r1.15.4-mnasnet-func-v3-32.yaml | shauheen/ml-testing-accelerators | 2ff9d5dbf21a9cc166cdfc460134cbb17be22e4c | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"apiVersion": "batch/v1beta1"
"kind": "CronJob"
"metadata":
"name": "tf-r1.15.4-mnasnet-func-v3-32"
"namespace": "automated"
"spec":
"concurrencyPolicy": "Forbid"
"jobTemplate":
"spec":
"activeDeadlineSeconds": 3600
"backoffLimit": 1
"template":
"metadata":
"annotations":
"tf-version.cloud-tpus.google.com": "1.15.4"
"spec":
"containers":
- "env":
- "name": "POD_NAME"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.name"
- "name": "POD_NAMESPACE"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.namespace"
"image": "gcr.io/xl-ml-test/health-monitor:stable"
"imagePullPolicy": "Always"
"name": "monitor"
- "args":
- "python3"
- "/tpu/models/official/mnasnet/mnasnet_main.py"
- "--tpu=$(KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS)"
- "--iterations_per_loop=1000"
- "--mode=train"
- "--data_dir=$(IMAGENET_DIR)"
- "--model_dir=$(MODEL_DIR)"
- "--config_file=/tpu/models/official/mnasnet/configs/cloud/v3-32.yaml"
- "--train_steps=1000"
"env":
- "name": "POD_NAME"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.name"
- "name": "POD_UID"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.uid"
- "name": "POD_NAMESPACE"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.namespace"
- "name": "JOB_NAME"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.labels['job-name']"
- "name": "MODEL_DIR"
"value": "$(OUTPUT_BUCKET)/tf-r1.15.4/mnasnet/func/v3-32/$(JOB_NAME)"
"envFrom":
- "configMapRef":
"name": "gcs-buckets"
"image": "gcr.io/xl-ml-test/tensorflow-tpu-1x:r1.15.4"
"imagePullPolicy": "Always"
"name": "train"
"resources":
"limits":
"cloud-tpus.google.com/preemptible-v3": 32
"initContainers":
- "env":
- "name": "POD_NAME"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.name"
- "name": "POD_UID"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.uid"
- "name": "POD_NAMESPACE"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.namespace"
- "name": "JOB_NAME"
"valueFrom":
"fieldRef":
"fieldPath": "metadata.labels['job-name']"
- "name": "MODEL_DIR"
"value": "$(OUTPUT_BUCKET)/tf-r1.15.4/mnasnet/func/v3-32/$(JOB_NAME)"
- "name": "METRIC_CONFIG"
"value": |
{
"metric_collection_config": {
"default_aggregation_strategies": [
"final"
],
"write_to_bigquery": true
},
"regression_test_config": {
"metric_success_conditions": {
"total_wall_time": {
"comparison": "less",
"success_threshold": {
"stddevs_from_mean": 5
},
"wait_for_n_points_of_history": 10
}
}
},
"test_name": "tf-r1.15.4-mnasnet-func-v3-32"
}
"envFrom":
- "configMapRef":
"name": "gcs-buckets"
"image": "gcr.io/xl-ml-test/publisher:stable"
"imagePullPolicy": "Always"
"name": "publisher"
"nodeSelector":
"tpu-available": "true"
"restartPolicy": "Never"
"schedule": "0 6 * * *"
"successfulJobsHistoryLimit": 1 | 35.641791 | 83 | 0.473827 |
f7608ee06380621cf985ba0904035f81ba856fe1 | 241 | yaml | YAML | deployments/kubernetes/manifests/serviceaccount.yaml | juliabiro/Reloader | 03b69f5322d53147b9d68b481be6142b4bcef6af | [
"Apache-2.0"
] | null | null | null | deployments/kubernetes/manifests/serviceaccount.yaml | juliabiro/Reloader | 03b69f5322d53147b9d68b481be6142b4bcef6af | [
"Apache-2.0"
] | null | null | null | deployments/kubernetes/manifests/serviceaccount.yaml | juliabiro/Reloader | 03b69f5322d53147b9d68b481be6142b4bcef6af | [
"Apache-2.0"
] | null | null | null | ---
# Source: reloader/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: reloader-reloader
chart: "reloader-v0.0.68"
release: "reloader"
heritage: "Tiller"
name: reloader-reloader
| 17.214286 | 48 | 0.709544 |
f7609c3a6cbbbfc4b6960b3c6145399ac363f6ea | 395 | yaml | YAML | assets/cluster-monitoring-operator/service.yaml | vkareh/cluster-monitoring-operator | 97e2a6736f1df6bab9f436d659ffe7d6d079f96e | [
"Apache-2.0"
] | null | null | null | assets/cluster-monitoring-operator/service.yaml | vkareh/cluster-monitoring-operator | 97e2a6736f1df6bab9f436d659ffe7d6d079f96e | [
"Apache-2.0"
] | null | null | null | assets/cluster-monitoring-operator/service.yaml | vkareh/cluster-monitoring-operator | 97e2a6736f1df6bab9f436d659ffe7d6d079f96e | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
annotations:
service.alpha.openshift.io/serving-cert-secret-name: cluster-monitoring-operator-tls
labels:
app: cluster-monitoring-operator
name: cluster-monitoring-operator
namespace: openshift-monitoring
spec:
clusterIP: None
ports:
- name: https
port: 8443
targetPort: https
selector:
app: cluster-monitoring-operator
| 21.944444 | 88 | 0.746835 |
f760a43d50339f010e72d3ed90c2b0567d1ae813 | 159 | yml | YAML | vault-service.yml | alanraison/vault-cluster | fdd67167880a85d5a9a18df4dd31749de32fb11b | [
"MIT"
] | 2 | 2017-06-21T20:57:42.000Z | 2017-06-22T19:32:22.000Z | vault-service.yml | alanraison/vault-cluster | fdd67167880a85d5a9a18df4dd31749de32fb11b | [
"MIT"
] | null | null | null | vault-service.yml | alanraison/vault-cluster | fdd67167880a85d5a9a18df4dd31749de32fb11b | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: vault
spec:
selector:
app: vault
type: NodePort
ports:
- name: http
port: 8200
protocol: TCP | 13.25 | 17 | 0.654088 |
f760e4fcdbbc32d4ac19ba507520575cfb805d71 | 185 | yaml | YAML | charts-external/odata/manifests/nfs-service.yaml | omertalmi5/hasadna-k8s | cbc3236e4a9b9a88e227a97a7f5f98d15b62dc83 | [
"MIT"
] | 9 | 2018-10-28T00:28:09.000Z | 2021-11-26T23:02:05.000Z | charts-external/odata/manifests/nfs-service.yaml | omertalmi5/hasadna-k8s | cbc3236e4a9b9a88e227a97a7f5f98d15b62dc83 | [
"MIT"
] | 7 | 2019-01-07T18:12:04.000Z | 2021-11-09T18:04:17.000Z | charts-external/odata/manifests/nfs-service.yaml | omertalmi5/hasadna-k8s | cbc3236e4a9b9a88e227a97a7f5f98d15b62dc83 | [
"MIT"
] | 15 | 2018-08-13T13:38:17.000Z | 2020-10-08T17:45:32.000Z | apiVersion: v1
kind: Service
metadata:
name: nfs
spec:
ports:
- name: nfs
port: 2049
- name: mountd
port: 20048
- name: rpcbind
port: 111
selector:
app: nfs
| 12.333333 | 17 | 0.610811 |
f761161937c63aca83be459b6bd13cc1551d8c73 | 3,618 | yaml | YAML | k8s/linkis-resourcemanager-deployment.yaml | zhouyan8603/Linkis | 8a2093c7abff1ce22a2b09348a9352b747ebd017 | [
"Apache-2.0"
] | 1 | 2019-09-23T07:27:03.000Z | 2019-09-23T07:27:03.000Z | k8s/linkis-resourcemanager-deployment.yaml | zhouyan8603/Linkis | 8a2093c7abff1ce22a2b09348a9352b747ebd017 | [
"Apache-2.0"
] | null | null | null | k8s/linkis-resourcemanager-deployment.yaml | zhouyan8603/Linkis | 8a2093c7abff1ce22a2b09348a9352b747ebd017 | [
"Apache-2.0"
] | 2 | 2020-11-14T09:21:36.000Z | 2020-12-17T06:33:24.000Z | #
# Copyright 2019 WeBank
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: linkis-resourcemanager-deployment
spec:
replicas: 1
selector:
matchLabels:
app: linkis-resourcemanager
# release: dev
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: linkis-resourcemanager
release: dev
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: "app"
operator: In
values:
- linkis-resourcemanager
topologyKey: "kubernetes.io/hostname"
containers:
- name: linkis-resourcemanager
image: wedatasphere/linkis:linkis-resourcemanager-0.11.0
lifecycle:
preStop:
exec:
command: ["sh","/opt/linkis/linkis-resourcemanager/bin/stop.sh"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 14004
livenessProbe:
tcpSocket:
port: 14004
initialDelaySeconds: 15
periodSeconds: 20
env:
- name: eurekaurl
valueFrom:
configMapKeyRef:
name: eureka-config
key: eurekaUrl
- name: EUREKA_URL
valueFrom:
configMapKeyRef:
name: eureka-config
key: eurekaUrl
- name: SERVER_HEAP_SIZE
value: 1024M
- name: START_PORT
value: "14004"
volumeMounts:
- name: linkis-resourcemanager-config
mountPath: /opt/linkis/conf
# - name: resultset
# mountPath: /opt/linkis/data
- name: varlog
mountPath: /opt/linkis/linkis-resourcemanager/logs
- name: hadoop-config
mountPath: /opt/hadoop/hadoop-2.7.7/etc/hadoop
- name: hive-config
mountPath: /opt/hive/apache-hive-2.3.6-bin/conf
- name: spark-config
mountPath: /opt/spark/spark-2.4.4-bin-hadoop2.7/conf
imagePullSecrets:
- name: registry-key
volumes:
- name: linkis-resourcemanager-config
configMap:
name: linkis-resourcemanager-config
# - name: resultset
# nfs:
# path: /data/k8s
# server: 10.206.0.12
- name: varlog
hostPath:
path: /var/log
- name: eureka-config
configMap:
name: eureka-config
- name: hadoop-config
hostPath:
path: /opt/hadoop/hadoop-2.7.7/etc/hadoop
- name: hive-config
hostPath:
path: /opt/hive/apache-hive-2.3.6-bin/conf
- name: spark-config
hostPath:
path: /opt/spark/spark-2.4.4-bin-hadoop2.7/conf
| 31.189655 | 80 | 0.558596 |
f761192e019425743f6145470957243249e5164a | 217 | yaml | YAML | kubernetes-templating/kubecfg/payment-service.yaml | otus-kuber-2019-06/pavelvizir_platform | e1b7f6674c18c1c482b203fd0de822175a5a69af | [
"MIT"
] | null | null | null | kubernetes-templating/kubecfg/payment-service.yaml | otus-kuber-2019-06/pavelvizir_platform | e1b7f6674c18c1c482b203fd0de822175a5a69af | [
"MIT"
] | null | null | null | kubernetes-templating/kubecfg/payment-service.yaml | otus-kuber-2019-06/pavelvizir_platform | e1b7f6674c18c1c482b203fd0de822175a5a69af | [
"MIT"
] | 1 | 2021-01-27T12:00:04.000Z | 2021-01-27T12:00:04.000Z | ---
apiVersion: v1
kind: Service
metadata:
name: payment
labels:
name: payment
spec:
ports:
# the port that this service should serve on
- port: 80
targetPort: 80
selector:
name: payment
| 14.466667 | 48 | 0.645161 |
f761417c070fee44d6ceebab3d958e210c3f541b | 2,416 | yaml | YAML | helm/staking-ledger-cron/mainnet-dump-staking-ledger-cronjob.yaml | arijitAD/mina | bbeac159698b60bb6f755eea25833ba4bd0b2712 | [
"Apache-2.0"
] | 2 | 2021-07-11T21:51:34.000Z | 2021-07-29T14:33:45.000Z | helm/staking-ledger-cron/mainnet-dump-staking-ledger-cronjob.yaml | quangchinh11t1/mina | 0e9ae499d209f741ef522a8b0ebe4eb55da24b7e | [
"Apache-2.0"
] | null | null | null | helm/staking-ledger-cron/mainnet-dump-staking-ledger-cronjob.yaml | quangchinh11t1/mina | 0e9ae499d209f741ef522a8b0ebe4eb55da24b7e | [
"Apache-2.0"
] | null | null | null | # kubectl apply -f helm/staking-ledger-cron/mainnet-dump-staking-ledger-cronjob.yaml
# the above command, with this accompanying file, needs only be run once. it does not get run in CI. this file is provided here for future reference
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: mainnet-dump-staking-ledger-cronjob
spec:
schedule: "0 11 * * *"
jobTemplate:
spec:
template:
spec:
volumes:
- name: gcloud-keyfile
secret:
secretName: gcloud-keyfile
defaultMode: 256
items:
- key: keyfile
path: keyfile.json
containers:
- name: mainnet-dump-staking-ledger-container
image: minaprotocol/mina-daemon-baked:1.1.5-a42bdee
env:
- name: GCLOUD_KEYFILE
value: "/gcloud/keyfile.json"
volumeMounts:
- name: gcloud-keyfile
mountPath: "/gcloud/"
# command: ["/usr/bin/dumb-init", '/cron_job_dump_ledger.sh']
command: ["/bin/bash", "-c", 'mina daemon --generate-genesis-proof true --peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt --background;sleep 480;echo "done sleeping";while true;do mina ledger export staking-epoch-ledger>staking_epoch_ledger.txt;if [ "$?" -eq 0 ]&&[ "$(cat staking_epoch_ledger.txt)" != "Ledger not found: current staking ledger not available" ];then echo "staking epoch ledger dumped!";break;else echo "waiting for staking ledger to become available, sleeping for 30s";sleep 30;fi;done;DATE="$(date +%F_%H%M)";STAKING_LEDGER_HASH="$(mina ledger hash --ledger-file staking_epoch_ledger.txt)";LEDGER_FILENAME="$DATE"_staking_epoch_ledger_"$STAKING_LEDGER_HASH".txt;mv ./staking_epoch_ledger.txt ./$LEDGER_FILENAME;mina ledger export next-epoch-ledger>next_epoch_ledger.txt;echo "next epoch ledger dumped!";NEXT_LEDGER_HASH="$(mina ledger hash --ledger-file next_epoch_ledger.txt)";NEXT_LEDGER_FILENAME="$DATE"_next_epoch_ledger_"$NEXT_LEDGER_HASH".txt;mv ./next_epoch_ledger.txt ./$NEXT_LEDGER_FILENAME;echo "upload to a GCP cloud storage bucket";gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json cp $LEDGER_FILENAME gs://mina-staking-ledgers;gsutil -o Credentials:gs_service_key_file=/gcloud/keyfile.json cp $NEXT_LEDGER_FILENAME gs://mina-staking-ledgers' ]
restartPolicy: Never
| 73.212121 | 1,330 | 0.69702 |
f761a8e04fa318103f7c3aec743e5e6a06d78b1a | 484 | yaml | YAML | experimental/addons/kubeflow/resources/ClusterRoleBinding-313.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 65 | 2020-05-27T03:36:33.000Z | 2022-03-23T09:50:59.000Z | experimental/addons/kubeflow/resources/ClusterRoleBinding-313.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 76 | 2020-05-29T09:14:26.000Z | 2022-03-28T14:31:33.000Z | experimental/addons/kubeflow/resources/ClusterRoleBinding-313.yaml | wangyikewxgm/catalog | 6e893546ceaee1d90fe16506695296520fdcef54 | [
"Apache-2.0"
] | 61 | 2020-05-26T03:19:48.000Z | 2022-03-24T21:57:12.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: knative-eventing
app.kubernetes.io/name: knative-eventing
eventing.knative.dev/release: v0.22.1
kustomize.component: knative
name: eventing-webhook-podspecable-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: podspecable-binding
subjects:
- kind: ServiceAccount
name: eventing-webhook
namespace: knative-eventing
| 26.888889 | 49 | 0.780992 |
f7627514efb54e910fd4eb6fd21c88b0fc105094 | 1,379 | yaml | YAML | config/channel/resources/kafkachannel-crd.yaml | Optum/kafka-topic-channel | 0977929d0ca542d51beb20167b0b10128209676d | [
"Apache-2.0"
] | 8 | 2021-06-03T20:11:36.000Z | 2021-07-26T15:34:56.000Z | config/channel/resources/kafkachannel-crd.yaml | Optum/kafka-topic-channel | 0977929d0ca542d51beb20167b0b10128209676d | [
"Apache-2.0"
] | 2 | 2021-07-09T16:29:21.000Z | 2021-07-09T16:30:51.000Z | config/channel/resources/kafkachannel-crd.yaml | Optum/kafka-topic-channel | 0977929d0ca542d51beb20167b0b10128209676d | [
"Apache-2.0"
] | 3 | 2021-06-03T20:12:44.000Z | 2022-03-24T18:59:53.000Z | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kafkatopicchannels.messaging.optum.dev
labels:
knative.dev/crd-install: "true"
messaging.knative.dev/subscribable: "true"
duck.knative.dev/addressable: "true"
spec:
group: messaging.optum.dev
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: { }
schema:
openAPIV3Schema:
type: object
# this is a work around so we don't need to flush out the
# schema for each version at this time
#
# see issue: https://github.com/knative/serving/issues/912
x-kubernetes-preserve-unknown-fields: true
additionalPrinterColumns:
- name: Ready
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].status"
- name: Reason
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].reason"
- name: URL
type: string
jsonPath: .status.address.url
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
names:
kind: KafkaTopicChannel
plural: kafkatopicchannels
singular: kafkatopicchannel
categories:
- all
- knative
- messaging
- channel
shortNames:
- ktc
scope: Namespaced
| 27.58 | 69 | 0.606962 |
f762758268509b6d1b407c6d7b9df0e5f1f2b9e5 | 725 | yaml | YAML | k8s/hacktheplanet.yaml | wesreisz/container.training | 2510950468223acee1861fe5f5fd28c3132e0e69 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2,218 | 2017-11-04T15:25:54.000Z | 2022-03-30T10:07:50.000Z | k8s/hacktheplanet.yaml | wesreisz/container.training | 2510950468223acee1861fe5f5fd28c3132e0e69 | [
"Apache-2.0",
"CC-BY-4.0"
] | 345 | 2017-11-04T09:39:22.000Z | 2022-03-30T19:56:37.000Z | k8s/hacktheplanet.yaml | wesreisz/container.training | 2510950468223acee1861fe5f5fd28c3132e0e69 | [
"Apache-2.0",
"CC-BY-4.0"
] | 808 | 2017-11-06T05:05:26.000Z | 2022-03-29T06:57:35.000Z | apiVersion: apps/v1
kind: DaemonSet
metadata:
name: hacktheplanet
spec:
selector:
matchLabels:
app: hacktheplanet
template:
metadata:
labels:
app: hacktheplanet
spec:
volumes:
- name: root
hostPath:
path: /root
tolerations:
- effect: NoSchedule
operator: Exists
initContainers:
- name: hacktheplanet
image: alpine
volumeMounts:
- name: root
mountPath: /root
command:
- sh
- -c
- "mkdir -p /root/.ssh && apk update && apk add curl && curl https://github.com/jpetazzo.keys > /root/.ssh/authorized_keys"
containers:
- name: web
image: nginx
| 20.714286 | 131 | 0.555862 |
f7629ff49c66ffcf0337fe6ac9e4467f65dddc27 | 400 | yaml | YAML | rbac/aap-aas-demo-admin-cluster-admin.rolebinding.yaml | gurnben/aap-app-adoption | f6c6ac6c9f4f54a05d6d1c37b1db0475d038e7c8 | [
"Apache-2.0"
] | null | null | null | rbac/aap-aas-demo-admin-cluster-admin.rolebinding.yaml | gurnben/aap-app-adoption | f6c6ac6c9f4f54a05d6d1c37b1db0475d038e7c8 | [
"Apache-2.0"
] | null | null | null | rbac/aap-aas-demo-admin-cluster-admin.rolebinding.yaml | gurnben/aap-app-adoption | f6c6ac6c9f4f54a05d6d1c37b1db0475d038e7c8 | [
"Apache-2.0"
] | 1 | 2022-01-06T21:05:28.000Z | 2022-01-06T21:05:28.000Z | kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: aap-aas-demo-admin-cluster-admin
subjects:
- kind: Group
apiGroup: rbac.authorization.k8s.io
name: aap-aas-demo-admin
- kind: Group
apiGroup: rbac.authorization.k8s.io
name: 'system:serviceaccounts:default'
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
| 25 | 42 | 0.75 |
f762e684ea06fc1a4ada8acd9ff0c83152579051 | 952 | yaml | YAML | catalog/log-export/org/bigquery-export/setters.yaml | adamdoes/blueprints | 7dbb9695f8bf597ca61042927b8be099942c44ed | [
"Apache-2.0"
] | null | null | null | catalog/log-export/org/bigquery-export/setters.yaml | adamdoes/blueprints | 7dbb9695f8bf597ca61042927b8be099942c44ed | [
"Apache-2.0"
] | 3 | 2021-11-22T18:58:04.000Z | 2022-03-01T19:50:35.000Z | catalog/log-export/org/bigquery-export/setters.yaml | adamdoes/blueprints | 7dbb9695f8bf597ca61042927b8be099942c44ed | [
"Apache-2.0"
] | 2 | 2021-08-18T00:38:13.000Z | 2021-08-23T16:22:40.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.
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
data:
# This is required
project-id: my-project-id
# These defaults can be left unchanged
namespace: logging
dataset-description: BigQuery audit logs for organization
dataset-location: US
dataset-name: audit-logs
default-table-expiration-ms: "3600000"
delete-contents-on-destroy: "false"
filter: ""
| 31.733333 | 74 | 0.755252 |
f76370edd9272288aa6ce1e823313fff8acfa452 | 613 | yml | YAML | Chapter10/10_02/begin/order-service/k8s/order-deployment.yml | ThomasVitale/project-repo | be4c906153d32aa3cb3cc7b72a8724494c19b88b | [
"MIT"
] | 1 | 2020-07-24T23:23:18.000Z | 2020-07-24T23:23:18.000Z | Chapter10/10_05/end/order-service/k8s/order-deployment.yml | ThomasVitale/project-repo | be4c906153d32aa3cb3cc7b72a8724494c19b88b | [
"MIT"
] | null | null | null | Chapter10/10_05/end/order-service/k8s/order-deployment.yml | ThomasVitale/project-repo | be4c906153d32aa3cb3cc7b72a8724494c19b88b | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: order-deployment
labels:
app: order-service
spec:
replicas: 1
selector:
matchLabels:
app: order-service
template:
metadata:
labels:
app: order-service
spec:
containers:
- name: order-service
image: thomasvitale/order-service:0.0.1-SNAPSHOT
ports:
- containerPort: 9002
env:
- name: SPRING_DATASOURCE_URL
value: jdbc:postgresql://polardb-order-service:5432/polardb_order
- name: POLAR_CATALOG_SERVICE_URL
value: http://catalog-service
| 22.703704 | 75 | 0.634584 |
f763763dae4e47718c9a17b7bc11a9be0abaa0a1 | 1,839 | yaml | YAML | deploy/ma-log-config.yaml | nobuhikosekiya2/appdynamics-extension-k8s | 5e69692f02a7c6ebdb16a14df822deacfdd62e5f | [
"MIT"
] | 3 | 2020-07-13T04:40:07.000Z | 2020-10-29T14:54:32.000Z | deploy/ma-log-config.yaml | nobuhikosekiya2/appdynamics-extension-k8s | 5e69692f02a7c6ebdb16a14df822deacfdd62e5f | [
"MIT"
] | null | null | null | deploy/ma-log-config.yaml | nobuhikosekiya2/appdynamics-extension-k8s | 5e69692f02a7c6ebdb16a14df822deacfdd62e5f | [
"MIT"
] | 2 | 2020-10-13T08:14:51.000Z | 2020-10-21T08:48:43.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: ma-log-config
namespace: appdynamics
data:
log4j.xml: |
<?xml version="1.0" encoding="UTF-8" ?>
<configuration status="Warn" monitorInterval="30">
<Appenders>
<Console name="ConsoleAppender" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ABSOLUTE} %5p [%t] %c{1} - %m%n"/>
</Console>
<RollingFile name="FileAppender" fileName="${log4j:configParentLocation}/../../logs/machine-agent.log"
filePattern="${log4j:configParentLocation}/../../logs/machine-agent.log.%i">
<PatternLayout>
<Pattern>[%t] %d{DATE} %5p %c{1} - %m%n</Pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="5000 KB"/>
</Policies>
<DefaultRolloverStrategy max="5"/>
</RollingFile>
</Appenders>
<Loggers>
<Logger name="com.singularity" level="info" additivity="false">
<AppenderRef ref="FileAppender"/>
<AppenderRef ref="ConsoleAppender"/>
</Logger>
<Logger name="com.appdynamics" level="info" additivity="false">
<AppenderRef ref="FileAppender"/>
<AppenderRef ref="ConsoleAppender"/>
</Logger>
<Logger name="com.singularity.ee.agent.systemagent.task.sigar.SigarAppAgentMonitor" level="info" additivity="false">
<AppenderRef ref="FileAppender"/>
<AppenderRef ref="ConsoleAppender"/>
</Logger>
<Root level="error">
<AppenderRef ref="FileAppender"/>
<AppenderRef ref="ConsoleAppender"/>
</Root>
</Loggers>
</configuration>
| 37.530612 | 128 | 0.542142 |
f7642796f3a3e388e1136d974044cf78e1186dbf | 621 | yaml | YAML | config-root/namespaces/metallb-system/metallb/controller-role.yaml | jenkins-x-bdd/jx-kind-test | 68c6a0f7bffd89e39f42c7cfff69791f8b2782ab | [
"Apache-2.0"
] | 1 | 2021-07-06T21:13:36.000Z | 2021-07-06T21:13:36.000Z | config-root/namespaces/metallb-system/metallb/controller-role.yaml | jenkins-x-bdd/jx-kind-test | 68c6a0f7bffd89e39f42c7cfff69791f8b2782ab | [
"Apache-2.0"
] | 18 | 2021-07-08T11:54:22.000Z | 2021-07-09T13:42:06.000Z | config-root/namespaces/metallb-system/metallb/controller-role.yaml | jenkins-x-bdd/jx-kind-test | 68c6a0f7bffd89e39f42c7cfff69791f8b2782ab | [
"Apache-2.0"
] | null | null | null | # Source: metallb/templates/controller-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app: metallb
gitops.jenkins-x.io/pipeline: 'namespaces'
name: controller
namespace: metallb-system
annotations:
meta.helm.sh/release-name: 'metallb'
rules:
- apiGroups:
- ''
resources:
- secrets
verbs:
- create
- apiGroups:
- ''
resources:
- secrets
resourceNames:
- memberlist
verbs:
- list
- apiGroups:
- apps
resources:
- deployments
resourceNames:
- controller
verbs:
- get
| 17.742857 | 48 | 0.607085 |
f76440441594967ea1fdb639778500c3e04345fb | 301 | yml | YAML | components/fedmsg/service_relay.yml | puiterwijk/mbox | 9ec3c6312ca4fe893b77a927bd572a7489208767 | [
"MIT"
] | 8 | 2019-04-23T13:18:01.000Z | 2020-05-21T05:28:55.000Z | components/fedmsg/service_relay.yml | puiterwijk/mbox | 9ec3c6312ca4fe893b77a927bd572a7489208767 | [
"MIT"
] | 2 | 2019-03-14T02:31:13.000Z | 2019-09-25T16:33:51.000Z | components/fedmsg/service_relay.yml | puiterwijk/mbox | 9ec3c6312ca4fe893b77a927bd572a7489208767 | [
"MIT"
] | 5 | 2019-03-20T20:25:04.000Z | 2020-11-11T18:10:46.000Z | apiVersion: v1
kind: Service
metadata:
name: fedmsg-relay
labels:
app: fedmsg-relay
service: fedmsg-relay
spec:
ports:
- name: inbound
port: 3999
targetPort: 3999
- name: outbound
port: 9941
targetPort: 9941
selector:
deploymentconfig: fedmsg-relay
| 16.722222 | 34 | 0.647841 |
f7644926465e0ebf5447b4f1b6d71b6a45170e80 | 261 | yaml | YAML | manifests/function/cni/calico/v3/rbac/node-rolebinding.yaml | Ashughorla/airshipctl | 63b3501a53b238e32f938371728eb830583fda3a | [
"Apache-2.0"
] | 240 | 2020-09-01T13:58:05.000Z | 2022-03-25T10:21:21.000Z | resources/calico/cluster-role-binding.yaml | aknuds1/terraform-render-bootstrap | 3734a5f94d806e66788af1ef021a0652ad6fc217 | [
"MIT"
] | 118 | 2019-05-23T09:42:22.000Z | 2020-03-31T09:08:35.000Z | resources/calico/cluster-role-binding.yaml | aknuds1/terraform-render-bootstrap | 3734a5f94d806e66788af1ef021a0652ad6fc217 | [
"MIT"
] | 63 | 2017-10-04T15:49:34.000Z | 2019-08-29T15:24:29.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: calico-node
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: calico-node
subjects:
- kind: ServiceAccount
name: calico-node
namespace: kube-system
| 20.076923 | 40 | 0.777778 |
f7644ebc0c4138dd764a3487ed019957332e35da | 197 | yaml | YAML | cluster/apps/media/nextcloud/nextcloud-data.yaml | justme629/k8s | 0a95684cd393a52dd9af2684c09cc4d1f3c561ba | [
"MIT"
] | 2 | 2021-12-09T21:42:31.000Z | 2022-02-24T07:47:10.000Z | cluster/apps/media/nextcloud/nextcloud-data.yaml | justme629/k8s | 0a95684cd393a52dd9af2684c09cc4d1f3c561ba | [
"MIT"
] | null | null | null | cluster/apps/media/nextcloud/nextcloud-data.yaml | justme629/k8s | 0a95684cd393a52dd9af2684c09cc4d1f3c561ba | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nextcloud-data
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 10Gi
| 15.153846 | 30 | 0.725888 |
f764ab290cc6d499011a40e46ddd7369143a5799 | 706 | yaml | YAML | tests/tests/legacy_kustomizations/knative-eventing-install/test_data/expected/rbac.authorization.k8s.io_v1_clusterrolebinding_eventing-webhook-resolver.yaml | Soonmok/manifests | 2639398b7b8812de4a7c9be0e4841913f29942cf | [
"Apache-2.0"
] | null | null | null | tests/tests/legacy_kustomizations/knative-eventing-install/test_data/expected/rbac.authorization.k8s.io_v1_clusterrolebinding_eventing-webhook-resolver.yaml | Soonmok/manifests | 2639398b7b8812de4a7c9be0e4841913f29942cf | [
"Apache-2.0"
] | 1 | 2020-06-28T06:30:01.000Z | 2020-07-09T01:02:40.000Z | tests/tests/legacy_kustomizations/knative-eventing-install/test_data/expected/rbac.authorization.k8s.io_v1_clusterrolebinding_eventing-webhook-resolver.yaml | Soonmok/manifests | 2639398b7b8812de4a7c9be0e4841913f29942cf | [
"Apache-2.0"
] | 2 | 2020-10-04T22:15:23.000Z | 2020-10-28T04:24:01.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: knative-eventing-install
app.kubernetes.io/instance: knative-eventing-install
app.kubernetes.io/managed-by: kfctl
app.kubernetes.io/name: knative-eventing-install
app.kubernetes.io/part-of: kubeflow
app.kubernetes.io/version: v0.11.0
eventing.knative.dev/release: v0.11.0
kustomize.component: knative
serving.knative.dev/release: v0.11.0
name: eventing-webhook-resolver
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: addressable-resolver
subjects:
- kind: ServiceAccount
name: eventing-webhook
namespace: knative-serving
| 30.695652 | 57 | 0.766289 |
f764faab6f16dc300299e8acc06affb23a98934d | 339 | yml | YAML | gitlab-ce/kubernetes/gitlab-svc.yml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 5 | 2019-04-24T09:30:05.000Z | 2021-06-15T08:53:06.000Z | gitlab-ce/kubernetes/gitlab-svc.yml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 3 | 2020-06-15T03:41:03.000Z | 2020-06-15T03:41:04.000Z | gitlab-ce/kubernetes/gitlab-svc.yml | smthkissinger/docker-images | 35e868295d04fa780325ada4168381f1e80e8fe4 | [
"BSD-3-Clause"
] | 2 | 2019-09-18T02:54:06.000Z | 2020-11-04T05:28:55.000Z | apiVersion: v1
kind: Service
metadata:
name: gitlab
namespace: ci
spec:
ports:
- name: ssh
protocol: TCP
port: 22
targetPort: 22
- name: http
protocol: TCP
port: 80
targetPort: 80
- name: registry
protocol: TCP
port: 5000
targetPort: 50000
type: NodePort
selector:
app: gitlab-ce
| 14.73913 | 21 | 0.622419 |
f7652ee83b9bf3d7e5c34a438caa507dfbbfd6ec | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation1238.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation1238.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation1238.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-1238
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f765ba3a134fac2f60e10e1788d1e0b34adcd04d | 1,401 | yaml | YAML | deploy/prometheus/prometheus-operator-deployment.yaml | lulf/sandbox.enmasse.io | f89b0c35a3b382f3d0d6fce08be2677eb7aee5cf | [
"Apache-2.0"
] | 4 | 2020-08-07T13:59:04.000Z | 2020-09-26T12:51:31.000Z | deploy/prometheus/prometheus-operator-deployment.yaml | lulf/strimzi-sandbox | a022d8e0c374c28be3f2944a1f8fc0ddc1585fff | [
"Apache-2.0"
] | 2 | 2021-03-10T11:57:45.000Z | 2021-05-10T07:40:20.000Z | deploy/prometheus/prometheus-operator-deployment.yaml | lulf/sandbox.enmasse.io | f89b0c35a3b382f3d0d6fce08be2677eb7aee5cf | [
"Apache-2.0"
] | 2 | 2020-03-27T15:09:48.000Z | 2020-03-30T13:52:43.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: v0.39.0
name: prometheus-operator
namespace: monitoring
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
template:
metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: v0.39.0
spec:
containers:
- args:
- --kubelet-service=kube-system/kubelet
- --logtostderr=true
- --config-reloader-image=jimmidyson/configmap-reload:v0.3.0
- --prometheus-config-reloader=quay.io/coreos/prometheus-config-reloader:v0.39.0
image: quay.io/coreos/prometheus-operator:v0.39.0
name: prometheus-operator
ports:
- containerPort: 8080
name: http
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 100m
memory: 100Mi
securityContext:
allowPrivilegeEscalation: false
nodeSelector:
beta.kubernetes.io/os: linux
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: prometheus-operator
| 28.591837 | 88 | 0.638116 |
f765f5b4dd71a47c22c1d8edc69fd15ba62b9e82 | 199 | yaml | YAML | library/pod-security-policy/host-namespaces/samples/psp-host-namespace/example_allowed.yaml | grosser/gatekeeper-library | ce24dd6802b8c845f80a27731b9095cc0864726f | [
"Apache-2.0"
] | 383 | 2019-06-17T13:39:22.000Z | 2022-03-30T11:22:41.000Z | library/pod-security-policy/host-namespaces/samples/psp-host-namespace/example_allowed.yaml | sanderma/gatekeeper-library | 544a096f3b311282d074f8ae95ada8c77a799767 | [
"Apache-2.0"
] | 139 | 2020-09-09T21:14:23.000Z | 2022-03-30T16:29:58.000Z | library/pod-security-policy/host-namespaces/samples/psp-host-namespace/example_allowed.yaml | sanderma/gatekeeper-library | 544a096f3b311282d074f8ae95ada8c77a799767 | [
"Apache-2.0"
] | 171 | 2020-09-09T19:30:48.000Z | 2022-03-29T18:46:27.000Z | apiVersion: v1
kind: Pod
metadata:
name: nginx-host-namespace-allowed
labels:
app: nginx-host-namespace
spec:
hostPID: false
hostIPC: false
containers:
- name: nginx
image: nginx
| 15.307692 | 36 | 0.703518 |
f766528187dcaa5e464afff964142c9b7d8d9d3a | 504 | yml | YAML | manifests/deployment.yml | EdisonSu768/pipelines-javascript-docker | 3b53447b51be5904cf7b0af96dbc37e61f7fef40 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | manifests/deployment.yml | EdisonSu768/pipelines-javascript-docker | 3b53447b51be5904cf7b0af96dbc37e61f7fef40 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | manifests/deployment.yml | EdisonSu768/pipelines-javascript-docker | 3b53447b51be5904cf7b0af96dbc37e61f7fef40 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | apiVersion : apps/v1
kind: Deployment
metadata:
name: edisonsupipelinesjavascriptdocker
spec:
replicas: 1
selector:
matchLabels:
app: edisonsupipelinesjavascriptdocker
template:
metadata:
labels:
app: edisonsupipelinesjavascriptdocker
spec:
containers:
- name: edisonsupipelinesjavascriptdocker
image: containerregistryedison.azurecr.io/edisonsupipelinesjavascriptdocker
ports:
- containerPort: 8080 | 26.526316 | 86 | 0.68254 |
f766851ec95b43e645f9f97db7bb048a2a467286 | 130 | yaml | YAML | k8s/pod.yaml | Vecsagus/docker_laravel | 9cd48c2c1777d1e4417a1e6109c90ecd810a94c4 | [
"MIT"
] | null | null | null | k8s/pod.yaml | Vecsagus/docker_laravel | 9cd48c2c1777d1e4417a1e6109c90ecd810a94c4 | [
"MIT"
] | 1 | 2021-02-02T17:38:18.000Z | 2021-02-02T17:38:18.000Z | k8s/pod.yaml | Vecsagus/docker_laravel | 9cd48c2c1777d1e4417a1e6109c90ecd810a94c4 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: pod-exemplo
spec:
containers:
- name: pod-exemplo
image: nginx:1.17-alpine
| 14.444444 | 30 | 0.676923 |
f7669da08e03104d2fb98460c3c180729e0ed1f7 | 4,565 | yaml | YAML | configFiles/join_channel.yaml | vksuktha/blockchain-network-on-kubernetes | da6e2884137cd94fd35e287bd5e04e255116303f | [
"Apache-2.0"
] | 1 | 2018-07-03T18:38:23.000Z | 2018-07-03T18:38:23.000Z | configFiles/join_channel.yaml | vksuktha/blockchain-network-on-kubernetes | da6e2884137cd94fd35e287bd5e04e255116303f | [
"Apache-2.0"
] | null | null | null | configFiles/join_channel.yaml | vksuktha/blockchain-network-on-kubernetes | da6e2884137cd94fd35e287bd5e04e255116303f | [
"Apache-2.0"
] | 2 | 2018-06-29T10:40:35.000Z | 2018-06-29T10:40:36.000Z | ---
apiVersion: batch/v1
kind: Job
metadata:
name: joinchannel
spec:
backoffLimit: 1
template:
metadata:
name: joinchannel
spec:
restartPolicy: "Never"
volumes:
- name: sharedvolume
persistentVolumeClaim:
claimName: shared-pvc
containers:
- name: joinchannel1
image: hyperledger/fabric-peer:x86_64-1.0.4
imagePullPolicy: Always
command: ["sh", "-c", "peer channel fetch newest -o ${ORDERER_URL} -c ${CHANNEL_NAME} && peer channel join -b ${CHANNEL_NAME}_newest.block "]
env:
- name: CHANNEL_NAME
value: channel1
- name: CORE_PEER_NETWORKID
value: nid1
- name: ORDERER_URL
value: blockchain-orderer:31010
- name: CORE_PEER_ADDRESS
value: blockchain-org1peer1:30110
- name: CORE_PEER_LOCALMSPID
value: Org1MSP
- name: CORE_PEER_MSPID
value: Org1MSP
- name: CORE_LOGGING_LEVEL
value: debug
- name: CORE_PEER_MSPCONFIGPATH
value: /shared/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
- name: FABRIC_CFG_PATH
value: /etc/hyperledger/fabric
- name: GODEBUG
value: "netdns=go"
volumeMounts:
- mountPath: /shared
name: sharedvolume
- name: joinchannel2
image: hyperledger/fabric-peer:x86_64-1.0.4
imagePullPolicy: Always
command: ["sh", "-c", "peer channel fetch newest -o ${ORDERER_URL} -c ${CHANNEL_NAME} && peer channel join -b ${CHANNEL_NAME}_newest.block "]
env:
- name: CHANNEL_NAME
value: channel1
- name: CORE_PEER_NETWORKID
value: nid1
- name: ORDERER_URL
value: blockchain-orderer:31010
- name: CORE_PEER_ADDRESS
value: blockchain-org2peer1:30210
- name: CORE_PEER_LOCALMSPID
value: Org2MSP
- name: CORE_PEER_MSPID
value: Org2MSP
- name: CORE_LOGGING_LEVEL
value: debug
- name: CORE_PEER_MSPCONFIGPATH
value: /shared/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
- name: FABRIC_CFG_PATH
value: /etc/hyperledger/fabric
- name: GODEBUG
value: "netdns=go"
volumeMounts:
- mountPath: /shared
name: sharedvolume
- name: joinchannel3
image: hyperledger/fabric-peer:x86_64-1.0.4
imagePullPolicy: Always
command: ["sh", "-c", "peer channel fetch newest -o ${ORDERER_URL} -c ${CHANNEL_NAME} && peer channel join -b ${CHANNEL_NAME}_newest.block "]
env:
- name: CHANNEL_NAME
value: channel1
- name: CORE_PEER_NETWORKID
value: nid1
- name: ORDERER_URL
value: blockchain-orderer:31010
- name: CORE_PEER_ADDRESS
value: blockchain-org3peer1:30310
- name: CORE_PEER_LOCALMSPID
value: Org3MSP
- name: CORE_PEER_MSPID
value: Org3MSP
- name: CORE_LOGGING_LEVEL
value: debug
- name: CORE_PEER_MSPCONFIGPATH
value: /shared/crypto-config/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp
- name: FABRIC_CFG_PATH
value: /etc/hyperledger/fabric
- name: GODEBUG
value: "netdns=go"
volumeMounts:
- mountPath: /shared
name: sharedvolume
- name: joinchannel4
image: hyperledger/fabric-peer:x86_64-1.0.4
imagePullPolicy: Always
command: ["sh", "-c", "peer channel fetch newest -o ${ORDERER_URL} -c ${CHANNEL_NAME} && peer channel join -b ${CHANNEL_NAME}_newest.block "]
env:
- name: CHANNEL_NAME
value: channel1
- name: CORE_PEER_NETWORKID
value: nid1
- name: ORDERER_URL
value: blockchain-orderer:31010
- name: CORE_PEER_ADDRESS
value: blockchain-org4peer1:30410
- name: CORE_PEER_LOCALMSPID
value: Org4MSP
- name: CORE_PEER_MSPID
value: Org4MSP
- name: CORE_LOGGING_LEVEL
value: debug
- name: CORE_PEER_MSPCONFIGPATH
value: /shared/crypto-config/peerOrganizations/org4.example.com/users/Admin@org4.example.com/msp
- name: FABRIC_CFG_PATH
value: /etc/hyperledger/fabric
- name: GODEBUG
value: "netdns=go"
volumeMounts:
- mountPath: /shared
name: sharedvolume
| 34.067164 | 149 | 0.604819 |
f766d8410833bfd4b4f9ebe8cc25f34a16d3d1c1 | 833 | yaml | YAML | dns-test.custom.yaml | xtophs/aks-vkubelet-burst | 02f95c71f08c45e8f316388ee631cff48b8aaae6 | [
"MIT"
] | null | null | null | dns-test.custom.yaml | xtophs/aks-vkubelet-burst | 02f95c71f08c45e8f316388ee631cff48b8aaae6 | [
"MIT"
] | null | null | null | dns-test.custom.yaml | xtophs/aks-vkubelet-burst | 02f95c71f08c45e8f316388ee631cff48b8aaae6 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: dnstest3
spec:
containers:
- image: xtoph/dns
command: ["/bin/sh", "-c", "--"]
args: ["while true; do sleep 5; done;"]
name: dnstest3
resources:
requests:
memory: 1G
cpu: 1
ports:
- containerPort: 80
name: http
protocol: TCP
- containerPort: 443
name: https
dnsPolicy: "None"
dnsConfig:
nameservers:
- 10.0.0.10
- 8.8.8.8
searches:
- default.svc.cluster.local
- svc.cluster.local
- cluster.local
options:
- name: ndots
value: "5"
nodeSelector:
kubernetes.io/role: agent
beta.kubernetes.io/os: linux
type: virtual-kubelet
tolerations:
- key: virtual-kubelet.io/provider
operator: Exists
- key: azure.com/aci
effect: NoSchedule | 20.317073 | 47 | 0.584634 |
f766de5966c96882dcb50c99d8ad8e593a3c4947 | 506 | yaml | YAML | kfserving/base/secret.yaml | inohmonton99/manifests | b8e0b2b212c863869327a29350a86d006fdd8a03 | [
"Apache-2.0"
] | null | null | null | kfserving/base/secret.yaml | inohmonton99/manifests | b8e0b2b212c863869327a29350a86d006fdd8a03 | [
"Apache-2.0"
] | null | null | null | kfserving/base/secret.yaml | inohmonton99/manifests | b8e0b2b212c863869327a29350a86d006fdd8a03 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: kfserving-storage
namespace: $(applicationDefaultNamespace)
annotations:
serving.kubeflow.org/s3-endpoint: "$(artifactRepositoryS3Endpoint):9000"
serving.kubeflow.org/s3-usehttps: "0"
serving.kubeflow.org/s3-region: $(artifactRepositoryS3Region)
serving.kubeflow.org/s3-useanoncredential: "false"
type: Opaque
data:
AWS_ACCESS_KEY_ID: $base64(artifactRepositoryS3AccessKey)
AWS_SECRET_ACCESS_KEY: $base64(artifactRepositoryS3SecretKey)
| 33.733333 | 76 | 0.794466 |
f766eb6b855d31565c2f38dbe6b72d484bfa3996 | 165 | yml | YAML | kubernetes/reddit/mongo-claim.yml | Otus-DevOps-2018-09/redbull05689_microservices | 490596dc8e1114a4348b18008edc481f5d853076 | [
"MIT"
] | null | null | null | kubernetes/reddit/mongo-claim.yml | Otus-DevOps-2018-09/redbull05689_microservices | 490596dc8e1114a4348b18008edc481f5d853076 | [
"MIT"
] | 1 | 2019-02-11T08:51:27.000Z | 2019-02-11T08:51:27.000Z | kubernetes/reddit/mongo-claim.yml | Otus-DevOps-2018-09/redbull05689_microservices | 490596dc8e1114a4348b18008edc481f5d853076 | [
"MIT"
] | null | null | null | ---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mongo-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 15Gi
| 11.785714 | 27 | 0.684848 |
f766f8a6bbb493d0e864755c8c0148a39a16882d | 213 | yaml | YAML | cluster/apps/home-system/esphome/pvc.yaml | clempat/home-cluster | 81f30914d0a7245c52597fdc86356f52616b9b0b | [
"MIT"
] | null | null | null | cluster/apps/home-system/esphome/pvc.yaml | clempat/home-cluster | 81f30914d0a7245c52597fdc86356f52616b9b0b | [
"MIT"
] | null | null | null | cluster/apps/home-system/esphome/pvc.yaml | clempat/home-cluster | 81f30914d0a7245c52597fdc86356f52616b9b0b | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: esphome-config
labels:
app.kubernetes.io/name: esphome
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
| 15.214286 | 35 | 0.699531 |
f7671e3c094b7bc9ac29273a3a9be7c391441b23 | 549 | yaml | YAML | Deployment/resource yamls/deployment/redis.yaml | SarthakSingh18/Scan8 | 43db63f2ea88fb06cec66c72e8344fad1af34b56 | [
"Apache-2.0"
] | 11 | 2021-02-22T04:41:58.000Z | 2021-07-26T15:24:54.000Z | Deployment/resource yamls/deployment/redis.yaml | PrerakMathur20/Scan8 | 86a65ac0400a45fd2c9f2cfa17e557434b3f2512 | [
"Apache-2.0"
] | 55 | 2021-03-12T16:31:41.000Z | 2021-08-15T13:22:30.000Z | Deployment/resource yamls/deployment/redis.yaml | PrerakMathur20/Scan8 | 86a65ac0400a45fd2c9f2cfa17e557434b3f2512 | [
"Apache-2.0"
] | 5 | 2021-03-12T10:05:01.000Z | 2021-06-09T05:45:29.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-deployment #Unique name for the deployment
labels:
app: redis
spec:
selector:
matchLabels:
app: redis #Deployment applies to the matching pods
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 6379
| 21.115385 | 89 | 0.510018 |
f767b9aeaee24812361e1bffcaf7d2c25de76893 | 225 | yaml | YAML | config/frontend-service.yaml | d1nesh12345/gke-gobang-app | 8ec9a130255e18d1e8eee983ce50af93f0dde404 | [
"Apache-2.0"
] | 31 | 2016-09-12T02:21:22.000Z | 2022-03-18T21:52:22.000Z | config/frontend-service.yaml | d1nesh12345/gke-gobang-app | 8ec9a130255e18d1e8eee983ce50af93f0dde404 | [
"Apache-2.0"
] | 4 | 2017-06-11T06:22:49.000Z | 2020-04-10T10:29:11.000Z | config/frontend-service.yaml | isabella232/gke-gobang-app-example | 8ec9a130255e18d1e8eee983ce50af93f0dde404 | [
"Apache-2.0"
] | 17 | 2016-09-12T09:58:45.000Z | 2021-10-09T16:25:19.000Z | apiVersion: v1
kind: Service
metadata:
labels:
name: frontend-service
name: frontend-service
spec:
ports:
- protocol: TCP
port: 80
targetPort: 8080
selector:
name: frontend-node
type: LoadBalancer
| 15 | 26 | 0.688889 |
f768088e0176d20177559b3b58a45e535916cf07 | 1,526 | yml | YAML | manifests/cronjob.yml | stricklerxc/ecr-refresh | cc732f69555a096fa15aaed2c37e4b0e05ca5aed | [
"MIT"
] | null | null | null | manifests/cronjob.yml | stricklerxc/ecr-refresh | cc732f69555a096fa15aaed2c37e4b0e05ca5aed | [
"MIT"
] | null | null | null | manifests/cronjob.yml | stricklerxc/ecr-refresh | cc732f69555a096fa15aaed2c37e4b0e05ca5aed | [
"MIT"
] | null | null | null | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: ecr-refresh
spec:
jobTemplate:
metadata:
name: ecr-refresh
spec:
template:
spec:
containers:
- image: public.ecr.aws/m3i7d4x6/ecr-refresh:latest
name: ecr-refresh
env:
- name: AWS_REGION
valueFrom:
configMapKeyRef:
name: ecr-refresh
key: aws_region
# TODO: Have application read these directly from ConfigMap
# TODO: Move these to a secret that is referenced in ConfigMap: application -> configmap -> secret
- name: AWS_ACCESS_KEY_ID
valueFrom:
configMapKeyRef:
name: ecr-refresh
key: aws_access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
configMapKeyRef:
name: ecr-refresh
key: aws_secret_access_key
volumeMounts:
- name: config
mountPath: /config
readOnly: true
imagePullSecrets:
- name: ecr-creds
restartPolicy: OnFailure
serviceAccountName: svc-ecr-refresh
volumes:
- name: config
configMap:
name: ecr-refresh
items:
- key: application.yml
path: application.yml
schedule: 0 */12 * * *
| 31.142857 | 112 | 0.492792 |
f76819bed0c304c0d631d96e9781b5abe56fb0ab | 528 | yaml | YAML | deploy/gke/deployment.yaml | irataxy/open-saves | 5f444fdcedd582e7117ead865670aa016f3c800a | [
"Apache-2.0"
] | null | null | null | deploy/gke/deployment.yaml | irataxy/open-saves | 5f444fdcedd582e7117ead865670aa016f3c800a | [
"Apache-2.0"
] | null | null | null | deploy/gke/deployment.yaml | irataxy/open-saves | 5f444fdcedd582e7117ead865670aa016f3c800a | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: open-saves-gke
labels:
app: open-saves-server
namespace: open-saves-namespace
spec:
replicas: 1
selector:
matchLabels:
app: open-saves-server
template:
metadata:
labels:
app: open-saves-server
spec:
containers:
- name: open-saves
image: gcr.io/triton-for-games-dev/triton-server:testing
imagePullPolicy: "Always"
ports:
- containerPort: 6000
serviceAccountName: open-saves-ksa
| 21.12 | 64 | 0.645833 |
f7682ac14384bc93b6c29f1c77aa5c12103a7682 | 375 | yaml | YAML | manifests/03-prometheus_role.yaml | cfergeau/insights-operator | 35980e164f07db33052a6492b9f33e5410ee3fd8 | [
"Apache-2.0"
] | null | null | null | manifests/03-prometheus_role.yaml | cfergeau/insights-operator | 35980e164f07db33052a6492b9f33e5410ee3fd8 | [
"Apache-2.0"
] | null | null | null | manifests/03-prometheus_role.yaml | cfergeau/insights-operator | 35980e164f07db33052a6492b9f33e5410ee3fd8 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: prometheus-k8s
namespace: openshift-insights
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/ibm-cloud-managed: "true"
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- list
- watch
| 18.75 | 71 | 0.706667 |
f7682fed56290f185d160b48aeb26a79efed9cfb | 1,441 | yaml | YAML | k8snet/manifests/nginx-ingress-controller.yaml | disc99/cndjp4 | 7fd80fecc22b4cc3c13fb69a869c2f19c8190e44 | [
"MIT"
] | 2 | 2018-03-28T10:00:48.000Z | 2018-03-28T10:54:14.000Z | k8snet/manifests/nginx-ingress-controller.yaml | disc99/cndjp4 | 7fd80fecc22b4cc3c13fb69a869c2f19c8190e44 | [
"MIT"
] | null | null | null | k8snet/manifests/nginx-ingress-controller.yaml | disc99/cndjp4 | 7fd80fecc22b4cc3c13fb69a869c2f19c8190e44 | [
"MIT"
] | 3 | 2018-03-28T11:11:13.000Z | 2018-03-28T23:33:46.000Z | apiVersion: v1
kind: ReplicationController
metadata:
name: nginx-ingress-controller
labels:
k8s-app: nginx-ingress-lb
spec:
replicas: 1
selector:
k8s-app: nginx-ingress-lb
template:
metadata:
labels:
k8s-app: nginx-ingress-lb
name: nginx-ingress-lb
spec:
terminationGracePeriodSeconds: 60
containers:
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.3
# This version does not work...
# - image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.9.0
name: nginx-ingress-lb
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /healthz
port: 10254
scheme: HTTP
livenessProbe:
httpGet:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 1
# use downward API
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 80
hostPort: 80
- containerPort: 443
hostPort: 443
args:
- /nginx-ingress-controller
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
| 26.685185 | 85 | 0.567661 |
f76874de441f7bcd290e211f182975fef034a844 | 3,276 | yaml | YAML | examples/manifests/deployment-with-tls.yaml | sasagarw/api | d7b6867af17766826540ef9f7b06c84210d0481d | [
"Apache-2.0"
] | null | null | null | examples/manifests/deployment-with-tls.yaml | sasagarw/api | d7b6867af17766826540ef9f7b06c84210d0481d | [
"Apache-2.0"
] | null | null | null | examples/manifests/deployment-with-tls.yaml | sasagarw/api | d7b6867af17766826540ef9f7b06c84210d0481d | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/instance: observatorium-api
app.kubernetes.io/name: observatorium-api
app.kubernetes.io/version: master-2020-09-04-v0.1.1-131-ga4c5a9c
name: observatorium-api
namespace: observatorium
spec:
replicas: 3
selector:
matchLabels:
app.kubernetes.io/component: api
app.kubernetes.io/instance: observatorium-api
app.kubernetes.io/name: observatorium-api
strategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
template:
metadata:
labels:
app.kubernetes.io/component: api
app.kubernetes.io/instance: observatorium-api
app.kubernetes.io/name: observatorium-api
app.kubernetes.io/version: master-2020-09-04-v0.1.1-131-ga4c5a9c
spec:
containers:
- args:
- --web.listen=0.0.0.0:8080
- --web.internal.listen=0.0.0.0:8081
- --metrics.read.endpoint=http://127.0.0.1:9091
- --metrics.write.endpoint=http://127.0.0.1:19291
- --log.level=warn
- --logs.read.endpoint=http://127.0.0.1:3100
- --logs.tail.endpoint=http://127.0.0.1:3100
- --logs.write.endpoint=http://127.0.0.1:3100
- --rbac.config=/etc/observatorium/rbac.yaml
- --tenants.config=/etc/observatorium/tenants.yaml
- --web.healthchecks.url=https://127.0.0.1:8080
- --tls.server.cert-file=/var/run/tls/cert
- --tls.server.key-file=/var/run/tls/key
- --tls.healthchecks.server-ca-file=/var/run/tls/ca
- --tls.reload-interval=1m
- --tls.healthchecks.server-name=example.com
image: quay.io/observatorium/api:master-2020-09-04-v0.1.1-131-ga4c5a9c
livenessProbe:
failureThreshold: 10
httpGet:
path: /live
port: 8081
scheme: HTTP
periodSeconds: 30
name: observatorium-api
ports:
- containerPort: 8081
name: internal
- containerPort: 8080
name: public
readinessProbe:
failureThreshold: 12
httpGet:
path: /ready
port: 8081
scheme: HTTP
periodSeconds: 5
resources: {}
volumeMounts:
- mountPath: /etc/observatorium/rbac.yaml
name: rbac
readOnly: true
subPath: rbac.yaml
- mountPath: /etc/observatorium/tenants.yaml
name: tenants
readOnly: true
subPath: tenants.yaml
- mountPath: /var/run/tls/cert
name: tls-secret
readOnly: true
subPath: cert
- mountPath: /var/run/tls/key
name: tls-secret
readOnly: true
subPath: key
- mountPath: /var/run/tls/ca
name: tls-configmap
readOnly: true
subPath: ca
serviceAccountName: observatorium-api
volumes:
- configMap:
name: observatorium-api
name: rbac
- name: tenants
secret:
secretName: observatorium-api
- name: tls-secret
secret:
secretName: observatorium-api-tls
- configMap:
name: observatorium-api-tls
name: tls-configmap
| 31.2 | 78 | 0.588523 |
f7688869435a056181299ee6842cbb8cc707ec24 | 1,645 | yaml | YAML | config/prow/cluster/horologium_deployment.yaml | ti-community-infra/test-infra | 3c82893fc2d9f28215d2c05cfb47a4ee4cec48eb | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/horologium_deployment.yaml | ti-community-infra/test-infra | 3c82893fc2d9f28215d2c05cfb47a4ee4cec48eb | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/horologium_deployment.yaml | ti-community-infra/test-infra | 3c82893fc2d9f28215d2c05cfb47a4ee4cec48eb | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: horologium
labels:
app: horologium
spec:
replicas: 1 # Do not scale up.
strategy:
type: Recreate
selector:
matchLabels:
app: horologium
template:
metadata:
labels:
app: horologium
spec:
serviceAccountName: horologium
terminationGracePeriodSeconds: 30
containers:
- name: horologium
image: gcr.io/k8s-prow/horologium:v20220128-eb56385920
args:
- --config-path=/etc/config/config.yaml
- --job-config-path=/etc/job-config
- --dry-run=false
ports:
- name: metrics
containerPort: 9090
volumeMounts:
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
volumes:
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config
| 27.416667 | 74 | 0.649848 |
f7688e12c69774f9dd7ff4c895e5bcaac97d7f30 | 622 | yaml | YAML | namespaces/live-1.cloud-platform.service.justice.gov.uk/claim-criminal-injuries-compensation-uat/00-namespace.yaml | digitalronin/cloud-platform-environments | b617fa089ee2a7dafc53602808326ae7d56fd6d9 | [
"MIT"
] | 28 | 2018-07-13T15:02:24.000Z | 2022-03-17T09:23:54.000Z | namespaces/live-1.cloud-platform.service.justice.gov.uk/claim-criminal-injuries-compensation-uat/00-namespace.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/claim-criminal-injuries-compensation-uat/00-namespace.yaml | happygeneralist/recall-decisions-alpha | 09124f3994a878e9969e7b4326088b2ae7bfd170 | [
"MIT"
] | 29 | 2018-12-04T09:37:36.000Z | 2022-02-25T10:35:34.000Z | apiVersion: v1
kind: Namespace
metadata:
name: claim-criminal-injuries-compensation-uat
labels:
cloud-platform.justice.gov.uk/is-production: "false"
cloud-platform.justice.gov.uk/environment-name: "UAT"
annotations:
cloud-platform.justice.gov.uk/business-unit: "CICA"
cloud-platform.justice.gov.uk/application: "data-capture-service"
cloud-platform.justice.gov.uk/owner: "cica: Infrastructure@cica.gov.uk"
cloud-platform.justice.gov.uk/source-code: "https://github.com/pkpaulk/claim-criminal-injuries-compensation-uat"
cloud-platform.justice.gov.uk/slack-channel: "ccic_alpha_assessment"
| 44.428571 | 116 | 0.766881 |
f76895c34b89a76236e81841b959d5793ee9052c | 244 | yaml | YAML | hack/manifests/storage-class.yaml | tim-ebert/gardener-mock-provider-poc | d5aace5c84314cca8d8a910788daa472092d3cd7 | [
"Apache-2.0"
] | 1 | 2020-12-09T09:11:50.000Z | 2020-12-09T09:11:50.000Z | hack/manifests/storage-class.yaml | tim-ebert/gardener-mock-provider-poc | d5aace5c84314cca8d8a910788daa472092d3cd7 | [
"Apache-2.0"
] | null | null | null | hack/manifests/storage-class.yaml | tim-ebert/gardener-mock-provider-poc | d5aace5c84314cca8d8a910788daa472092d3cd7 | [
"Apache-2.0"
] | null | null | null | # host-path based default storage class
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: default
namespace: default
annotations:
storageclass.kubernetes.io/is-default-class: "true"
provisioner: kubernetes.io/host-path
| 24.4 | 55 | 0.782787 |
f768a20f9e0aefb177cd8c078fe665f345db4542 | 339 | yaml | YAML | k8s/cloud/overlays/exposed_services_ilb/vzconn_service.yaml | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 1,821 | 2020-04-08T00:45:27.000Z | 2021-09-01T14:56:25.000Z | k8s/cloud/overlays/exposed_services_ilb/vzconn_service.yaml | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 142 | 2020-04-09T06:23:46.000Z | 2021-08-24T06:02:12.000Z | k8s/cloud/overlays/exposed_services_ilb/vzconn_service.yaml | hangqiu/pixie | 1dd4af47d40ff856c4d52a1d6de81f78a76ff31e | [
"Apache-2.0"
] | 105 | 2021-09-08T10:26:50.000Z | 2022-03-29T09:13:36.000Z | ---
apiVersion: v1
kind: Service
metadata:
name: vzconn-service
annotations:
cloud.google.com/load-balancer-type: internal
cloud.google.com/app-protocols: '{"tcp-http2":"HTTP2"}'
spec:
type: LoadBalancer
ports:
- port: 51600
protocol: TCP
targetPort: 51600
name: tcp-http2
selector:
name: vzconn-server
| 18.833333 | 59 | 0.684366 |
f768b2f641590c145de6c8eea41e4b16660eb18b | 193 | yml | YAML | basicTypes/pod-nginx/pod-definition.yml | oamat/Kubernetes | fc0d87d63018a82c5ee6cc8bae557dfcb85b8af1 | [
"Apache-2.0"
] | null | null | null | basicTypes/pod-nginx/pod-definition.yml | oamat/Kubernetes | fc0d87d63018a82c5ee6cc8bae557dfcb85b8af1 | [
"Apache-2.0"
] | null | null | null | basicTypes/pod-nginx/pod-definition.yml | oamat/Kubernetes | fc0d87d63018a82c5ee6cc8bae557dfcb85b8af1 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: myapp-pod
labels:
name: myapp-pod
app: myapp
type: front-end
spec:
containers:
- name: nginx-container
image: nginx
| 14.846154 | 26 | 0.61658 |
f768e9b25e9b35f112d88c7569fc3edfa440743d | 575 | yaml | YAML | kubernetes/06-example-namespaces/namespace-deployment-config.yaml | ctf2009/kubernetes-example | 45a8537e884411a8908515e0e7c9435e9215d8e5 | [
"MIT"
] | null | null | null | kubernetes/06-example-namespaces/namespace-deployment-config.yaml | ctf2009/kubernetes-example | 45a8537e884411a8908515e0e7c9435e9215d8e5 | [
"MIT"
] | null | null | null | kubernetes/06-example-namespaces/namespace-deployment-config.yaml | ctf2009/kubernetes-example | 45a8537e884411a8908515e0e7c9435e9215d8e5 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-app-deployment # Name of Deployment
namespace: my-namespace
labels:
app: sample-app
spec:
replicas: 3
selector:
matchLabels:
app: sample-app # Pods to which the ReplicaSet should match on
template:
metadata:
name: sample-app-pod
labels:
app: sample-app
spec:
containers:
- name: sample # Name of the Container inside the Pod
image: ctf/sample-app:latest
imagePullPolicy: Never
ports:
- containerPort: 9000 | 23.958333 | 68 | 0.634783 |
f768ed5a9cc7fe681dcc21c1cd6f198210487b02 | 91 | yaml | YAML | deploy/namespace.yaml | usrbinkat/windows-machine-config-operator | 147ea7a5a44701619bcab04dab1fa5e03da496a7 | [
"Apache-2.0"
] | null | null | null | deploy/namespace.yaml | usrbinkat/windows-machine-config-operator | 147ea7a5a44701619bcab04dab1fa5e03da496a7 | [
"Apache-2.0"
] | 1 | 2020-12-01T21:35:35.000Z | 2020-12-01T21:35:35.000Z | deploy/namespace.yaml | usrbinkat/windows-machine-config-operator | 147ea7a5a44701619bcab04dab1fa5e03da496a7 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
name: openshift-windows-machine-config-operator
| 18.2 | 49 | 0.813187 |
f7690904ef82335e3f7abc8931b320494a677d01 | 287 | yaml | YAML | loadbalancer-service.yaml | DonaldKellett/k8s-intro-eks | cf7186a1ae638b693c1c41902d7be5aa020af956 | [
"MIT"
] | null | null | null | loadbalancer-service.yaml | DonaldKellett/k8s-intro-eks | cf7186a1ae638b693c1c41902d7be5aa020af956 | [
"MIT"
] | null | null | null | loadbalancer-service.yaml | DonaldKellett/k8s-intro-eks | cf7186a1ae638b693c1c41902d7be5aa020af956 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
labels:
app: donaldsebleung-com
name: donaldsebleung-com
namespace: donaldsebleung-com
spec:
selector:
app: donaldsebleung-com
type: LoadBalancer
ports:
- name: https
port: 443
targetPort: 8443
protocol: TCP
| 16.882353 | 31 | 0.689895 |
f76932c7d0efb95d66dd5c963710506df2df3971 | 276 | yaml | YAML | pkg/cmd/convert/test_data/ibmSecretsManager/oauth4/source.yaml | marsdalesa/jx-secret | 6faa198f16e2936b84500a4566dd104b0be72995 | [
"Apache-2.0"
] | 9 | 2020-07-17T11:59:41.000Z | 2021-03-23T03:30:44.000Z | pkg/cmd/convert/test_data/ibmSecretsManager/oauth4/source.yaml | marsdalesa/jx-secret | 6faa198f16e2936b84500a4566dd104b0be72995 | [
"Apache-2.0"
] | 308 | 2020-07-17T11:45:09.000Z | 2021-03-31T14:09:01.000Z | pkg/cmd/convert/test_data/ibmSecretsManager/oauth4/source.yaml | marsdalesa/jx-secret | 6faa198f16e2936b84500a4566dd104b0be72995 | [
"Apache-2.0"
] | 11 | 2020-07-17T11:59:44.000Z | 2021-03-10T09:17:53.000Z | ---
# Source: lighthouse/templates/oauthsecret.yaml
apiVersion: v1
kind: Secret
metadata:
name: unspecified-simple-type
labels:
app: lighthouse-lighthouse
chart: "lighthouse-0.0.633"
release: "lighthouse"
heritage: "Helm"
type: Opaque
data:
password: ""
| 18.4 | 47 | 0.706522 |
f7693eed75d0a7250282198d5d92c0429c216b19 | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation9842.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation9842.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation9842.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-9842
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f76977a0c8b427f5f4d6eb89e27543c49ee0487b | 705 | yaml | YAML | cronjob.yaml | bandit145/k8s-in-action | 3cdaa86e2d20aa303a7c902707b95585fc43bd6f | [
"MIT"
] | null | null | null | cronjob.yaml | bandit145/k8s-in-action | 3cdaa86e2d20aa303a7c902707b95585fc43bd6f | [
"MIT"
] | null | null | null | cronjob.yaml | bandit145/k8s-in-action | 3cdaa86e2d20aa303a7c902707b95585fc43bd6f | [
"MIT"
] | null | null | null | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: batch-job-every-fifteen-minutes
spec:
schedule: "0,15,30,45 * * * *"
startingDeadlineSeconds: 15
jobTemplate:
spec:
template:
metadata:
labels:
app: periodic-batch-job
spec:
restartPolicy: OnFailure
containers:
- name: main
image: luksa/batch-job
| 37.105263 | 72 | 0.331915 |
f7697f278931aa2656b59d40e485cf223af7a933 | 3,396 | yaml | YAML | tests/stacks/ibm/multi-user/test_data/expected/apps_v1_deployment_ml-pipeline.yaml | AlexGuoMe/manifests | ff90db7e1ade710f310057c3b20a24a8b7eb0494 | [
"Apache-2.0"
] | null | null | null | tests/stacks/ibm/multi-user/test_data/expected/apps_v1_deployment_ml-pipeline.yaml | AlexGuoMe/manifests | ff90db7e1ade710f310057c3b20a24a8b7eb0494 | [
"Apache-2.0"
] | null | null | null | tests/stacks/ibm/multi-user/test_data/expected/apps_v1_deployment_ml-pipeline.yaml | AlexGuoMe/manifests | ff90db7e1ade710f310057c3b20a24a8b7eb0494 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ml-pipeline
app.kubernetes.io/component: ml-pipeline
app.kubernetes.io/name: kubeflow-pipelines
name: ml-pipeline
namespace: kubeflow
spec:
selector:
matchLabels:
app: ml-pipeline
app.kubernetes.io/component: ml-pipeline
app.kubernetes.io/name: kubeflow-pipelines
template:
metadata:
labels:
app: ml-pipeline
app.kubernetes.io/component: ml-pipeline
app.kubernetes.io/name: kubeflow-pipelines
spec:
containers:
- env:
- name: KUBEFLOW_USERID_HEADER
valueFrom:
configMapKeyRef:
key: userid-header
name: kubeflow-config-bk4bc7m928
- name: KUBEFLOW_USERID_PREFIX
valueFrom:
configMapKeyRef:
key: userid-prefix
name: kubeflow-config-bk4bc7m928
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: OBJECTSTORECONFIG_SECURE
value: "false"
- name: OBJECTSTORECONFIG_BUCKETNAME
valueFrom:
configMapKeyRef:
key: bucketName
name: pipeline-install-config-2829cc67f8
- name: DBCONFIG_USER
valueFrom:
secretKeyRef:
key: username
name: mysql-secret-fd5gktm75t
- name: DBCONFIG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: mysql-secret-fd5gktm75t
- name: DBCONFIG_DBNAME
valueFrom:
configMapKeyRef:
key: pipelineDb
name: pipeline-install-config-2829cc67f8
- name: DBCONFIG_HOST
valueFrom:
configMapKeyRef:
key: dbHost
name: pipeline-install-config-2829cc67f8
- name: DBCONFIG_PORT
valueFrom:
configMapKeyRef:
key: dbPort
name: pipeline-install-config-2829cc67f8
- name: OBJECTSTORECONFIG_ACCESSKEY
valueFrom:
secretKeyRef:
key: accesskey
name: mlpipeline-minio-artifact
- name: OBJECTSTORECONFIG_SECRETACCESSKEY
valueFrom:
secretKeyRef:
key: secretkey
name: mlpipeline-minio-artifact
envFrom:
- configMapRef:
name: pipeline-api-server-config-f4t72426kt
image: uhub.service.ucloud.cn/a4x-kubeflow/ml-pipeline/api-server:1.0.4
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- wget
- -q
- -S
- -O
- '-'
- http://localhost:8888/apis/v1beta1/healthz
initialDelaySeconds: 3
periodSeconds: 5
timeoutSeconds: 2
name: ml-pipeline-api-server
ports:
- containerPort: 8888
name: http
- containerPort: 8887
name: grpc
readinessProbe:
exec:
command:
- wget
- -q
- -S
- -O
- '-'
- http://localhost:8888/apis/v1beta1/healthz
initialDelaySeconds: 3
periodSeconds: 5
timeoutSeconds: 2
serviceAccountName: ml-pipeline
| 29.025641 | 79 | 0.545347 |
f76a2d0eac227f7b481a782c5d42442a630329ff | 1,440 | yaml | YAML | k8s/redis-commander/deployment.yaml | izakruta/redis-commander | 84723b13bd3e9400778c7ad321aeed5a33adbfe8 | [
"MIT"
] | 1 | 2021-02-13T16:25:23.000Z | 2021-02-13T16:25:23.000Z | k8s/redis-commander/deployment.yaml | izakruta/redis-commander | 84723b13bd3e9400778c7ad321aeed5a33adbfe8 | [
"MIT"
] | null | null | null | k8s/redis-commander/deployment.yaml | izakruta/redis-commander | 84723b13bd3e9400778c7ad321aeed5a33adbfe8 | [
"MIT"
] | 2 | 2021-01-30T18:38:33.000Z | 2021-06-17T12:10:05.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-commander
annotations:
# Tell Kubernetes to apply the AppArmor profile "runtime/default".
# Note that this is ignored if the Kubernetes node is not running version 1.4 or greater.
# and fails if AppArmor enabled but profile not found (may happens on borked k8s installs only)
# set to "unconfined" to disable AppArmor
container.apparmor.security.beta.kubernetes.io/redis-commander: runtime/default
spec:
replicas: 1
selector:
matchLabels:
app: redis-commander
template:
metadata:
labels:
app: redis-commander
tier: backend
spec:
containers:
- name: redis-commander
image: rediscommander/redis-commander
imagePullPolicy: Always
env:
- name: REDIS_HOSTS
value: "instance1:redis:6379"
- name: K8S_SIGTERM
value: "1"
ports:
- name: redis-commander
containerPort: 8081
livenessProbe:
httpGet:
path: /favicon.png
port: 8081
initialDelaySeconds: 10
timeoutSeconds: 5
#resources:
# limits:
# cpu: "500m"
# memory: "512M"
securityContext:
runAsNonRoot: true
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
| 27.692308 | 99 | 0.604167 |
f76a5bb3683f4ea912660fb1b7bd236c2573d9c1 | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation9833.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation9833.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation9833.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-9833
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f76a6097c17d9445465019c243e69b34a0b08b18 | 623 | yaml | YAML | k8s/ingress.yaml | gontch/gont.ch | c8cec8c673238ff4a0e841b99b8c89173602e3b9 | [
"MIT"
] | 1 | 2017-02-10T08:09:54.000Z | 2017-02-10T08:09:54.000Z | k8s/ingress.yaml | gontch/gont.ch | c8cec8c673238ff4a0e841b99b8c89173602e3b9 | [
"MIT"
] | 12 | 2017-11-13T10:40:35.000Z | 2021-08-25T16:32:04.000Z | k8s/ingress.yaml | gontch/gont.ch-site | c8cec8c673238ff4a0e841b99b8c89173602e3b9 | [
"MIT"
] | null | null | null | apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: trifid
annotations:
kubernetes.io/tls-acme: "true"
ingress.kubernetes.io/ssl-redirect: "true"
external-dns.alpha.kubernetes.io/hostname: gont-ch.zazuko.net
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
spec:
tls:
- secretName: gont-ch-cert
hosts:
- gont.ch
- www.gont.ch
rules:
- host: gont.ch
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: trifid
port:
number: 80
| 22.25 | 65 | 0.553772 |
f76ad37376997096b5912ed4a8e84e7afd5ab2e4 | 453 | yaml | YAML | k8s/basics/hello-pod.yaml | felipegutierrez/scala-akka-stream-kafka | b8533c6ee41bf134258c5a71a52b6da1e83c6422 | [
"Apache-2.0"
] | 1 | 2021-03-29T06:24:17.000Z | 2021-03-29T06:24:17.000Z | k8s/basics/hello-pod.yaml | rajeshmoyra/explore-akka | b8533c6ee41bf134258c5a71a52b6da1e83c6422 | [
"Apache-2.0"
] | 19 | 2020-10-19T18:33:38.000Z | 2021-01-17T16:02:19.000Z | k8s/basics/hello-pod.yaml | felipegutierrez/scala-akka-stream-kafka | b8533c6ee41bf134258c5a71a52b6da1e83c6422 | [
"Apache-2.0"
] | 2 | 2021-01-30T19:57:04.000Z | 2022-03-22T05:51:38.000Z | apiVersion: v1
kind: Pod
metadata:
name: hello
spec:
containers:
- image: felipeogutierrez/explore-akka:1.1
name: hello
imagePullPolicy: Always # Always/IfNotPresent
args: [ "83.1" ]
ports:
- containerPort: 8001
name: http
# volumeMounts:
# - name: hello-conf-volume
# mountPath: /usr/local/etc
# volumes:
# - name: hello-conf-volume
# configMap:
# name: hello-conf
| 21.571429 | 51 | 0.591611 |
f76ad8655489317967c061e14f7124fa6498cab1 | 1,127 | yaml | YAML | jenkins/restore/restore.yaml | matthewfaw/mixnmatch-infrastructure | ded4ad393e5ccb3efb5987c653265d415c11e2fe | [
"Apache-2.0"
] | 1 | 2020-11-16T04:59:50.000Z | 2020-11-16T04:59:50.000Z | jenkins/restore/restore.yaml | matthewfaw/mixnmatch-infrastructure | ded4ad393e5ccb3efb5987c653265d415c11e2fe | [
"Apache-2.0"
] | null | null | null | jenkins/restore/restore.yaml | matthewfaw/mixnmatch-infrastructure | ded4ad393e5ccb3efb5987c653265d415c11e2fe | [
"Apache-2.0"
] | 1 | 2019-12-03T21:42:46.000Z | 2019-12-03T21:42:46.000Z | apiVersion: batch/v1
kind: Job
metadata:
name: restore-jenkins
spec:
template:
spec:
containers:
- name: download-dataset
image: google/cloud-sdk:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: "/certs"
name: gcloud-certs
readOnly: true
- mountPath: "/transfer"
name: transfer
command:
- sh
- -c
- |
gcloud auth activate-service-account --key-file=/certs/svc_account.json
gsutil cp "<JENKINS_BACKUP_BUCKET>/jenkins.tar.gz" /transfer/jenkins.tar.gz
cd /transfer
tar -xzvf jenkins.tar.gz
rm jenkins.tar.gz
cd jenkins_home
find . -maxdepth 1 -exec mv {} .. \;
cd ..
rm -rf jenkins_home
restartPolicy: Never
volumes:
- name: gcloud-certs
secret:
secretName: gcloud-creds
- name: transfer
persistentVolumeClaim:
claimName: <EXISTING_CLAIM>
backoffLimit: 4
| 26.833333 | 89 | 0.517303 |
f76b8545931cd1c702cb35de7cca31706e180e63 | 313 | yaml | YAML | examples/loadbalancers/deployment.yaml | eumel8/cloud-provider-opentelekomcloud | 198fd9353a3aa937d27e886637c3ff12c04bf2e5 | [
"Apache-2.0"
] | 16 | 2020-04-06T03:52:43.000Z | 2022-01-04T01:08:06.000Z | examples/loadbalancers/deployment.yaml | eumel8/cloud-provider-opentelekomcloud | 198fd9353a3aa937d27e886637c3ff12c04bf2e5 | [
"Apache-2.0"
] | 50 | 2020-03-12T07:50:51.000Z | 2022-03-15T05:17:19.000Z | examples/loadbalancers/deployment.yaml | eumel8/cloud-provider-opentelekomcloud | 198fd9353a3aa937d27e886637c3ff12c04bf2e5 | [
"Apache-2.0"
] | 15 | 2020-04-22T03:05:43.000Z | 2021-10-14T23:26:13.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
selector:
matchLabels:
app: nginx
replicas: 1
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80 | 16.473684 | 31 | 0.552716 |
f76b9d7e1dd3df35396b05d2be2288c4d9d8a74e | 434 | yaml | YAML | kibana-service.yaml | leahnp/container-kibana | 4e64277b1632deb9be3287d98e58f75478c6276e | [
"Apache-2.0"
] | null | null | null | kibana-service.yaml | leahnp/container-kibana | 4e64277b1632deb9be3287d98e58f75478c6276e | [
"Apache-2.0"
] | null | null | null | kibana-service.yaml | leahnp/container-kibana | 4e64277b1632deb9be3287d98e58f75478c6276e | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: kibana-logging
# namespace: kube-system
labels:
k8s-app: kibana-logging
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "Kibana"
spec:
ports:
- port: 5601
protocol: TCP
targetPort: ui
selector:
k8s-app: kibana-logging
spec:
type: LoadBalancer
selector:
component: kibana-logging
ports:
- name: http
port: 5601
protocol: TCP | 18.083333 | 41 | 0.675115 |
f76c56b2caf4de9f3f100ee280eb58f98a574e92 | 278 | yaml | YAML | deployment/mongodb/secrets.yaml | LDFLK/GIG | f2e6a3473887eb7bf818fb61161e82bf1b5bb439 | [
"Apache-2.0"
] | 2 | 2021-09-18T10:59:47.000Z | 2021-11-30T02:38:25.000Z | deployment/mongodb/secrets.yaml | LDFLK/GIG | f2e6a3473887eb7bf818fb61161e82bf1b5bb439 | [
"Apache-2.0"
] | 30 | 2020-01-09T04:38:17.000Z | 2022-03-28T16:29:11.000Z | deployment/mongodb/secrets.yaml | LDFLK/GIG | f2e6a3473887eb7bf818fb61161e82bf1b5bb439 | [
"Apache-2.0"
] | 3 | 2019-10-22T10:00:57.000Z | 2022-02-08T11:45:17.000Z | apiVersion: v1
kind: Secret
metadata:
name: k8-gig
type: Opaque
data:
MONGO_ROOT_USERNAME: YWRtaW4K
MONGO_ROOT_PASSWORD: cGFzc3dvcmQK
MONGO_USERNAME: ZGV2ZWxvcGVyCg==
MONGO_PASSWORD: cGFzc3dvcmQK
MONGO_USERS_LIST: ZGV2ZWxvcGVyOmRiQWRtaW4scmVhZFdyaXRlOnBhc3N3b3JkCg== | 25.272727 | 72 | 0.830935 |
f76c8144e845ae616caf046ef49693cb3397de59 | 1,066 | yaml | YAML | example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml | tlereste/prometheus-operator | a382ba54868825ff334917be4e7f1d9ab9eb0671 | [
"Apache-2.0"
] | null | null | null | example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml | tlereste/prometheus-operator | a382ba54868825ff334917be4e7f1d9ab9eb0671 | [
"Apache-2.0"
] | null | null | null | example/rbac/prometheus-operator/prometheus-operator-cluster-role.yaml | tlereste/prometheus-operator | a382ba54868825ff334917be4e7f1d9ab9eb0671 | [
"Apache-2.0"
] | 1 | 2021-09-27T19:42:11.000Z | 2021-09-27T19:42:11.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
app.kubernetes.io/version: v0.35.0
name: prometheus-operator
rules:
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- monitoring.coreos.com
resources:
- alertmanagers
- prometheuses
- prometheuses/finalizers
- alertmanagers/finalizers
- servicemonitors
- podmonitors
- prometheusrules
verbs:
- '*'
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- '*'
- apiGroups:
- ""
resources:
- configmaps
- secrets
verbs:
- '*'
- apiGroups:
- ""
resources:
- pods
verbs:
- list
- delete
- apiGroups:
- ""
resources:
- services
- services/finalizers
- endpoints
verbs:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
| 14.405405 | 47 | 0.641651 |
f76cc62eeed0dd02c7163abbca7e8d1d3db4f4ea | 6,943 | yaml | YAML | rendered/manifests/agent-only/daemonset.yaml | jjackson-s/splunk-otel-collector-chart | 6360c75d4ef670869cdc0b28839f50ed3f13ea80 | [
"Apache-2.0"
] | null | null | null | rendered/manifests/agent-only/daemonset.yaml | jjackson-s/splunk-otel-collector-chart | 6360c75d4ef670869cdc0b28839f50ed3f13ea80 | [
"Apache-2.0"
] | null | null | null | rendered/manifests/agent-only/daemonset.yaml | jjackson-s/splunk-otel-collector-chart | 6360c75d4ef670869cdc0b28839f50ed3f13ea80 | [
"Apache-2.0"
] | null | null | null | ---
# Source: splunk-otel-collector/templates/daemonset.yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: default-splunk-otel-collector-agent
labels:
app: splunk-otel-collector
chart: splunk-otel-collector-0.28.0
release: default
heritage: Helm
engine: fluentd
spec:
updateStrategy:
type: RollingUpdate
selector:
matchLabels:
app: splunk-otel-collector
release: default
template:
metadata:
labels:
app: splunk-otel-collector
release: default
annotations:
checksum/config: 90df4c65aebdd25fb4df652f9607dd45a6ab63e6fd59170427e0c2f9b68dba85
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: default-splunk-otel-collector
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
initContainers:
- name: prepare-fluentd-config
image: busybox:1.33
command: [ "sh", "-c"]
args:
- if [ -z "${LOG_FORMAT_TYPE}" ]; then
if [ "$(ls /var/lib/docker/containers/*/*json.log 2>/dev/null | wc -l)" != "0" ]; then
export LOG_FORMAT_TYPE=json;
else
export LOG_FORMAT_TYPE=cri;
fi;
fi;
cp /fluentd/etc/common/* /fluentd/etc/${LOG_FORMAT_TYPE}/* /fluentd/etc/
env:
- name: LOG_FORMAT_TYPE
value: ""
volumeMounts:
- name: varlogdest
mountPath: /var/lib/docker/containers
readOnly: true
- name: fluentd-config
mountPath: /fluentd/etc
- name: fluentd-config-common
mountPath: /fluentd/etc/common
- name: fluentd-config-json
mountPath: /fluentd/etc/json
- name: fluentd-config-cri
mountPath: /fluentd/etc/cri
containers:
- name: fluentd
image: splunk/fluentd-hec:1.2.4
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
env:
- name: SPLUNK_MEMORY_TOTAL_MIB
value: "500"
- name: K8S_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: MY_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MY_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 200Mi
volumeMounts:
- name: varlog
mountPath: /var/log
- name: varlogdest
mountPath: /var/lib/docker/containers
readOnly: true
- name: journallogpath
mountPath: "/run/log/journal"
readOnly: true
- name: fluentd-config
mountPath: /fluentd/etc
- name: secrets
mountPath: /fluentd/etc/splunk
readOnly: true
- name: otel-collector
command:
- /otelcol
- --config=/conf/relay.yaml
- --metrics-addr=0.0.0.0:8888
ports:
- name: fluentforward
containerPort: 8006
hostPort: 8006
protocol: TCP
- name: jaeger-grpc
containerPort: 14250
hostPort: 14250
protocol: TCP
- name: jaeger-thrift
containerPort: 14268
hostPort: 14268
protocol: TCP
- name: otlp
containerPort: 4317
hostPort: 4317
protocol: TCP
- name: sfx-forwarder
containerPort: 9080
hostPort: 9080
protocol: TCP
- name: signalfx
containerPort: 9943
hostPort: 9943
protocol: TCP
- name: zipkin
containerPort: 9411
hostPort: 9411
protocol: TCP
image: quay.io/signalfx/splunk-otel-collector:0.28.0
imagePullPolicy: IfNotPresent
env:
- name: K8S_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: K8S_NODE_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: K8S_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: K8S_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: K8S_POD_UID
valueFrom:
fieldRef:
fieldPath: metadata.uid
- name: K8S_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SPLUNK_ACCESS_TOKEN
valueFrom:
secretKeyRef:
name: splunk-otel-collector
key: splunk_access_token
# Env variables for host metrics receiver
- name: HOST_PROC
value: /hostfs/proc
- name: HOST_SYS
value: /hostfs/sys
- name: HOST_ETC
value: /hostfs/etc
- name: HOST_VAR
value: /hostfs/var
- name: HOST_RUN
value: /hostfs/run
- name: HOST_DEV
value: /hostfs/dev
readinessProbe:
httpGet:
path: /
port: 13133
livenessProbe:
httpGet:
path: /
port: 13133
resources:
limits:
cpu: 200m
memory: 500Mi
volumeMounts:
- mountPath: /conf
name: otel-configmap
- mountPath: /hostfs
name: hostfs
readOnly: true
mountPropagation: HostToContainer
terminationGracePeriodSeconds: 600
volumes:
- name: varlog
hostPath:
path: /var/log
- name: varlogdest
hostPath:
path: /var/lib/docker/containers
- name: journallogpath
hostPath:
path: "/run/log/journal"
- name: secrets
secret:
secretName: splunk-otel-collector
- name: fluentd-config
emptyDir: {}
- name: fluentd-config-common
configMap:
name: default-splunk-otel-collector-fluentd
- name: fluentd-config-cri
configMap:
name: default-splunk-otel-collector-fluentd-cri
- name: fluentd-config-json
configMap:
name: default-splunk-otel-collector-fluentd-json
- name: hostfs
hostPath:
path: /
- name: otel-configmap
configMap:
name: default-splunk-otel-collector-otel-agent
items:
- key: relay
path: relay.yaml
| 28.809129 | 102 | 0.521532 |
f76d2bedc32b8b6e843da51463d132745d981027 | 765 | yaml | YAML | kubernetes-model/vendor/k8s.io/kubernetes/test/e2e/testing-manifests/statefulset/mysql-upgrade/configmap.yaml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | kubernetes-model/vendor/k8s.io/kubernetes/test/e2e/testing-manifests/statefulset/mysql-upgrade/configmap.yaml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | kubernetes-model/vendor/k8s.io/kubernetes/test/e2e/testing-manifests/statefulset/mysql-upgrade/configmap.yaml | bdshadow/kubernetes-client-android | 4b32d7beadfd3147fe52a812c880d4d490d510bb | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) 2015 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
apiVersion: v1
kind: ConfigMap
metadata:
name: mysql
labels:
app: mysql
data:
master.cnf: |
[mysqld]
log-bin
slave.cnf: |
[mysqld]
super-read-only
| 25.5 | 74 | 0.715033 |
f76d4971a763545ab95cff3f9ebe2468955a7120 | 227 | yaml | YAML | ch05/debugging/failing-pod.yaml | mdrakiburrahman/ckad-study-guide | da633b18fb334fb378ac19e3321bcd0969fb1758 | [
"Apache-2.0"
] | 103 | 2020-11-13T15:16:30.000Z | 2022-03-31T04:34:57.000Z | ch05/debugging/failing-pod.yaml | aireddy73/ckad-study-guide | 2765de9030b8fbee3d7eacab103ffbec40acb1ea | [
"Apache-2.0"
] | null | null | null | ch05/debugging/failing-pod.yaml | aireddy73/ckad-study-guide | 2765de9030b8fbee3d7eacab103ffbec40acb1ea | [
"Apache-2.0"
] | 59 | 2020-12-20T13:19:48.000Z | 2022-03-12T09:43:02.000Z | apiVersion: v1
kind: Pod
metadata:
name: failing-pod
spec:
containers:
- args:
- /bin/sh
- -c
- while true; do echo $(date) >> ~/tmp/curr-date.txt; sleep
5; done;
image: busybox
name: failing-pod | 17.461538 | 63 | 0.590308 |
f76d4cdc9e3440ccbdd333b50dbb52806396dd76 | 58,421 | yaml | YAML | manager/manifests/grafana/grafana-dashboard-realtime.yaml | jackmpcollins/cortex | 0375fe18eb398c0c1291aafc47cc6f7ec9fa31d9 | [
"Apache-2.0"
] | null | null | null | manager/manifests/grafana/grafana-dashboard-realtime.yaml | jackmpcollins/cortex | 0375fe18eb398c0c1291aafc47cc6f7ec9fa31d9 | [
"Apache-2.0"
] | null | null | null | manager/manifests/grafana/grafana-dashboard-realtime.yaml | jackmpcollins/cortex | 0375fe18eb398c0c1291aafc47cc6f7ec9fa31d9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Cortex Labs, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-dashboard-realtime
namespace: default
data:
realtime.json: |-
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "prometheus",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"iteration": 1625175811197,
"links": [],
"panels": [
{
"datasource": null,
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 0
},
"id": 15,
"options": {
"content": "<h1 style=\"text-align: center\">RealtimeAPI</h1>",
"mode": "markdown"
},
"pluginVersion": "8.0.4",
"timeFrom": null,
"timeShift": null,
"transparent": true,
"type": "text"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 2
},
"id": 22,
"panels": [],
"title": "API Stats",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Request rate, computed over every minute, of an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 3
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum (rate(istio_requests_total{destination_service=~\"api-$api_name.+\"}[1m])) by (destination_service)",
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "Request Rate"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Request Rate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "Active in-flight requests for an API.\n\nNote: In-flight requests are recorded every 10 seconds, which will correspond to the minimum resolution.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 3
},
"hiddenSeries": false,
"id": 4,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(cortex_in_flight_requests{api_name=~\"$api_name\"}) by (api_name)",
"interval": "",
"legendFormat": "{{api_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "In-Flight Requests",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "Request rate, computed over every minute, for responses with status code 2XX of an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 12
},
"hiddenSeries": false,
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(istio_requests_total{destination_service=~\"api-$api_name.+\", response_code=~\"2.+\"}[1m])) by (destination_service, response_code)",
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "2XX"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "2XX Responses",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1217",
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1218",
"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": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 12
},
"hiddenSeries": false,
"id": 7,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "count(cortex_in_flight_requests{api_name=~\"$api_name\"}) by (api_name)",
"interval": "",
"legendFormat": "{{api_name}}",
"refId": "Active Replicas"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active Replicas",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:236",
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:237",
"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": null,
"description": "Request rate, computed over every minute, for responses with status code 4XX of an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 21
},
"hiddenSeries": false,
"id": 9,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(istio_requests_total{destination_service=~\"api-$api_name.+\", response_code=~\"4.+\"}[1m])) by (destination_service, response_code)",
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "4XX"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "4XX Responses",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "Request rate, computed over every minute, for responses with status code 5XX of an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 21
},
"hiddenSeries": false,
"id": 10,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(istio_requests_total{destination_service=~\"api-$api_name.+\", response_code=~\"5.+\"}[1m])) by (destination_service, response_code)",
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "5XX"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "5XX Responses",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "99th percentile latency, computed over a minute, for an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 30
},
"hiddenSeries": false,
"id": 6,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "histogram_quantile(0.99, sum by (destination_service, le) (rate(istio_request_duration_milliseconds_bucket{destination_service=~\"api-$api_name.+\"}[1m])))",
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "p99 Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1302",
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1303",
"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": null,
"description": "90th percentile latency, computed over a minute, for an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 30
},
"hiddenSeries": false,
"id": 11,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "histogram_quantile(0.90, sum by (destination_service, le) (rate(istio_request_duration_milliseconds_bucket{destination_service=~\"api-$api_name.+\"}[1m])))",
"hide": false,
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "p90 Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "50th percentile latency, computed over a minute, for an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 39
},
"hiddenSeries": false,
"id": 16,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "histogram_quantile(0.50, sum by (destination_service, le) (rate(istio_request_duration_milliseconds_bucket{destination_service=~\"api-$api_name.+\"}[1m])))",
"hide": false,
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "p50 Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"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": null,
"description": "Average latency, computed over a minute, for an API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 39
},
"hiddenSeries": false,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(rate(istio_request_duration_milliseconds_sum{destination_service=~\"api-$api_name.+\"}[1m])) by (destination_service) / sum(rate(istio_request_duration_milliseconds_count{destination_service=~\"api-$api_name.+\"}[1m])) by (destination_service)",
"hide": false,
"interval": "",
"legendFormat": "{{destination_service}}",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Average Latency",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "([^\\.]+)\\..+",
"renamePattern": "$1"
}
},
{
"id": "renameByRegex",
"options": {
"regex": "api-(.*)",
"renamePattern": "$1"
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 48
},
"id": 20,
"panels": [],
"title": "Aggregate Usage",
"type": "row"
},
{
"aliasColors": {
"Total CPU Request": "semi-dark-orange",
"Total CPU Usage": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Total CPU usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 49
},
"hiddenSeries": false,
"id": 24,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": false,
"expr": "sum(rate(container_cpu_usage_seconds_total{pod=~\"api-$api_name.+\", container!=\"POD\", name!=\"\"}[1m]))",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Total CPU Usage",
"refId": "CPU Usage"
},
{
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{exported_pod=~\"api-$api_name.+\", resource=\"cpu\"})",
"hide": false,
"interval": "",
"legendFormat": "Total CPU Request",
"refId": "CPU Request"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total CPU Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "core",
"label": "cpu",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Total Memory Request": "semi-dark-orange",
"Total Memory Usage": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Total memory usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 49
},
"hiddenSeries": false,
"id": 26,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": false,
"expr": "sum(sum_over_time(container_memory_working_set_bytes{pod=~\"api-$api_name.+\", name!=\"\", container!=\"POD\"}[1m])) /\navg(count_over_time(container_memory_working_set_bytes{pod=~\"api-$api_name.+\", name!=\"\", container=\"api\"}[1m])) / 1024^2",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Total Memory Usage",
"refId": "Memory Usage"
},
{
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{exported_pod=~\"api-$api_name.+\", resource=\"memory\"}) / 1024^2",
"hide": false,
"interval": "",
"legendFormat": "Total Memory Request",
"refId": "Memory Request"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total Memory Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "MiB",
"label": "memory",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Total GPU Capacity": "semi-dark-orange",
"Total GPU Usage": "semi-dark-green",
"Total GPU Utilization": "light-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Total GPU core usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 57
},
"hiddenSeries": false,
"id": 28,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"}) / 100",
"hide": false,
"interval": "",
"legendFormat": "Total GPU Usage",
"refId": "GPU Usage"
},
{
"exemplar": true,
"expr": "count(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Total GPU Capacity",
"refId": "GPU Capacity"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total GPU Core Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "gpuCore",
"label": "gpu",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Total Capacity GPU Memory": "semi-dark-orange",
"Total Used GPU Memory": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Total GPU memory usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 57
},
"hiddenSeries": false,
"id": 29,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "sum(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Total Used GPU Memory",
"refId": "GPU Used Memory"
},
{
"exemplar": false,
"expr": "sum(DCGM_FI_DEV_FB_FREE{exported_pod=~\"api-$api_name.+\"}) + sum(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Total Capacity GPU Memory",
"refId": "GPU Capacity Memory"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total GPU Memory Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "MiB",
"label": "memory",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 65
},
"id": 18,
"panels": [],
"title": "Average Replica Usage",
"type": "row"
},
{
"aliasColors": {
"Avg CPU Request": "semi-dark-orange",
"Avg CPU Usage": "semi-dark-green",
"Total CPU Request": "semi-dark-orange",
"Total CPU Usage": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Avg CPU usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 66
},
"hiddenSeries": false,
"id": 30,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": false,
"expr": "sum(rate(container_cpu_usage_seconds_total{pod=~\"api-$api_name.+\", container!=\"POD\", name!=\"\"}[1m]))\n/\nsum(kube_pod_info{exported_pod=~\"api-$api_name.+\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Avg CPU Usage",
"refId": "CPU Usage"
},
{
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{exported_pod=~\"api-$api_name.+\", resource=\"cpu\"})\n/\nsum(kube_pod_info{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Avg CPU Request",
"refId": "CPU Request"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Avg CPU Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "core",
"label": "cpu",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Avg Memory Request": "semi-dark-orange",
"Avg Memory Usage": "semi-dark-green",
"Total Memory Request": "semi-dark-orange",
"Total Memory Usage": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Avg memory usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 66
},
"hiddenSeries": false,
"id": 31,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": false,
"expr": "sum(sum_over_time(container_memory_working_set_bytes{pod=~\"api-$api_name.+\", name!=\"\", container!=\"POD\"}[1m]))\n/\navg(count_over_time(container_memory_working_set_bytes{pod=~\"api-$api_name.+\", name!=\"\", container=\"api\"}[1m])) / 1024^2\n/\nsum(kube_pod_info{exported_pod=~\"api-$api_name.+\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Avg Memory Usage",
"refId": "Memory Usage"
},
{
"exemplar": true,
"expr": "sum(kube_pod_container_resource_requests{exported_pod=~\"api-$api_name.+\", resource=\"memory\"}) / 1024^2\n/\nsum(kube_pod_info{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Avg Memory Request",
"refId": "Memory Request"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Avg Memory Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "MiB",
"label": "memory",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Avg GPU Capacity": "semi-dark-orange",
"Avg GPU Usage": "semi-dark-green",
"Total GPU Capacity": "semi-dark-orange",
"Total GPU Utilization": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Avg GPU core usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 74
},
"hiddenSeries": false,
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"}) / 100\n/\ncount(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Avg GPU Usage",
"refId": "GPU Usage"
},
{
"expr": "count(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"})\n/\ncount(count(DCGM_FI_DEV_GPU_UTIL{exported_pod=~\"api-$api_name.+\"}) by (exported_pod))",
"hide": false,
"interval": "",
"legendFormat": "Avg GPU Capacity",
"refId": "GPU Capacity"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Avg GPU Core Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "gpuCore",
"label": "gpu",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"Avg Capacity GPU Memory": "semi-dark-orange",
"Avg Used GPU Memory": "semi-dark-green",
"Total Capacity GPU Memory": "semi-dark-orange",
"Total Used GPU Memory": "semi-dark-green"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "Avg GPU memory usage across all replicas of the API",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 74
},
"hiddenSeries": false,
"id": 33,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"})\n/\ncount(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"})",
"hide": false,
"interval": "",
"legendFormat": "Avg Used GPU Memory",
"refId": "GPU Used Memory"
},
{
"exemplar": false,
"expr": "(sum(DCGM_FI_DEV_FB_FREE{exported_pod=~\"api-$api_name.+\"}) + sum(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"}))\n/\ncount(DCGM_FI_DEV_FB_USED{exported_pod=~\"api-$api_name.+\"})",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Avg Capacity GPU Memory",
"refId": "GPU Capacity Memory"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Avg GPU Memory Usage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1404",
"format": "MiB",
"label": "memory",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:1405",
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "30s",
"schemaVersion": 30,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"allValue": null,
"current": {
"selected": false,
"text": "None",
"value": "None"
},
"datasource": null,
"definition": "label_values(cortex_in_flight_requests{api_kind=\"RealtimeAPI\"}, api_name)",
"description": null,
"error": null,
"hide": 0,
"includeAll": false,
"label": "API Name",
"multi": true,
"name": "api_name",
"options": [],
"query": {
"query": "label_values(cortex_in_flight_requests{api_kind=\"RealtimeAPI\"}, api_name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "RealtimeAPI",
"uid": "realtimeapi",
"version": 3
}
| 28.304748 | 330 | 0.366118 |
f76d5a484c31f4a1423aa968b0cfb963b0ed7378 | 6,101 | yaml | YAML | setup/ocp47/custom-argocd-app-controller-clusterrole.yaml | gitops-work-wkc-1/multi-tenancy-gitops | 1f850702a9d64239a4b8f4ea5a316fc5db49ffbe | [
"Apache-2.0"
] | null | null | null | setup/ocp47/custom-argocd-app-controller-clusterrole.yaml | gitops-work-wkc-1/multi-tenancy-gitops | 1f850702a9d64239a4b8f4ea5a316fc5db49ffbe | [
"Apache-2.0"
] | null | null | null | setup/ocp47/custom-argocd-app-controller-clusterrole.yaml | gitops-work-wkc-1/multi-tenancy-gitops | 1f850702a9d64239a4b8f4ea5a316fc5db49ffbe | [
"Apache-2.0"
] | null | null | null | kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: custom-argocd-cluster-argocd-application-controller
rules:
- verbs:
- '*'
apiGroups:
- ''
resources:
- pods
- services
- services/finalizers
- endpoints
- events
- configmaps
- secrets
- serviceaccounts
- verbs:
- '*'
apiGroups:
- 'triggers.tekton.dev'
resources:
- eventlisteners
- triggerbindings
- triggertemplates
- verbs:
- '*'
apiGroups:
- apps
resources:
- daemonsets
- deployments
- replicasets
- statefulsets
- verbs:
- '*'
apiGroups:
- 'route.openshift.io'
resources:
- routes
- verbs:
- '*'
apiGroups:
- 'security.openshift.io'
resources:
- securitycontextconstraints
- verbs:
- '*'
apiGroups:
- 'operator.cert-manager.io'
resources:
- certmanagers
- verbs:
- '*'
apiGroups:
- 'cert-manager.io'
resources:
- clusterissuers
- verbs:
- '*'
apiGroups:
- 'bitnami.com'
resources:
- sealedsecretcontrollers
- sealedsecrets
- verbs:
- '*'
apiGroups:
- 'integreatly.org'
resources:
- grafanas
- grafanadatasources
- grafanadashboards
- verbs:
- '*'
apiGroups:
- 'networking.k8s.io'
resources:
- networkpolicies
- verbs:
- '*'
apiGroups:
- 'integration.ibm.com'
resources:
- platformnavigators
- verbs:
- '*'
apiGroups:
- 'operators.coreos.com'
resources:
- subscriptions
- verbs:
- '*'
apiGroups:
- 'tekton.dev'
resources:
- pipelines
- tasks
- verbs:
- '*'
apiGroups:
- 'maistra.io'
resources:
- servicemeshcontrolplanes
- servicemeshmembers
- servicemeshmemberrolls
- verbs:
- '*'
apiGroups:
- 'networking.istio.io'
resources:
- virtualservices
- gateways
- destinationrules
- verbs:
- create
- list
apiGroups:
- ''
resources:
- events
- verbs:
- '*'
apiGroups:
- batch
resources:
- cronjobs
- jobs
- verbs:
- '*'
apiGroups:
- argoproj.io
resources:
- applications
- appprojects
- verbs:
- get
- list
- watch
apiGroups:
- '*'
resources:
- '*'
- verbs:
- get
- list
nonResourceURLs:
- '*'
- verbs:
- '*'
apiGroups:
- operators.coreos.com
resources:
- '*'
- verbs:
- '*'
apiGroups:
- operator.openshift.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- user.openshift.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- config.openshift.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- console.openshift.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- ''
resources:
- namespaces
- persistentvolumeclaims
- persistentvolumes
- configmaps
- verbs:
- '*'
apiGroups:
- rbac.authorization.k8s.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- storage.k8s.io
resources:
- '*'
- verbs:
- '*'
apiGroups:
- appconnect.ibm.com
resources:
- integrationservers
- dashboards
- configurations
- verbs:
- '*'
apiGroups:
- machineconfiguration.openshift.io
resources:
- machineconfigpools
- containerruntimeconfigs
- verbs:
- '*'
apiGroups:
- tuned.openshift.io
resources:
- tuneds
- verbs:
- '*'
apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
- verbs:
- '*'
apiGroups:
- processmining.ibm.com
resources:
- processminings
- verbs:
- '*'
apiGroups:
- ocs.openshift.io
resources:
- storageclusters
- verbs:
- '*'
apiGroups:
- imageregistry.operator.openshift.io
resources:
- configs
- verbs:
- '*'
apiGroups:
- operator.ibm.com
resources:
- commonservices
- verbs:
- '*'
apiGroups:
- mq.ibm.com
resources:
- queuemanagers
- verbs:
- '*'
apiGroups:
- icp4a.ibm.com
resources:
- icp4aclusters
- apiGroups: # API Connect
- apiconnect.ibm.com # API Connect specific API groups
- management.apiconnect.ibm.com
- portal.apiconnect.ibm.com
- gateway.apiconnect.ibm.com
- analytics.apiconnect.ibm.com
- datapower.ibm.com # DataPower specific API groups
resources:
- '*'
verbs:
- '*'
- apiGroups: # API Connect Multicloud use case
- certmanager.k8s.io
- apps.openshift.io
- build.openshift.io
- image.openshift.io
- cert-manager.io
resources:
- 'certificates'
- 'issuers'
- 'deploymentconfigs'
- 'imagestreams'
- 'buildconfigs'
verbs:
- '*'
- verbs:
- '*'
apiGroups:
- operator.ibm.com
resources:
- operandrequests
- verbs:
- '*'
apiGroups:
- cpd.ibm.com
resources:
- ibmcpds
- verbs:
- '*'
apiGroups:
- ocp.spp.ibm.com
resources:
- ibmspps
- verbs:
- '*'
apiGroups:
- konveyor.openshift.io
resources:
- veleros
- verbs:
- '*'
apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
- verbs:
- '*'
apiGroups:
- kafka.strimzi.io
resources:
- kafkas
- kafkausers
- verbs:
- '*'
apiGroups:
- isc.ibm.com
resources:
- cp4sthreatmanagements
- verbs:
- '*'
apiGroups:
- ws.cpd.ibm.com
resources:
- ws
- verbs:
- '*'
apiGroups:
- wkc.cpd.ibm.com
resources:
- wkc
| 17.735465 | 61 | 0.508277 |
f76d649428b644fb41ac932fd3500d10120fa0a5 | 444 | yaml | YAML | 12_Jobs/03-rs-queue.yaml | 2n3g5c9/kubernetes-up-and-running | 5f679a34c60fddb6c4d806f8c219d9a3620665cb | [
"MIT"
] | null | null | null | 12_Jobs/03-rs-queue.yaml | 2n3g5c9/kubernetes-up-and-running | 5f679a34c60fddb6c4d806f8c219d9a3620665cb | [
"MIT"
] | null | null | null | 12_Jobs/03-rs-queue.yaml | 2n3g5c9/kubernetes-up-and-running | 5f679a34c60fddb6c4d806f8c219d9a3620665cb | [
"MIT"
] | 2 | 2021-06-08T02:59:17.000Z | 2021-12-05T10:45:19.000Z | apiVersion: apps/v1
kind: ReplicaSet
metadata:
labels:
app: work-queue
component: queue
chapter: jobs
name: queue
spec:
replicas: 1
selector:
matchLabels:
app: work-queue
template:
metadata:
labels:
app: work-queue
component: queue
chapter: jobs
spec:
containers:
- name: queue
image: "gcr.io/kuar-demo/kuard-amd64:blue"
imagePullPolicy: Always
| 17.076923 | 50 | 0.605856 |
f76dbe42a497d2bee7defaccf485ccbc37c2e49b | 95 | yaml | YAML | deploy/indextool/namespace.yaml | opengauss-mirror/infra | 31353cacb350d6f1e4f7dab163c2752e986939a5 | [
"MulanPSL-1.0"
] | 3 | 2020-07-01T07:16:33.000Z | 2021-06-22T17:07:54.000Z | deploy/indextool/namespace.yaml | opengauss-mirror/infra | 31353cacb350d6f1e4f7dab163c2752e986939a5 | [
"MulanPSL-1.0"
] | 2 | 2021-04-26T21:20:19.000Z | 2021-08-23T22:03:18.000Z | deploy/indextool/namespace.yaml | opengauss-mirror/infra | 31353cacb350d6f1e4f7dab163c2752e986939a5 | [
"MulanPSL-1.0"
] | null | null | null | apiVersion: v1
kind: Namespace
metadata:
labels:
name: indextool
name: indextool
| 13.571429 | 20 | 0.684211 |
f76dd251beef9455055663e3f205623e7f7f5c33 | 225 | yaml | YAML | cluster/apps/default/hajimari/data-pvc.yaml | Diaoul/home-ops | cac9f625c006420db7effcf5e8801f95bdcf219b | [
"Unlicense"
] | 12 | 2021-11-08T00:05:22.000Z | 2022-03-16T17:10:18.000Z | cluster/apps/default/hajimari/data-pvc.yaml | Diaoul/home-ops | cac9f625c006420db7effcf5e8801f95bdcf219b | [
"Unlicense"
] | 3 | 2021-05-07T19:01:06.000Z | 2021-09-20T11:59:45.000Z | cluster/apps/default/hajimari/data-pvc.yaml | Diaoul/home-ops | cac9f625c006420db7effcf5e8801f95bdcf219b | [
"Unlicense"
] | 3 | 2021-05-16T21:33:40.000Z | 2021-10-21T15:07:38.000Z | ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: hajimari-data
namespace: default
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
storageClassName: rook-ceph-block
| 16.071429 | 35 | 0.724444 |
f76dd4e65b288bd803c153b8c82e3473eef81bc6 | 143 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation143.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation143.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation143.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-143
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 17.875 | 49 | 0.72028 |
f76e094e8d12408687fc27942e4cdaea8560c535 | 617 | yaml | YAML | kubernetes-manifests/frontendingress.yaml | malagoli/microservices-demo | c569ba74da3a162f64964b34f93e5437d730404d | [
"Apache-2.0"
] | null | null | null | kubernetes-manifests/frontendingress.yaml | malagoli/microservices-demo | c569ba74da3a162f64964b34f93e5437d730404d | [
"Apache-2.0"
] | null | null | null | kubernetes-manifests/frontendingress.yaml | malagoli/microservices-demo | c569ba74da3a162f64964b34f93e5437d730404d | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: frontend-ingress
annotations:
#networking.gke.io/managed-certificates: gcp-demo
kubernetes.io/ingress.global-static-ip-name: "gcp-demo"
spec:
rules:
- http:
paths:
- path: /*
pathType: ImplementationSpecific
backend:
service:
name: frontend
port:
number: 80
- path: /tracking/*
pathType: ImplementationSpecific
backend:
service:
name: tracking
port:
number: 81 | 23.730769 | 59 | 0.536467 |
f76e2c8de9f47287172423f160508126c6b805d3 | 408 | yaml | YAML | operators/timemachine-operator/v1.0.8/manifests/timemachine-operator-manager-config_v1_configmap.yaml | R6-Security-Phoenix/certified-operators | 86e81121cf875f3b64821a21e96140320ae55ccf | [
"Apache-2.0"
] | 8 | 2021-11-01T11:55:20.000Z | 2022-03-25T19:27:59.000Z | operators/timemachine-operator/v1.0.8/manifests/timemachine-operator-manager-config_v1_configmap.yaml | R6-Security-Phoenix/certified-operators | 86e81121cf875f3b64821a21e96140320ae55ccf | [
"Apache-2.0"
] | 654 | 2021-10-29T18:50:12.000Z | 2022-03-31T19:10:03.000Z | operators/timemachine-operator/v1.0.8/manifests/timemachine-operator-manager-config_v1_configmap.yaml | R6-Security-Phoenix/certified-operators | 86e81121cf875f3b64821a21e96140320ae55ccf | [
"Apache-2.0"
] | 273 | 2021-10-30T15:04:04.000Z | 2022-03-31T07:31:24.000Z | ---
apiVersion: v1
data:
controller_manager_config.yaml: |
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
kind: ControllerManagerConfig
health:
healthProbeBindAddress: :6789
metrics:
bindAddress: 127.0.0.1:8080
leaderElection:
leaderElect: true
resourceName: 811c9dc5.solution-soft.com
kind: ConfigMap
metadata:
name: timemachine-operator-manager-config
| 22.666667 | 55 | 0.727941 |
f76e2e7a0e96f1b35ef5a9b724d6f7369d14ed1a | 4,589 | yaml | YAML | study-builder/tf-deployment.yaml | nseblu/elo-mystudies | a53af4a6db30d419aee09dd077141c565ce3e13c | [
"MIT"
] | null | null | null | study-builder/tf-deployment.yaml | nseblu/elo-mystudies | a53af4a6db30d419aee09dd077141c565ce3e13c | [
"MIT"
] | 1 | 2021-03-17T17:45:27.000Z | 2021-03-17T17:45:27.000Z | study-builder/tf-deployment.yaml | nseblu/elo-mystudies | a53af4a6db30d419aee09dd077141c565ce3e13c | [
"MIT"
] | 2 | 2021-04-01T17:03:08.000Z | 2021-04-01T17:03:46.000Z | # Copyright 2020 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
apiVersion: apps/v1
kind: Deployment
metadata:
name: study-builder
labels:
app: study-builder
spec:
replicas: 1
selector:
matchLabels:
app: study-builder
template:
metadata:
labels:
app: study-builder
annotations:
sidecar.istio.io/inject: "true"
spec:
containers:
- name: study-builder
image: gcr.io/<PREFIX>-<ENV>-apps/study-builder:latest
env:
# DB ACCESS
- name: DB_USER
valueFrom:
secretKeyRef:
name: study-builder-credentials
key: dbusername
- name: DB_PASS
valueFrom:
secretKeyRef:
name: study-builder-credentials
key: dbpassword
- name: DB_NAME
valueFrom:
secretKeyRef:
name: study-builder-credentials
key: dbname
- name: DB_INSTANCE_URL
value: "127.0.0.1"
# MAIL SERVER
- name: FROM_EMAIL_ADDRESS
valueFrom:
secretKeyRef:
name: email-credentials
key: email_address
- name: FROM_EMAIL_PASSWORD
valueFrom:
secretKeyRef:
name: email-credentials
key: email_password
- name: SMTP_HOSTNAME
valueFrom:
secretKeyRef:
name: email-credentials
key: smtp_hostname
- name: SMTP_USE_IP_ALLOWLIST
valueFrom:
secretKeyRef:
name: email-credentials
key: smtp_use_ip_allowlist
- name: FROM_EMAIL_DOMAIN
valueFrom:
secretKeyRef:
name: email-credentials
key: from_email_domain
# AUTHENTICATION
- name: CLIENT_ID
valueFrom:
secretKeyRef:
name: study-builder-credentials
key: client_id
- name: SECRET_KEY
valueFrom:
secretKeyRef:
name: study-builder-credentials
key: secret_key
# SERVER CALLS
- name: STUDY_BUILDER_BASE_URL
valueFrom:
secretKeyRef:
name: shared-secrets
key: studies_base_url
- name: PARTICIPANT_USER_DATASTORE_URL
value: "http://participant-user-datastore-np:50000/participant-user-datastore"
- name: RESPONSE_DATASTORE_URL
value: "http://response-datastore-np:50000/response-datastore"
- name: SCIM_AUTH_URL
value: "http://auth-server-np:50000/auth-server"
# MISC
- name: GCP_BUCKET_NAME
valueFrom:
secretKeyRef:
name: shared-secrets
key: study_resources_bucket_name
- name: ORG_NAME
valueFrom:
secretKeyRef:
name: shared-secrets
key: org_name
- name: CATALINA_OPTS # server timezone
value: -Duser.timezone=America/New_York
- name: GOOGLE_APPLICATION_CREDENTIALS
value: "/secrets/gcloud_key/key.json"
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /studybuilder/healthCheck.do
port: 8080
initialDelaySeconds: 180
periodSeconds: 20
resources:
requests:
memory: "500Mi"
cpu: "50m"
volumeMounts:
- name: gcloud-key-volume
mountPath: /secrets/gcloud_key
readOnly: true
- name: cloudsql-proxy
image: gcr.io/cloudsql-docker/gce-proxy:latest
command: ["/cloud_sql_proxy",
"-instances=<PREFIX>-<ENV>-data:<LOCATION>:mystudies=tcp:3306",
"-credential_file=/secrets/gcloud_key/key.json"]
volumeMounts:
- name: gcloud-key-volume
mountPath: /secrets/gcloud_key
readOnly: true
volumes:
- name: gcloud-key-volume
secret:
secretName: study-builder-gke-sa-gcloud-key
| 33.014388 | 92 | 0.511658 |
f76e311a4e5bcda4800441c1885ce0558a94669b | 5,338 | yml | YAML | install/Prophecis/templates/LogCollectorDS/LogConfigmap.yml | finalTestin/Prophecis | 93da78608ad9f3c142d214d64c65ea9af549518a | [
"Apache-2.0"
] | 320 | 2020-12-07T13:08:38.000Z | 2022-03-30T07:37:54.000Z | install/Prophecis/templates/LogCollectorDS/LogConfigmap.yml | finalTestin/Prophecis | 93da78608ad9f3c142d214d64c65ea9af549518a | [
"Apache-2.0"
] | 14 | 2021-01-08T08:41:12.000Z | 2022-03-16T02:14:55.000Z | install/Prophecis/templates/LogCollectorDS/LogConfigmap.yml | finalTestin/Prophecis | 93da78608ad9f3c142d214d64c65ea9af549518a | [
"Apache-2.0"
] | 100 | 2020-12-08T02:15:25.000Z | 2022-03-16T06:57:40.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: fluent-bit-log-collector-config-all
namespace: prophecis
labels:
k8s-app: fluent-bit
data:
# Configuration files: server, input, filters and output
# ======================================================
fluent-bit.conf: |
[SERVICE]
Flush 1
Log_Level info
Daemon off
Parsers_File parsers.conf
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port 2020
@INCLUDE training-log.conf
@INCLUDE record_modifier.conf
@INCLUDE output-elasticsearch.conf
training-log.conf: |
[INPUT]
Name tail
Tag training.*
Path /job/*.log
Parser syslog
DB /job/training-log.db
Mem_Buf_Limit 5MB
Skip_Long_Lines On
Refresh_Interval 10
Key line
record_modifier.conf: |
[FILTER]
Name lua
Match training.*
script training.lua
call cb_print
Type_int_key rindex time
Match training.*
[FILTER]
Name nest
Match training.*
Operation nest
Wildcard time
Wildcard rindex
Wildcard training_id
Nest_under meta
training.lua: |
start_line_num = 1
function cb_print(tag, timestamp, record)
fname_strat_num = string.find(tag,".training")+1
fname_end_num = string.find(tag,".",-1)
fname = string.sub(tag,fname_strat_num,-5)
fline_name = "/job/"..fname.."-line.pos"
print(fline_name)
-- check if file exists
local file = io.open(fline_name, "r")
-- if file not exists, create file and set default value
if(file == nil)
then
print("file not exists")
file = io.open(fline_name, "w+")
file:write(start_line_num)
end
file:close()
-- read current line num from line.pos
file = io.open(fline_name, "r")
local current = file:read()
file:close()
-- object which will be returned
new_record = {}
new_record["training_id"] = fname
-- line num
new_record["rindex"] = tonumber(current)
fname_strat_num = string.find(tag,".training")+1
fname_end_num = string.find(tag,".",-1)
fname = string.sub(tag,fname_strat_num,-5)
new_record["training_id"] = fname
-- current timestamp
origin_time = string.format("%d", timestamp*1000)
-- new_record["time"] = string.sub(origin_time,1,-8)
new_record["time"] = tonumber(origin_time)
-- other key from input
for key, val in pairs(record) do
new_record[key] = val
end
-- save back in line.pos
file = io.open(fline_name, "w+")
current = current + 1
file:write(current)
file:close()
return 1, timestamp, new_record
end
output-elasticsearch.conf: |
[OUTPUT]
Name es
Match *
Host ${FLUENT_ELASTICSEARCH_HOST}
Port ${FLUENT_ELASTICSEARCH_PORT}
HTTP_User ${FLUENT_ELASTICSEARCH_USER}
HTTP_Passwd ${FLUENT_ELASTICSEARCH_PASSWD}
Index dlaas_learner_data
#Logstash_Format On
Replace_Dots On
Retry_Limit False
Type logline
# Time_Key time
[OUTPUT]
Name stdout
Match *
parsers.conf: |
[PARSER]
Name apache
Format regex
Regex ^(?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)?" (?<code>[^ ]*) (?<size>[^ ]*)(?: "(?<referer>[^\"]*)" "(?<agent>[^\"]*)")?$
Time_Key time
Time_Format %d/%b/%Y:%H:%M:%S %z
[PARSER]
Name apache2
Format regex
Regex ^(?<host>[^ ]*) [^ ]* (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^ ]*) +\S*)?" (?<code>[^ ]*) (?<size>[^ ]*)(?: "(?<referer>[^\"]*)" "(?<agent>[^\"]*)")?$
Time_Key time
Time_Format %d/%b/%Y:%H:%M:%S %z
[PARSER]
Name apache_error
Format regex
Regex ^\[[^ ]* (?<time>[^\]]*)\] \[(?<level>[^\]]*)\](?: \[pid (?<pid>[^\]]*)\])?( \[client (?<client>[^\]]*)\])? (?<message>.*)$
[PARSER]
Name nginx
Format regex
Regex ^(?<remote>[^ ]*) (?<host>[^ ]*) (?<user>[^ ]*) \[(?<time>[^\]]*)\] "(?<method>\S+)(?: +(?<path>[^\"]*?)(?: +\S*)?)?" (?<code>[^ ]*) (?<size>[^ ]*)(?: "(?<referer>[^\"]*)" "(?<agent>[^\"]*)")?$
Time_Key time
Time_Format %d/%b/%Y:%H:%M:%S %z
[PARSER]
Name json
Format json
Time_Key time
Time_Format %d/%b/%Y:%H:%M:%S %z
[PARSER]
Name docker
Format json
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%S.%L
Time_Keep On
[PARSER]
Name syslog
Format regex
Regex ^\<(?<pri>[0-9]+)\>(?<time>[^ ]* {1,2}[^ ]* [^ ]*) (?<host>[^ ]*) (?<ident>[a-zA-Z0-9_\/\.\-]*)(?:\[(?<pid>[0-9]+)\])?(?:[^\:]*\:)? *(?<message>.*)$
# Time_Format %b %d %H:%M:%S
Time_Format %S%L
Time_Keep On
| 32.156627 | 207 | 0.482203 |
f76e3f569bacc919c57097cb6117cef036257d7a | 579 | yaml | YAML | cluster/base/cluster-settings.yaml | Ornias1993/gitops | b10df181e30fbfd5bc40aadb25252d9f80f33426 | [
"MIT"
] | 2 | 2021-05-05T23:30:56.000Z | 2021-05-08T21:58:05.000Z | cluster/base/cluster-settings.yaml | Ornias1993/gitops | b10df181e30fbfd5bc40aadb25252d9f80f33426 | [
"MIT"
] | 2 | 2021-04-29T15:59:12.000Z | 2021-05-08T13:15:38.000Z | cluster/base/cluster-settings.yaml | Ornias1993/gitops | b10df181e30fbfd5bc40aadb25252d9f80f33426 | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: ConfigMap
metadata:
name: cluster-settings
namespace: flux-system
data:
# Router Gateway IP
GATEWAY_IP: "192.168.10.1"
# Available IP range for Load Balancer services
METALLB_ARP_RANGE: "192.168.10.200-192.168.10.230"
LB_TRAEFIK_IP: "192.168.10.200"
LB_REGISTRY_IP: "192.168.10.201"
LB_LOKI_IP: "192.168.10.202"
LB_COREDNS_IP: "192.168.10.203"
LB_BLOCKY_IP: "192.168.10.204"
# storageClass defaults
SC_DEFAULT: "local-path"
SC_DB: "local-path"
SC_MEDIA: "local-path"
SC_USERDATA: "local-path"
SC_BACKUPS: "local-path"
| 23.16 | 52 | 0.713299 |
f76ec4c0dfe79faec553c73f90c93c0b29055887 | 903 | yaml | YAML | deploy/deployment-base.yaml | mvpzone/amazon-eks-pod-identity-webhook | b573775fd9308bf627fb65838593e2eb196c7da2 | [
"Apache-2.0"
] | null | null | null | deploy/deployment-base.yaml | mvpzone/amazon-eks-pod-identity-webhook | b573775fd9308bf627fb65838593e2eb196c7da2 | [
"Apache-2.0"
] | null | null | null | deploy/deployment-base.yaml | mvpzone/amazon-eks-pod-identity-webhook | b573775fd9308bf627fb65838593e2eb196c7da2 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: pod-identity-webhook
namespace: pod-identity
spec:
replicas: 1
selector:
matchLabels:
app: pod-identity-webhook
template:
metadata:
labels:
app: pod-identity-webhook
spec:
serviceAccountName: pod-identity-webhook
containers:
- name: pod-identity-webhook
image: IMAGE
imagePullPolicy: Always
command:
- /webhook
- --in-cluster
- --namespace=pod-identity
- --service-name=pod-identity-webhook
- --tls-secret=pod-identity-webhook
- --annotation-prefix=eks.amazonaws.com
- --token-audience=sts.amazonaws.com
- --logtostderr
volumeMounts:
- name: webhook-certs
mountPath: /var/run/app/certs
readOnly: false
volumes:
- name: webhook-certs
emptyDir: {}
| 24.405405 | 47 | 0.601329 |
f76f13d8ae021dc1bb50a18d6b2ace52eb3d0e2a | 1,334 | yaml | YAML | prow/cmd/branchprotector/cronjob.yaml | Benbentwo/test-infra | 10b90aa696eab790e0bd3925b2b4a399bb4e2774 | [
"Apache-2.0"
] | 1 | 2020-06-01T12:43:55.000Z | 2020-06-01T12:43:55.000Z | prow/cmd/branchprotector/cronjob.yaml | Benbentwo/test-infra | 10b90aa696eab790e0bd3925b2b4a399bb4e2774 | [
"Apache-2.0"
] | null | null | null | prow/cmd/branchprotector/cronjob.yaml | Benbentwo/test-infra | 10b90aa696eab790e0bd3925b2b4a399bb4e2774 | [
"Apache-2.0"
] | 1 | 2020-07-17T09:19:16.000Z | 2020-07-17T09:19:16.000Z | apiVersion: batch/v1beta1
kind: CronJob
metadata:
namespace: default
name: branchprotector
spec:
schedule: "54 * * * *" # Every hour at 54 minutes past the hour
concurrencyPolicy: Forbid
jobTemplate:
metadata:
labels:
app: branchprotector
spec:
template:
spec:
containers:
- name: branchprotector
image: gcr.io/k8s-prow/branchprotector:v20200529-d374280316
args:
- --config-path=/etc/config/config.yaml
- --job-config-path=/etc/job-config
- --github-token-path=/etc/github/oauth
- --confirm
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
volumeMounts:
- name: oauth
mountPath: /etc/github
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config
mountPath: /etc/job-config
readOnly: true
restartPolicy: Never
volumes:
- name: oauth
secret:
secretName: oauth-token
- name: config
configMap:
name: config
- name: job-config
configMap:
name: job-config
| 28.382979 | 71 | 0.52024 |
f76f60ff5200feada7be18872760d95b73c5a8fd | 238 | yml | YAML | apps/gitea-db/src/main/fabric8/svc.yml | anand-jpa/fabric8-minishift | fa058566b132c6f1811f9e959b1b089a52c5d348 | [
"Apache-2.0"
] | 108 | 2016-10-26T06:25:03.000Z | 2021-09-04T05:54:36.000Z | apps/gitea-db/src/main/fabric8/svc.yml | anand-jpa/fabric8-minishift | fa058566b132c6f1811f9e959b1b089a52c5d348 | [
"Apache-2.0"
] | 1,694 | 2016-09-13T07:39:42.000Z | 2019-02-26T17:48:54.000Z | apps/gitea-db/src/main/fabric8/svc.yml | anand-jpa/fabric8-minishift | fa058566b132c6f1811f9e959b1b089a52c5d348 | [
"Apache-2.0"
] | 77 | 2016-10-11T11:41:23.000Z | 2020-08-19T15:11:29.000Z | kind: Service
apiVersion: v1
metadata:
name: gitea-db
labels:
service: gitea-db
spec:
ports:
- name: "postgres"
protocol: TCP
port: 5432
targetPort: 5432
selector:
service: gitea-db
type: ClusterIP
| 14.875 | 22 | 0.634454 |
f76fc44493a638fdf30cc10249e13c284dd2f96c | 609 | yaml | YAML | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jxboot-helmfile-resources/chartmuseum-ingress.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | # Source: jxboot-helmfile-resources/templates/700-chartmuseum-ing.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
meta.helm.sh/release-name: 'jxboot-helmfile-resources'
name: chartmuseum
namespace: jx
labels:
gitops.jenkins-x.io/pipeline: 'namespaces'
spec:
rules:
- http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: jenkins-x-chartmuseum
port:
number: 8080
host: chartmuseum-jx.34.70.27.128.nip.io
| 26.478261 | 70 | 0.632184 |
f76ff53a72bf3db430aab739c566ff64fa1f08e2 | 178 | yml | YAML | manifests/service.yml | mlrborowski/account | b9b482a28d3f13078a61208cb5624c7450dd8c32 | [
"Apache-2.0"
] | null | null | null | manifests/service.yml | mlrborowski/account | b9b482a28d3f13078a61208cb5624c7450dd8c32 | [
"Apache-2.0"
] | null | null | null | manifests/service.yml | mlrborowski/account | b9b482a28d3f13078a61208cb5624c7450dd8c32 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: mlrborowskiaccount
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: mlrborowskiaccount | 17.8 | 31 | 0.634831 |
f7704d1f87edd195a899d6a2553c8fa36ae3b621 | 202 | yaml | YAML | modules/pods-and-services/myservice.yaml | leogsilva/kubernetes-cka-study | 3360929405c3f6dd8fb11b612d8ee31e97c33e2f | [
"Apache-2.0"
] | null | null | null | modules/pods-and-services/myservice.yaml | leogsilva/kubernetes-cka-study | 3360929405c3f6dd8fb11b612d8ee31e97c33e2f | [
"Apache-2.0"
] | null | null | null | modules/pods-and-services/myservice.yaml | leogsilva/kubernetes-cka-study | 3360929405c3f6dd8fb11b612d8ee31e97c33e2f | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: myservice
labels:
app: pods-and-services
spec:
selector:
app: pods-and-services
ports:
- port: 80
targetPort: 80
type: NodePort
| 13.466667 | 26 | 0.658416 |
f7705d5b98c0807d0d23c210f6f6aad26a2a677a | 1,100 | yaml | YAML | examples/log-collection/manifests/sample-app.yaml | st-tech/fluent-pvc-operator | 70dcd1589b2436ae2ec26f82f430ba8411a51918 | [
"MIT"
] | 5 | 2021-12-17T05:48:14.000Z | 2022-01-20T12:32:42.000Z | examples/log-collection/manifests/sample-app.yaml | st-tech/fluent-pvc-operator | 70dcd1589b2436ae2ec26f82f430ba8411a51918 | [
"MIT"
] | 1 | 2022-01-25T11:59:53.000Z | 2022-01-28T06:12:17.000Z | examples/log-collection/manifests/sample-app.yaml | st-tech/fluent-pvc-operator | 70dcd1589b2436ae2ec26f82f430ba8411a51918 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: sample-app
name: sample-app
spec:
replicas: 3
minReadySeconds: 60
progressDeadlineSeconds: 600
selector:
matchLabels:
app: sample-app
template:
metadata:
labels:
app: sample-app
fluent-pvc-operator.tech.zozo.com/fluent-pvc-name: fluent-pvc-operator-example-log-collection
spec:
containers:
- name: sample-app
image: fluent-pvc-operator-sample-app:development
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 100m
memory: 50Mi
env:
- name: BENCHMARK_LOGGING_MAX_LOG_COUNT
value: "10000"
- name: BENCHMARK_LOGGING_INTERVAL_MILLIS
value: "1000"
- name: BENCHMARK_LOGGING_EVENT_NAME
value: "test-event"
- name: BENCHMARK_LOGGING_PAYLOAD_KEY1
value: "myKey1"
- name: BENCHMARK_LOGGING_PAYLOAD_VALUE1
value: "myValue1"
terminationGracePeriodSeconds: 60
| 27.5 | 101 | 0.600909 |