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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f72d3ffdebc481a8e2ca5c1ed1fe943cf0c60070 | 113 | yaml | YAML | deploy/secret.yaml | niiku/hcloud-okd4-firewall-controller | 36cb2c175b52a3bb94ff57a2849270b3c7cb59d8 | [
"MIT"
] | 1 | 2021-08-10T03:42:44.000Z | 2021-08-10T03:42:44.000Z | deploy/secret.yaml | niiku/hcloud-okd4-firewall-controller | 36cb2c175b52a3bb94ff57a2849270b3c7cb59d8 | [
"MIT"
] | null | null | null | deploy/secret.yaml | niiku/hcloud-okd4-firewall-controller | 36cb2c175b52a3bb94ff57a2849270b3c7cb59d8 | [
"MIT"
] | 1 | 2021-08-10T03:42:47.000Z | 2021-08-10T03:42:47.000Z | apiVersion: v1
kind: Secret
metadata:
name: hcloud-okd4-firewall-controller
stringData:
HCLOUD_TOKEN: <TOKEN> | 18.833333 | 39 | 0.787611 |
f72d94c2c89c491ecb6c661867e5d9073935c255 | 630 | yaml | YAML | yamls/prometheus/clusterrolebinding_release-name-kube-state-metrics.yaml | kubeyaml/kubeyaml | aef2e2165d4324286408c0f4e6390264f6d1b48a | [
"Apache-2.0"
] | 1 | 2022-01-28T16:03:48.000Z | 2022-01-28T16:03:48.000Z | yamls/prometheus/clusterrolebinding_release-name-kube-state-metrics.yaml | kubeyaml/kubeyaml | aef2e2165d4324286408c0f4e6390264f6d1b48a | [
"Apache-2.0"
] | null | null | null | yamls/prometheus/clusterrolebinding_release-name-kube-state-metrics.yaml | kubeyaml/kubeyaml | aef2e2165d4324286408c0f4e6390264f6d1b48a | [
"Apache-2.0"
] | 1 | 2022-02-15T07:57:28.000Z | 2022-02-15T07:57:28.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/component: metrics
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/part-of: kube-state-metrics
app.kubernetes.io/version: 2.4.1
helm.sh/chart: kube-state-metrics-4.7.0
name: RELEASE-NAME-kube-state-metrics
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: RELEASE-NAME-kube-state-metrics
subjects:
- kind: ServiceAccount
name: RELEASE-NAME-kube-state-metrics
namespace: default
| 30 | 49 | 0.757143 |
f72dabfa31477b2914cfecddcc0880099a1ff556 | 1,748 | yaml | YAML | config/prow/cluster/needs-rebase_deployment.yaml | joshuakwan/test-infra | 5349a04bfef5217c237fa92003d49c7d16472c3c | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/needs-rebase_deployment.yaml | joshuakwan/test-infra | 5349a04bfef5217c237fa92003d49c7d16472c3c | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/needs-rebase_deployment.yaml | joshuakwan/test-infra | 5349a04bfef5217c237fa92003d49c7d16472c3c | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: default
name: needs-rebase
labels:
app: needs-rebase
spec:
replicas: 1
selector:
matchLabels:
app: needs-rebase
template:
metadata:
labels:
app: needs-rebase
spec:
terminationGracePeriodSeconds: 180
containers:
- name: needs-rebase
image: gcr.io/k8s-prow/needs-rebase:v20200710-7fa016752a
imagePullPolicy: Always
args:
- --dry-run=false
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
ports:
- name: http
containerPort: 8888
volumeMounts:
- name: hmac
mountPath: /etc/webhook
readOnly: true
- name: oauth
mountPath: /etc/github
readOnly: true
- name: plugins
mountPath: /etc/plugins
readOnly: true
volumes:
- name: hmac
secret:
secretName: hmac-token
- name: oauth
secret:
secretName: oauth-token
- name: plugins
configMap:
name: plugins
| 27.3125 | 74 | 0.632151 |
f72dfeb36eb2729872a02a4ea39c362608fa656e | 113 | yaml | YAML | prow/job-config.yaml | PetarTodorovv/go-with-prow | 3152cda9a7b024b45ad843dbce1b5c3456fee8a7 | [
"Apache-2.0"
] | null | null | null | prow/job-config.yaml | PetarTodorovv/go-with-prow | 3152cda9a7b024b45ad843dbce1b5c3456fee8a7 | [
"Apache-2.0"
] | 9 | 2020-07-02T10:32:30.000Z | 2020-07-03T15:54:25.000Z | prow/job-config.yaml | PetarTodorovv/go-with-prow | 3152cda9a7b024b45ad843dbce1b5c3456fee8a7 | [
"Apache-2.0"
] | 1 | 2020-06-26T07:48:21.000Z | 2020-06-26T07:48:21.000Z | ---
apiVersion: v1
kind: ConfigMap
metadata:
namespace: default
name: job-config
data:
job-config.yaml: ""
| 12.555556 | 21 | 0.699115 |
f72e285a944ae8976407aec5596ae00a24668d74 | 2,943 | yaml | YAML | k8s/linkis-mdm-server-deployment.yaml | pengisgood/Linkis | d77ba29044496837deb42095f7d7424ebda5a9ed | [
"Apache-2.0"
] | null | null | null | k8s/linkis-mdm-server-deployment.yaml | pengisgood/Linkis | d77ba29044496837deb42095f7d7424ebda5a9ed | [
"Apache-2.0"
] | null | null | null | k8s/linkis-mdm-server-deployment.yaml | pengisgood/Linkis | d77ba29044496837deb42095f7d7424ebda5a9ed | [
"Apache-2.0"
] | null | null | null | #
# 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-mdm-server-deployment
spec:
replicas: 1
selector:
matchLabels:
app: linkis-mdm-server
# release: dev
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: linkis-mdm-server
# release: dev
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: "app"
operator: In
values:
- linkis-mdm-server
topologyKey: "kubernetes.io/hostname"
containers:
- name: linkis-mdm-server
image: zhangrong1027/linkis:linkis-mdm-server-0.10.0
lifecycle:
preStop:
exec:
command: ["sh","/opt/ihome/linkis-mdm-server/bin/stop.sh"]
imagePullPolicy: Always
ports:
- name: http
containerPort: 22001
livenessProbe:
tcpSocket:
port: 22001
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: "22001"
volumeMounts:
- name: linkis-mdm-server-config
mountPath: /opt/ihome/conf
# - name: resultset
# mountPath: /opt/ihome/data
- name: varlog
mountPath: /opt/ihome/linkis-mdm-server/logs
imagePullSecrets:
- name: registry-key
volumes:
- name: linkis-mdm-server-config
configMap:
name: linkis-mdm-server-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 | 29.727273 | 74 | 0.553517 |
f72e485188eac366da5bc8ab940c77352e102214 | 1,313 | yaml | YAML | assets/rbac/0000_70_dns-operator_00-cluster-role.yaml | guymguym/microshift | c6355a21b5c0270c8ea243707889bd9b3f545e79 | [
"Apache-2.0"
] | null | null | null | assets/rbac/0000_70_dns-operator_00-cluster-role.yaml | guymguym/microshift | c6355a21b5c0270c8ea243707889bd9b3f545e79 | [
"Apache-2.0"
] | null | null | null | assets/rbac/0000_70_dns-operator_00-cluster-role.yaml | guymguym/microshift | c6355a21b5c0270c8ea243707889bd9b3f545e79 | [
"Apache-2.0"
] | null | null | null | # Cluster role for the operator itself.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-dns-operator
rules:
- apiGroups:
- operator.openshift.io
resources:
- dnses
verbs:
- "*"
- apiGroups:
- operator.openshift.io
resources:
- dnses/status
verbs:
- update
- apiGroups:
- apps
- extensions
resources:
- daemonsets
verbs:
- "*"
- apiGroups:
- ""
resources:
- namespaces
- services
- serviceaccounts
- configmaps
- endpoints
- pods
verbs:
- "*"
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
verbs:
- create
- update
- get
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
- roles
- rolebindings
verbs:
- create
- get
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
verbs:
- update
- apiGroups:
- config.openshift.io
resources:
- clusteroperators
- networks
verbs:
- create
- get
- apiGroups:
- config.openshift.io
resources:
- clusteroperators/status
verbs:
- update
| 13.262626 | 40 | 0.657273 |
f72ed7a27a05817ce525499d9b29a14333afe33a | 631 | yaml | YAML | hbase-ozone/zookeeper-config-configmap.yaml | elek/ozone-perf-env | 0ebb82f9ca3e688ca0a7defac6a21d71001ca7ec | [
"Apache-2.0"
] | 1 | 2020-08-29T21:12:43.000Z | 2020-08-29T21:12:43.000Z | hbase-ozone/zookeeper-config-configmap.yaml | elek/ozone-perf-env | 0ebb82f9ca3e688ca0a7defac6a21d71001ca7ec | [
"Apache-2.0"
] | null | null | null | hbase-ozone/zookeeper-config-configmap.yaml | elek/ozone-perf-env | 0ebb82f9ca3e688ca0a7defac6a21d71001ca7ec | [
"Apache-2.0"
] | null | null | null |
apiVersion: v1
kind: ConfigMap
metadata:
name: zookeeper-config
data:
LOG4J.PROPERTIES_log4j.rootLogger: INFO, stdout
LOG4J.PROPERTIES_log4j.appender.stdout: org.apache.log4j.ConsoleAppender
LOG4J.PROPERTIES_log4j.appender.stdout.layout: org.apache.log4j.PatternLayout
LOG4J.PROPERTIES_log4j.appender.stdout.layout.ConversionPattern: '%d{yyyy-MM-dd
HH:mm:ss} %-5p %c{1}:%L - %m%n'
ZOO.CFG_tickTime: "2000"
ZOO.CFG_dataDir: /data/zookeeper
ZOO.CFG_clientPort: "2181"
ZOO.CFG_initLimit: "5"
ZOO.CFG_syncLimit: "2"
ZOO.CFG_server.0: zookeeper-0.zookeeper:2888:3888
ZOOKEEPER_ID_FROM_HOST: /data/zookeeper
| 33.210526 | 81 | 0.770206 |
f72f0306fcd1e16076805b08b6a7a83a9a2fa9a2 | 719 | yaml | YAML | example/flog-deployment.yaml | scalyr/scalyr-loadgen | 7437b6b544b980d44421069805e99a3ab7d670c5 | [
"Apache-2.0"
] | 2 | 2020-05-26T17:07:35.000Z | 2020-05-29T19:27:44.000Z | example/flog-deployment.yaml | scalyr/scalyr-loadgen | 7437b6b544b980d44421069805e99a3ab7d670c5 | [
"Apache-2.0"
] | null | null | null | example/flog-deployment.yaml | scalyr/scalyr-loadgen | 7437b6b544b980d44421069805e99a3ab7d670c5 | [
"Apache-2.0"
] | 1 | 2020-06-04T00:05:42.000Z | 2020-06-04T00:05:42.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: flog
labels:
app: flog
spec:
replicas: 1
selector:
matchLabels:
app: flog
template:
metadata:
labels:
app: flog
spec:
containers:
- name: flog-load
image: scalyr/flog:v1
imagePullPolicy: IfNotPresent
resources:
limits:
memory: 100Mi
requests:
cpu: 300m
command: ["/bin/flog"]
# To adjust the amount of logs produced by flog, edit the number after `-m`. That is the
# number of megabytes of logs to write per second
args: ["--loop", "--format", "apache_combined", "-m", "", "-r", "/tmp/flog_telemetry.log"]
| 23.193548 | 98 | 0.566064 |
f72f69df5f6027fe7648f18fbda17cedc4a6cf68 | 882 | yaml | YAML | vendor/github.com/kubernetes-incubator/external-storage/nfs/deploy/kubernetes/pod_emptydir.yaml | noonien/kube-hostpath-provisioner | 8aac500a488e99dbc74076db50dc5840d2f5a312 | [
"MIT"
] | null | null | null | vendor/github.com/kubernetes-incubator/external-storage/nfs/deploy/kubernetes/pod_emptydir.yaml | noonien/kube-hostpath-provisioner | 8aac500a488e99dbc74076db50dc5840d2f5a312 | [
"MIT"
] | null | null | null | vendor/github.com/kubernetes-incubator/external-storage/nfs/deploy/kubernetes/pod_emptydir.yaml | noonien/kube-hostpath-provisioner | 8aac500a488e99dbc74076db50dc5840d2f5a312 | [
"MIT"
] | 1 | 2020-09-02T18:29:56.000Z | 2020-09-02T18:29:56.000Z | kind: Pod
apiVersion: v1
metadata:
name: nfs-provisioner
spec:
containers:
- name: nfs-provisioner
image: quay.io/kubernetes_incubator/nfs-provisioner:v1.0.5
ports:
- name: nfs
containerPort: 2049
- name: mountd
containerPort: 20048
- name: rpcbind
containerPort: 111
- name: rpcbind-udp
containerPort: 111
protocol: UDP
securityContext:
capabilities:
add:
- DAC_READ_SEARCH
args:
- "-provisioner=example.com/nfs"
- "-grace-period=0"
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: export-volume
mountPath: /export
volumes:
- name: export-volume
emptyDir: {}
| 23.210526 | 64 | 0.552154 |
f72f7b1b83ef3d83e58ed7b271b08fda1c7b6547 | 144 | yaml | YAML | kubernetes/rs/kubia-svc-name.yaml | TsaoLun/Notes | f373f056df890bf2f215499935a069a04e3b27e1 | [
"Apache-2.0"
] | 1 | 2020-04-20T04:50:55.000Z | 2020-04-20T04:50:55.000Z | kubernetes/rs/kubia-svc-name.yaml | TsaoLun/Notes | f373f056df890bf2f215499935a069a04e3b27e1 | [
"Apache-2.0"
] | 1 | 2021-08-17T17:46:54.000Z | 2022-03-16T09:39:55.000Z | kubernetes/rs/kubia-svc-name.yaml | TsaoLun/Notes | f373f056df890bf2f215499935a069a04e3b27e1 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
spec:
ports:
- name: http
port: 80
targetPort: http
- name: https
port: 443
targetPort: https | 14.4 | 21 | 0.631944 |
f72fad14f746c7cb5ec8082eeba5cc353215a159 | 132 | yaml | YAML | src/base/pod.yaml | DevSeCol/TallerKube4 | 784f95137ea93c595f589ac3b2d75e5d65148abc | [
"MIT"
] | null | null | null | src/base/pod.yaml | DevSeCol/TallerKube4 | 784f95137ea93c595f589ac3b2d75e5d65148abc | [
"MIT"
] | null | null | null | src/base/pod.yaml | DevSeCol/TallerKube4 | 784f95137ea93c595f589ac3b2d75e5d65148abc | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: nginx-pod
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
| 11 | 17 | 0.651515 |
f72fb01cd14a1b15a59a947286dfd0e9254a5911 | 397 | yaml | YAML | config/rbac/batchrelease_editor_role.yaml | veophi/rollouts | ece4408f04d556fcec2b89d0d1d062dc849571e1 | [
"Apache-2.0"
] | 8 | 2022-01-14T10:37:04.000Z | 2022-03-27T11:02:56.000Z | config/rbac/batchrelease_editor_role.yaml | veophi/rollouts | ece4408f04d556fcec2b89d0d1d062dc849571e1 | [
"Apache-2.0"
] | 25 | 2022-01-14T05:37:52.000Z | 2022-03-31T07:08:39.000Z | config/rbac/batchrelease_editor_role.yaml | veophi/rollouts | ece4408f04d556fcec2b89d0d1d062dc849571e1 | [
"Apache-2.0"
] | 4 | 2022-01-14T10:37:07.000Z | 2022-03-22T04:22:59.000Z | # permissions for end users to edit batchreleases.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: batchrelease-editor-role
rules:
- apiGroups:
- rollouts.kruise.io
resources:
- batchreleases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- rollouts.kruise.io
resources:
- batchreleases/status
verbs:
- get
| 15.88 | 50 | 0.697733 |
f72fd8e12658eb455e51b789a4c04d78370a87e6 | 675 | yaml | YAML | Chapter17/Activity17.01/mutating-server.yaml | TrainingByPackt/Kubernetes-Workshop | 1b28e1fdbaa220af77cd318361097af52a72e1c2 | [
"MIT"
] | 7 | 2019-11-25T18:11:01.000Z | 2021-05-11T09:04:45.000Z | Chapter17/Activity17.01/mutating-server.yaml | TrainingByPackt/Kubernetes-Workshop | 1b28e1fdbaa220af77cd318361097af52a72e1c2 | [
"MIT"
] | null | null | null | Chapter17/Activity17.01/mutating-server.yaml | TrainingByPackt/Kubernetes-Workshop | 1b28e1fdbaa220af77cd318361097af52a72e1c2 | [
"MIT"
] | 8 | 2019-12-20T21:57:45.000Z | 2021-03-24T10:57:38.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: webhook-server
labels:
app: webhook-server
spec:
replicas: 1
selector:
matchLabels:
app: webhook-server
template:
metadata:
labels:
app: webhook-server
spec:
containers:
- name: server
image: quay.io/masood_faisal/webhooks:0.0.1
imagePullPolicy: Always
ports:
- containerPort: 8443
name: webhook-api
volumeMounts:
- name: webhook-tls-certs
mountPath: /etc/secrets/tls
readOnly: true
volumes:
- name: webhook-tls-certs
secret:
secretName: webhook-server-tls | 21.774194 | 51 | 0.595556 |
f7300cc1f6058237015ba4281ab005ee2d2d5ca9 | 359 | yaml | YAML | pkg/templates/charts/server-foundation/templates/ocm-webhook-svc.yaml | zhiweiyin318/backplane-operator | 79761f7b3f050d6652abc54c4d04424fee382ecb | [
"Apache-2.0"
] | null | null | null | pkg/templates/charts/server-foundation/templates/ocm-webhook-svc.yaml | zhiweiyin318/backplane-operator | 79761f7b3f050d6652abc54c4d04424fee382ecb | [
"Apache-2.0"
] | null | null | null | pkg/templates/charts/server-foundation/templates/ocm-webhook-svc.yaml | zhiweiyin318/backplane-operator | 79761f7b3f050d6652abc54c4d04424fee382ecb | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 Red Hat, Inc.
# Copyright Contributors to the Open Cluster Management project
apiVersion: v1
kind: Service
metadata:
name: ocm-webhook
labels:
app: ocm-webhook
annotations:
service.beta.openshift.io/serving-cert-secret-name: ocm-webhook
spec:
ports:
- port: 443
targetPort: 8000
selector:
app: ocm-webhook | 21.117647 | 67 | 0.713092 |
f7305a8a147c16a4b4e1a6626bd27b6547dfe886 | 871 | yaml | YAML | kubernetes/deployment.yaml | GarbyX/Cloud-app | 5e23bf79e2263e227dd3451f686c740f52c2d275 | [
"Apache-2.0"
] | null | null | null | kubernetes/deployment.yaml | GarbyX/Cloud-app | 5e23bf79e2263e227dd3451f686c740f52c2d275 | [
"Apache-2.0"
] | null | null | null | kubernetes/deployment.yaml | GarbyX/Cloud-app | 5e23bf79e2263e227dd3451f686c740f52c2d275 | [
"Apache-2.0"
] | null | null | null | # Update <REGISTRY> <NAMESPACE> values before use
apiVersion: apps/v1
kind: Deployment
metadata:
name: get-started-node
labels:
app: get-started-node
spec:
replicas: 1
selector:
matchLabels:
app: get-started-node
template:
metadata:
labels:
app: get-started-node
spec:
containers:
- name: get-started-node
image: <REGISTRY>/<NAMESPACE>/myapp:v1.1.0
ports:
- containerPort: 8080
imagePullPolicy: Always
env:
- name: CLOUDANT_URL
valueFrom:
secretKeyRef:
name: cloudant
key: url
optional: true
- name: CLOUDANT_IAM_API_KEY
valueFrom:
secretKeyRef:
name: cloudant
key: iamApiKey
optional: true
| 22.921053 | 51 | 0.530425 |
f730af0defb7d6a1ef31add662f2a6b16362af8b | 929 | yaml | YAML | crd/mysql_user.yaml | MaxKavun/mysql-k8s-operator | 8af0a48a6224fc3db49f42c078c8c8fb2c1f72f4 | [
"Apache-2.0"
] | null | null | null | crd/mysql_user.yaml | MaxKavun/mysql-k8s-operator | 8af0a48a6224fc3db49f42c078c8c8fb2c1f72f4 | [
"Apache-2.0"
] | null | null | null | crd/mysql_user.yaml | MaxKavun/mysql-k8s-operator | 8af0a48a6224fc3db49f42c078c8c8fb2c1f72f4 | [
"Apache-2.0"
] | null | null | null | apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: users.mysql.group
spec:
scope: Namespaced
group: mysql.group
names:
kind: User
plural: users
singular: user
shortNames:
- user
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
instance:
type: string
mysqlPassword:
type: string
userName:
type: string
additionalPrinterColumns:
- name: Server
type: string
description: The server where user exists
jsonPath: .spec.instance
- name: UserName
type: string
description: User name
jsonPath: .spec.userName
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
| 21.604651 | 47 | 0.576964 |
f730b3560674b451b5e38b774d53738ead2f2540 | 96 | yaml | YAML | tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | 1 | 2020-11-16T02:14:35.000Z | 2020-11-16T02:14:35.000Z | apiVersion: v1
kind: Node
metadata:
name: curry-node-test
labels:
name: curry-node-test
| 13.714286 | 25 | 0.708333 |
f730d2ef03d4a5f237a18984942bca038ef3930e | 925 | yml | YAML | infra/node-app/service.yml | cn-dino/gke-actions | 579823d1177eaa0db960d96e3bacb1cf6efc7b1c | [
"Apache-2.0"
] | null | null | null | infra/node-app/service.yml | cn-dino/gke-actions | 579823d1177eaa0db960d96e3bacb1cf6efc7b1c | [
"Apache-2.0"
] | null | null | null | infra/node-app/service.yml | cn-dino/gke-actions | 579823d1177eaa0db960d96e3bacb1cf6efc7b1c | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# apiVersion: v1
# kind: Service
# metadata:
# name: gke-test-service
# spec:
# type: LoadBalancer
# ports:
# - port: 80
# targetPort: 5000
# selector:
# app: gke-test
kind: Service
apiVersion: v1
metadata:
name: gke-test-service
spec:
selector:
app: gke-test
ports:
- protocol: TCP
port: 8080
targetPort: 8080
| 24.342105 | 74 | 0.712432 |
f730dbd930325ef73eb9d47a5c5d34b995415900 | 146 | yaml | YAML | examples/stock-data.yaml | RobotSail/openshift-copilot-poc | a04c89400411e21629fde7fd4277ba523a243767 | [
"Apache-2.0"
] | 4 | 2022-03-02T17:48:39.000Z | 2022-03-25T10:17:40.000Z | examples/stock-data.yaml | RobotSail/openshift-copilot-poc | a04c89400411e21629fde7fd4277ba523a243767 | [
"Apache-2.0"
] | 12 | 2022-03-09T19:24:43.000Z | 2022-03-31T18:03:39.000Z | examples/stock-data.yaml | RobotSail/openshift-copilot-poc | a04c89400411e21629fde7fd4277ba523a243767 | [
"Apache-2.0"
] | 3 | 2021-12-22T20:26:30.000Z | 2022-01-04T17:49:48.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: myapp-stock-data
data:
# amount of stock
GME: "2400"
# measured in thousand
USD: "25000"
| 14.6 | 24 | 0.691781 |
f730e81be4e895d4dedb855e18c4a02e895c5a2e | 136 | yaml | YAML | home/Secrets/tzi-secrets.yaml | SteffenBlake/SailorKube | de723827f43e518da0422cf9dd474a581aa4037b | [
"MIT"
] | 1 | 2021-09-15T05:52:18.000Z | 2021-09-15T05:52:18.000Z | home/Secrets/tzi-secrets.yaml | SteffenBlake/SailorKube | de723827f43e518da0422cf9dd474a581aa4037b | [
"MIT"
] | null | null | null | home/Secrets/tzi-secrets.yaml | SteffenBlake/SailorKube | de723827f43e518da0422cf9dd474a581aa4037b | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Secret
metadata:
name: tzi-secrets
namespace: tzi-system
type: Opaque
data:
HUGO_PUSH_SECRET: <Base64Secret>
| 15.111111 | 34 | 0.764706 |
f731223023f0605cdb0484221949092fa38d8bc6 | 244 | yaml | YAML | stable/foobar/templates/service.yaml | fitraalim/charts | 5b452d2887cc139f1a86cb310a5140e81c47d984 | [
"Apache-2.0"
] | null | null | null | stable/foobar/templates/service.yaml | fitraalim/charts | 5b452d2887cc139f1a86cb310a5140e81c47d984 | [
"Apache-2.0"
] | null | null | null | stable/foobar/templates/service.yaml | fitraalim/charts | 5b452d2887cc139f1a86cb310a5140e81c47d984 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: foobar
labels:
app: foobar
app.kubernetes.io/name: foobar
spec:
ports:
- port: 5000
name: http
targetPort: 5000
selector:
app: foobar
app.kubernetes.io/name: foobar
| 15.25 | 34 | 0.663934 |
f73164ff0533be4517dbee8d24ab95ec2e08117b | 228 | yaml | YAML | deploy/non-olm/role_binding.yaml | alaypatel07/oadp-operator | 507be9b4bb2a3b861114572ddd1484b28b77893c | [
"Apache-2.0"
] | null | null | null | deploy/non-olm/role_binding.yaml | alaypatel07/oadp-operator | 507be9b4bb2a3b861114572ddd1484b28b77893c | [
"Apache-2.0"
] | null | null | null | deploy/non-olm/role_binding.yaml | alaypatel07/oadp-operator | 507be9b4bb2a3b861114572ddd1484b28b77893c | [
"Apache-2.0"
] | 1 | 2022-03-06T16:46:48.000Z | 2022-03-06T16:46:48.000Z | kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: oadp-operator
subjects:
- kind: ServiceAccount
name: oadp-operator
roleRef:
kind: Role
name: oadp-operator
apiGroup: rbac.authorization.k8s.io
| 19 | 40 | 0.77193 |
f731a53ea5dd0a2fe04cc4ee06cfc7c980a5a175 | 343 | yaml | YAML | staging/volumes/quobyte/quobyte-pod.yaml | DeanJain/examples | ef5deea76e023e32dbb71eba5e4f5c4840273e86 | [
"Apache-2.0"
] | 4,959 | 2017-05-19T21:38:25.000Z | 2022-03-31T12:35:01.000Z | staging/volumes/quobyte/quobyte-pod.yaml | DeanJain/examples | ef5deea76e023e32dbb71eba5e4f5c4840273e86 | [
"Apache-2.0"
] | 455 | 2015-07-28T11:14:25.000Z | 2018-06-20T14:10:35.000Z | staging/volumes/quobyte/quobyte-pod.yaml | DeanJain/examples | ef5deea76e023e32dbb71eba5e4f5c4840273e86 | [
"Apache-2.0"
] | 3,767 | 2017-05-01T12:05:45.000Z | 2022-03-31T17:17:24.000Z | apiVersion: v1
kind: Pod
metadata:
name: quobyte
spec:
containers:
- name: quobyte
image: kubernetes/pause
volumeMounts:
- mountPath: /mnt
name: quobytevolume
volumes:
- name: quobytevolume
quobyte:
registry: registry:7861
volume: testVolume
readOnly: false
user: root
group: root
| 17.15 | 29 | 0.644315 |
f731b560cf4588dc1e9287640078c4740b9b4fc9 | 1,477 | yaml | YAML | .dockworker/deployment/k8s/dev/cron.yaml | unb-libraries/unbherbarium.lib.unb.ca | 4828568da7fe54d91593403ae14234dfb4e179f5 | [
"MIT"
] | null | null | null | .dockworker/deployment/k8s/dev/cron.yaml | unb-libraries/unbherbarium.lib.unb.ca | 4828568da7fe54d91593403ae14234dfb4e179f5 | [
"MIT"
] | null | null | null | .dockworker/deployment/k8s/dev/cron.yaml | unb-libraries/unbherbarium.lib.unb.ca | 4828568da7fe54d91593403ae14234dfb4e179f5 | [
"MIT"
] | null | null | null | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: cron-unbherbarium-lib-unb-ca
namespace: dev
labels:
app: drupal
tier: cron
spec:
schedule: "08,23,38,53 * * * *"
startingDeadlineSeconds: 480
concurrencyPolicy: Forbid
jobTemplate:
metadata:
name: cron-unbherbarium-lib-unb-ca
labels:
app: drupal
tier: cron
spec:
template:
spec:
nodeSelector:
deployenv: dev
containers:
-
name: cron-unbherbarium-lib-unb-ca
command:
- /scripts/drupalCronEntry.sh
env:
-
name: DEPLOY_ENV
value: dev
-
name: MYSQL_HOSTNAME
value: drupal-mysql-lib-unb-ca
-
name: MYSQL_PORT
value: "3306"
image: "||DEPLOYMENTIMAGE||"
imagePullPolicy: Always
volumeMounts:
-
mountPath: /app/html/sites/default
name: drupal-persistent-storage
priorityClassName: cron-priority-services
imagePullSecrets:
-
name: github-container-registry-auth
restartPolicy: Never
volumes:
-
name: drupal-persistent-storage
persistentVolumeClaim:
claimName: unbherbarium-lib-unb-ca
| 26.854545 | 52 | 0.498307 |
f731daef174b9e7c4cf6f076a5d72df5fd3802c5 | 285 | yaml | YAML | quarkus/product/argocd/plain-yaml/service.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 7 | 2018-05-15T06:51:36.000Z | 2021-01-09T08:49:08.000Z | quarkus/product/argocd/plain-yaml/service.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 12 | 2020-07-04T17:17:54.000Z | 2022-02-26T14:47:59.000Z | quarkus/product/argocd/plain-yaml/service.yaml | justindav1s/product_backend | 8b7f0251214624ae77a6a0eca8749329aa442c2c | [
"Apache-2.0"
] | 6 | 2019-01-24T19:49:57.000Z | 2020-12-29T09:32:04.000Z | apiVersion: v1
kind: Service
metadata:
labels:
app: product
name: product
namespace: product-plain-yaml
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
selector:
app: product
deploymentconfig: product
sessionAffinity: None
type: ClusterIP | 16.764706 | 33 | 0.694737 |
f73203dad7a15dcb9912ca38e67b1a6385968c3f | 715 | yaml | YAML | config/prow/cluster/boskos-reaper_deployment.yaml | vpickard/test-infra | 8e235d9658298f0fb5d3160445d4407b89cc2f20 | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/boskos-reaper_deployment.yaml | vpickard/test-infra | 8e235d9658298f0fb5d3160445d4407b89cc2f20 | [
"Apache-2.0"
] | null | null | null | config/prow/cluster/boskos-reaper_deployment.yaml | vpickard/test-infra | 8e235d9658298f0fb5d3160445d4407b89cc2f20 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: boskos-reaper
labels:
app: boskos-reaper
namespace: test-pods
spec:
selector:
matchLabels:
app: boskos-reaper
replicas: 1 # one canonical source of resources
template:
metadata:
labels:
app: boskos-reaper
spec:
terminationGracePeriodSeconds: 30
containers:
- name: boskos-reaper
image: gcr.io/k8s-prow/boskos/reaper:v20200501-e6124e633
args:
- --boskos-url=http://boskos.test-pods.svc.cluster.local.
- --resource-type=gce-project,gke-project,gpu-project,ingress-project,istio-project,scalability-presubmit-project,scalability-project,aws-account,node-e2e-project
| 28.6 | 170 | 0.693706 |
f732327331bd3cf25f7e765bf05c208a23981b02 | 573 | yaml | YAML | kubernetes/overlays/dev/configmaps.yaml | paulyhedral/sweetrpg-library-api | 0105e963ef4321398aa66d7cb3aa9c2df1c4f375 | [
"MIT"
] | null | null | null | kubernetes/overlays/dev/configmaps.yaml | paulyhedral/sweetrpg-library-api | 0105e963ef4321398aa66d7cb3aa9c2df1c4f375 | [
"MIT"
] | 33 | 2021-09-18T23:52:05.000Z | 2022-03-30T12:25:49.000Z | kubernetes/overlays/dev/configmaps.yaml | sweetrpg/library-api | 0105e963ef4321398aa66d7cb3aa9c2df1c4f375 | [
"MIT"
] | null | null | null | ---
apiVersion: v1
kind: ConfigMap
metadata:
name: api-v1-env
data:
PORT: "8281"
SERVICE_CHECK_URL: unset
HEALTH_CHECK_URL: unset
BUILD_INFO_PATH: /app/build-info.json
SERVICE_REGISTRATION_URL: "http://consul.sweetrpg-support.svc.cluster.local:1234"
# SERVER_NAME: dev.sweetrpg.com
JAEGER_SERVICE_NAME: library-api.sweetrpg-library
JAEGER_SAMPLER_TYPE: ratelimiting
JAEGER_SAMPLER_PARAM: "1"
JAEGER_PROPAGATION: b3
JAEGER_ENDPOINT: http://jaeger-collector.istio-system.svc.cluster.local:14268/api/traces
| 28.65 | 93 | 0.722513 |
f7323968840ebec6f3c393358d72225eaa74a7ec | 200 | yaml | YAML | k8s/kinds/resourcequota/resource-quota.yaml | mggeorgiev/linux-scripts | d3643e2da90a2f07b24e40e91751555bef92d038 | [
"MIT"
] | null | null | null | k8s/kinds/resourcequota/resource-quota.yaml | mggeorgiev/linux-scripts | d3643e2da90a2f07b24e40e91751555bef92d038 | [
"MIT"
] | null | null | null | k8s/kinds/resourcequota/resource-quota.yaml | mggeorgiev/linux-scripts | d3643e2da90a2f07b24e40e91751555bef92d038 | [
"MIT"
] | 1 | 2019-10-15T11:47:25.000Z | 2019-10-15T11:47:25.000Z | apiVersion: v1
kind: ResourceQuota
metadata:
name: mem-cpu-quota
namespace: martingeorgiev
spec:
hard:
requests.cpu: "4"
requests.memory: 8Gi
limits.cpu: "8"
limits.memory: 16Gi
| 16.666667 | 27 | 0.69 |
f7323bd4a18bed286388c1e198961b0ac14ef18b | 176 | yaml | YAML | config/samples/pvc.yaml | kubetrail/k8s-rpi | cdd41d14a654fb45d305ed8c5accc97c2799382b | [
"Apache-2.0"
] | null | null | null | config/samples/pvc.yaml | kubetrail/k8s-rpi | cdd41d14a654fb45d305ed8c5accc97c2799382b | [
"Apache-2.0"
] | null | null | null | config/samples/pvc.yaml | kubetrail/k8s-rpi | cdd41d14a654fb45d305ed8c5accc97c2799382b | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs
resources:
requests:
storage: 1Gi
| 14.666667 | 27 | 0.715909 |
f732469de01f6dfb82ebb3e22db299b79556e8b7 | 1,064 | yaml | YAML | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | ElephoneApp/kubernetes | 004bf5d2558a7f6b0a1771e265d40ef64689ca5f | [
"Apache-2.0"
] | null | null | null | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | ElephoneApp/kubernetes | 004bf5d2558a7f6b0a1771e265d40ef64689ca5f | [
"Apache-2.0"
] | null | null | null | cluster/addons/cluster-monitoring/googleinfluxdb/heapster-controller-combined.yaml | ElephoneApp/kubernetes | 004bf5d2558a7f6b0a1771e265d40ef64689ca5f | [
"Apache-2.0"
] | 2 | 2020-11-04T04:57:39.000Z | 2021-01-12T09:51:04.000Z | apiVersion: v1
kind: ReplicationController
metadata:
name: monitoring-heapster-v6
namespace: kube-system
labels:
k8s-app: heapster
version: v6
kubernetes.io/cluster-service: "true"
spec:
replicas: 1
selector:
k8s-app: heapster
version: v6
template:
metadata:
labels:
k8s-app: heapster
version: v6
kubernetes.io/cluster-service: "true"
spec:
containers:
- image: gcr.io/google_containers/heapster:v0.16.1
name: heapster
resources:
limits:
cpu: 100m
memory: 300Mi
command:
- /heapster
- --source=kubernetes:''
- --sink=gcl
- --sink=influxdb:http://monitoring-influxdb:8086
- --poll_duration=2m
- --stats_resolution=1m
volumeMounts:
- name: ssl-certs
mountPath: /etc/ssl/certs
readOnly: true
volumes:
- name: ssl-certs
hostPath:
path: "/etc/ssl/certs"
| 24.181818 | 61 | 0.537594 |
f7328b80df005163e7535d73dd746250c134aa74 | 650 | yaml | YAML | kube/users-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | kube/users-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | kube/users-deployment.yaml | sbalasubramanian14/nodejs-microservices-api | 892b994a91e8b1bfcd316e7549419dd322d705f5 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: users-deployment
spec:
replicas: 3
selector:
matchLabels:
component: users
template:
metadata:
labels:
component: users
spec:
containers:
- name: users
image: sbalasubramanian14/users-api
ports:
- containerPort: 5000
env:
- name: DATABASE_HOST
value: mysql-cluster-ip-service
- name: DATABASE_NAME
value: mydatabase
- name: DATABASE_USERNAME
value: root
- name: DATABASE_PASSWORD
value: admin@123
| 22.413793 | 45 | 0.549231 |
f73298d8d3568e424b45bcae5d8bc49c225fa20b | 363 | yaml | YAML | config-root/namespaces/jx/tekton/build-bot-rolebinding.yaml | cb-kubecd/jr-dev9 | 0ee6f30f0e4c3d12430108e28c57f36fc3739400 | [
"Apache-2.0"
] | 2 | 2020-08-03T12:09:38.000Z | 2020-08-03T12:09:41.000Z | config-root/namespaces/jx/tekton/build-bot-rolebinding.yaml | cb-kubecd/jr-dev9 | 0ee6f30f0e4c3d12430108e28c57f36fc3739400 | [
"Apache-2.0"
] | 5 | 2020-08-16T06:50:40.000Z | 2020-08-17T09:14:27.000Z | config-root/namespaces/jx/tekton/build-bot-rolebinding.yaml | cb-kubecd/jr-dev9 | 0ee6f30f0e4c3d12430108e28c57f36fc3739400 | [
"Apache-2.0"
] | null | null | null | # Source: tekton/templates/build-bot-rolebinding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: tekton-bot
namespace: jx
labels:
gitops.jenkins-x.io/pipeline: 'environment'
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: tekton-bot
subjects:
- kind: ServiceAccount
name: tekton-bot
namespace: jx
| 21.352941 | 53 | 0.754821 |
f732afb2a0a146cb2003d877d396ecb0ca5f9477 | 208 | yaml | YAML | forMysql/load2mysql.yaml | tetrar124/myK8sHelmEnv | 00b5b6d4ab991eab612780693ae280f9c6e0ef39 | [
"MIT"
] | null | null | null | forMysql/load2mysql.yaml | tetrar124/myK8sHelmEnv | 00b5b6d4ab991eab612780693ae280f9c6e0ef39 | [
"MIT"
] | null | null | null | forMysql/load2mysql.yaml | tetrar124/myK8sHelmEnv | 00b5b6d4ab991eab612780693ae280f9c6e0ef39 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: mysql-loadbalancer
spec:
selector:
app: mysql
ports:
- port: 3306
targetPort: 3306
type: LoadBalancer
loadBalancerIP: "127.0.0.1" | 17.333333 | 31 | 0.649038 |
f732cd04e50415f0f2824adf8933295490731367 | 8,252 | yaml | YAML | examples/kubernetes/1.12/cilium-ds.yaml | salbertson/cilium | a355f5f51221ab1e4b102f4d501b517c2e8c23d6 | [
"Apache-2.0"
] | null | null | null | examples/kubernetes/1.12/cilium-ds.yaml | salbertson/cilium | a355f5f51221ab1e4b102f4d501b517c2e8c23d6 | [
"Apache-2.0"
] | null | null | null | examples/kubernetes/1.12/cilium-ds.yaml | salbertson/cilium | a355f5f51221ab1e4b102f4d501b517c2e8c23d6 | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: cilium
namespace: kube-system
spec:
updateStrategy:
type: "RollingUpdate"
rollingUpdate:
# Specifies the maximum number of Pods that can be unavailable during the update process.
maxUnavailable: 2
selector:
matchLabels:
k8s-app: cilium
kubernetes.io/cluster-service: "true"
template:
metadata:
labels:
k8s-app: cilium
kubernetes.io/cluster-service: "true"
annotations:
# This annotation plus the CriticalAddonsOnly toleration makes
# cilium to be a critical pod in the cluster, which ensures cilium
# gets priority scheduling.
# https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: >-
[{"key":"dedicated","operator":"Equal","value":"master","effect":"NoSchedule"}]
prometheus.io/scrape: "true"
prometheus.io/port: "9090"
spec:
serviceAccountName: cilium
initContainers:
- name: clean-cilium-state
image: docker.io/library/busybox:1.28.4
imagePullPolicy: IfNotPresent
command: ['sh', '-c', 'if [ "${CLEAN_CILIUM_STATE}" = "true" ]; then rm -rf /var/run/cilium/state; rm -rf /sys/fs/bpf/tc/globals/cilium_*; fi']
securityContext:
capabilities:
add:
- "NET_ADMIN"
privileged: true
volumeMounts:
- name: bpf-maps
mountPath: /sys/fs/bpf
- name: cilium-run
mountPath: /var/run/cilium
env:
- name: "CLEAN_CILIUM_STATE"
valueFrom:
configMapKeyRef:
name: cilium-config
optional: true
key: clean-cilium-state
containers:
- image: docker.io/cilium/cilium:latest
imagePullPolicy: Always
name: cilium-agent
command: ["cilium-agent"]
args:
- "--debug=$(CILIUM_DEBUG)"
- "--kvstore=etcd"
- "--kvstore-opt=etcd.config=/var/lib/etcd-config/etcd.config"
- "--disable-ipv4=$(DISABLE_IPV4)"
ports:
- name: prometheus
containerPort: 9090
lifecycle:
postStart:
exec:
command:
- "/cni-install.sh"
preStop:
exec:
command:
- "/cni-uninstall.sh"
env:
- name: "K8S_NODE_NAME"
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: "CILIUM_DEBUG"
valueFrom:
configMapKeyRef:
name: cilium-config
key: debug
- name: "DISABLE_IPV4"
valueFrom:
configMapKeyRef:
name: cilium-config
key: disable-ipv4
# Note: this variable is a no-op if not defined, and is used in the
# prometheus examples.
- name: "CILIUM_PROMETHEUS_SERVE_ADDR"
valueFrom:
configMapKeyRef:
name: cilium-metrics-config
optional: true
key: prometheus-serve-addr
- name: "CILIUM_LEGACY_HOST_ALLOWS_WORLD"
valueFrom:
configMapKeyRef:
name: cilium-config
optional: true
key: legacy-host-allows-world
- name: "CILIUM_SIDECAR_ISTIO_PROXY_IMAGE"
valueFrom:
configMapKeyRef:
name: cilium-config
key: sidecar-istio-proxy-image
optional: true
- name: "CILIUM_TUNNEL"
valueFrom:
configMapKeyRef:
key: tunnel
name: cilium-config
optional: true
- name: "CILIUM_MONITOR_AGGREGATION_LEVEL"
valueFrom:
configMapKeyRef:
key: monitor-aggregation-level
name: cilium-config
optional: true
- name: CILIUM_CLUSTERMESH_CONFIG
value: "/var/lib/cilium/clustermesh/"
- name: CILIUM_CLUSTER_NAME
valueFrom:
configMapKeyRef:
key: cluster-name
name: cilium-config
optional: true
- name: CILIUM_CLUSTER_ID
valueFrom:
configMapKeyRef:
key: cluster-id
name: cilium-config
optional: true
livenessProbe:
exec:
command:
- cilium
- status
# The initial delay for the liveness probe is intentionally large to
# avoid an endless kill & restart cycle if in the event that the initial
# bootstrapping takes longer than expected.
initialDelaySeconds: 120
failureThreshold: 10
periodSeconds: 10
readinessProbe:
exec:
command:
- cilium
- status
initialDelaySeconds: 5
periodSeconds: 5
volumeMounts:
- name: bpf-maps
mountPath: /sys/fs/bpf
- name: cilium-run
mountPath: /var/run/cilium
- name: cni-path
mountPath: /host/opt/cni/bin
- name: etc-cni-netd
mountPath: /host/etc/cni/net.d
- name: docker-socket
mountPath: /var/run/docker.sock
readOnly: true
- name: etcd-config-path
mountPath: /var/lib/etcd-config
readOnly: true
- name: etcd-secrets
mountPath: /var/lib/etcd-secrets
readOnly: true
- name: clustermesh-secrets
mountPath: /var/lib/cilium/clustermesh
readOnly: true
securityContext:
capabilities:
add:
- "NET_ADMIN"
privileged: true
hostNetwork: true
volumes:
# To keep state between restarts / upgrades
- name: cilium-run
hostPath:
path: /var/run/cilium
type: "DirectoryOrCreate"
# To keep state between restarts / upgrades
- name: bpf-maps
hostPath:
path: /sys/fs/bpf
type: "DirectoryOrCreate"
# To read docker events from the node
- name: docker-socket
hostPath:
path: /var/run/docker.sock
type: "Socket"
# To install cilium cni plugin in the host
- name: cni-path
hostPath:
path: /opt/cni/bin
type: "DirectoryOrCreate"
# To install cilium cni configuration in the host
- name: etc-cni-netd
hostPath:
path: /etc/cni/net.d
type: "DirectoryOrCreate"
# To read the etcd config stored in config maps
- name: etcd-config-path
configMap:
name: cilium-config
items:
- key: etcd-config
path: etcd.config
# To read the k8s etcd secrets in case the user might want to use TLS
- name: etcd-secrets
secret:
secretName: cilium-etcd-secrets
optional: true
# To read the clustermesh configuration
- name: clustermesh-secrets
secret:
defaultMode: 420
optional: true
secretName: cilium-clustermesh
restartPolicy: Always
priorityClassName: system-node-critical
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
# Mark cilium's pod as critical for rescheduling
- key: CriticalAddonsOnly
operator: "Exists"
| 34.527197 | 153 | 0.516602 |
f732e2ca003981251020f68390926a8a50017734 | 853 | yaml | YAML | kurl_proxy/kustomize/base/deployment.yaml | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 292 | 2019-11-20T17:11:17.000Z | 2021-07-16T10:34:32.000Z | kurl_proxy/kustomize/base/deployment.yaml | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 89 | 2019-11-22T15:03:30.000Z | 2020-05-29T19:28:40.000Z | kurl_proxy/kustomize/base/deployment.yaml | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 7 | 2020-01-15T05:21:29.000Z | 2021-07-22T16:07:59.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: kurl-proxy
labels:
app: kurl-proxy
spec:
selector:
matchLabels:
app: kurl-proxy
template:
metadata:
labels:
app: kurl-proxy
spec:
containers:
- name: proxy
image: kurl/proxy
env:
- name: NODE_PORT
value: "30880"
- name: UPSTREAM_ORIGIN
value: http://127.0.0.1:8800
- name: TLS_SECRET_NAME
value: kotsadm-tls
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
volumeMounts:
- name: kotsadm-config
mountPath: /etc/kotsadm
serviceAccount: kurl-proxy
volumes:
- name: kotsadm-config
configMap:
name: kotsadm-application-metadata
optional: true
| 21.871795 | 44 | 0.556858 |
f733ab1ffe2a0cff19d5f16be31c4d33a4723941 | 537 | yaml | YAML | script/kubernetes/istio_demo_client.yaml | freshchen/dev-tools | f1e564dd61a2c17ce992c436c9db7bde0e00bacc | [
"Apache-2.0"
] | 2 | 2021-01-16T15:33:55.000Z | 2021-12-22T15:15:01.000Z | script/kubernetes/istio_demo_client.yaml | freshchen/dev-tools | f1e564dd61a2c17ce992c436c9db7bde0e00bacc | [
"Apache-2.0"
] | 1 | 2021-09-08T08:40:52.000Z | 2021-09-08T08:40:52.000Z | script/kubernetes/istio_demo_client.yaml | freshchen/dev-tools | f1e564dd61a2c17ce992c436c9db7bde0e00bacc | [
"Apache-2.0"
] | 1 | 2021-09-23T09:12:35.000Z | 2021-09-23T09:12:35.000Z | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: client
labels:
app: client
spec:
replicas: 1
template:
metadata:
name: client
# annotations:
# sidecar.istio.io/inject: "false"
labels:
app: client
spec:
containers:
- name: client
image: alpine
imagePullPolicy: IfNotPresent
command:
- bin/sh
- -c
- sleep 10086
restartPolicy: Always
selector:
matchLabels:
app: client | 18.517241 | 47 | 0.530726 |
f733d26b7293e83075d565216a6900a8dc4e7a36 | 405 | yaml | YAML | config-root/namespaces/myjenkins/jenkins/templates/tests/jenkins-tests-cm.yaml | bluegreendeployment/cluster | eedf0f9436cc0d6f957c21e035e1a30c13afc5b1 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/myjenkins/jenkins/templates/tests/jenkins-tests-cm.yaml | bluegreendeployment/cluster | eedf0f9436cc0d6f957c21e035e1a30c13afc5b1 | [
"Apache-2.0"
] | 24 | 2021-05-29T21:13:41.000Z | 2021-06-02T18:06:08.000Z | config-root/namespaces/myjenkins/jenkins/templates/tests/jenkins-tests-cm.yaml | mashaya/jx3-k8s | 8cf32bccfc976d84ffed5c818245acef2e4a648c | [
"Apache-2.0"
] | null | null | null | # Source: jenkins/templates/tests/test-config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: jenkins-tests
namespace: myjenkins
annotations:
"helm.sh/hook": test
meta.helm.sh/release-name: 'jenkins'
labels:
gitops.jenkins-x.io/pipeline: 'namespaces'
data:
run.sh: |-
@test "Testing Jenkins UI is accessible" {
curl --retry 48 --retry-delay 10 jenkins:8080/login
}
| 23.823529 | 57 | 0.693827 |
f733d5e06a1e1b8c8dd68f62d0aae4e79053866f | 778 | yaml | YAML | my-yaml-files/WORKLOAD_DEFAULT/tf-ssdmobilenet-default-1024-2.yaml | aferikoglou/ECE-Diploma | 50add6c700341e8c471d1c7464d9f7f2c0b756f8 | [
"MIT"
] | 7 | 2020-02-12T11:50:17.000Z | 2022-01-12T14:22:06.000Z | my-yaml-files/WORKLOAD_DEFAULT/tf-ssdmobilenet-default-1024-2.yaml | aferikoglou/ECE-Diploma | 50add6c700341e8c471d1c7464d9f7f2c0b756f8 | [
"MIT"
] | null | null | null | my-yaml-files/WORKLOAD_DEFAULT/tf-ssdmobilenet-default-1024-2.yaml | aferikoglou/ECE-Diploma | 50add6c700341e8c471d1c7464d9f7f2c0b756f8 | [
"MIT"
] | 2 | 2020-01-17T12:36:14.000Z | 2022-01-24T17:22:10.000Z | apiVersion: batch/v1
kind: Job
metadata:
name: tf-ssdmobilenet-default-1024-2
spec:
backoffLimit: 20
completions: 1
parallelism: 1
template:
metadata:
name: tf-ssdmobilenet-default-1024-2-pod
spec:
containers:
- command:
- sh
- -c
- cp /root/configs/1024/mlperf.conf /root/inference/v0.5/ && cd /root/inference/v0.5/classification_and_detection
&& MODEL_DIR=/root/models/tf-ssdmobilenet-default DATA_DIR=/root/datasets/coco-300
./run_local.sh tf ssd-mobilenet gpu --scenario SingleStream
image: aferikoglou/mlperf-inference:latest
name: mlperf-inference-container
resources:
limits:
nvidia.com/gpu: 1
hostIPC: true
restartPolicy: OnFailure
| 28.814815 | 121 | 0.651671 |
f733eb787a33bb95a4d1c5e6d927704bc7bb3de6 | 424 | yaml | YAML | config/rbac/cloudstackaffinitygroup_viewer_role.yaml | aws/cluster-api-provider-cloudstack | b9dc417e24dbd90e1c1eb5573d5c735444eca64d | [
"Apache-2.0"
] | 8 | 2022-01-18T22:14:26.000Z | 2022-03-07T13:33:58.000Z | config/rbac/cloudstackaffinitygroup_viewer_role.yaml | aws/cluster-api-provider-cloudstack | b9dc417e24dbd90e1c1eb5573d5c735444eca64d | [
"Apache-2.0"
] | 56 | 2022-01-18T22:35:21.000Z | 2022-03-31T18:44:51.000Z | config/rbac/cloudstackaffinitygroup_viewer_role.yaml | aws/cluster-api-provider-cloudstack | b9dc417e24dbd90e1c1eb5573d5c735444eca64d | [
"Apache-2.0"
] | 5 | 2022-01-19T18:27:29.000Z | 2022-02-21T18:23:21.000Z | # permissions for end users to view cloudstackaffinitygroups.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cloudstackaffinitygroup-viewer-role
rules:
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- cloudstackaffinitygroups
verbs:
- get
- list
- watch
- apiGroups:
- infrastructure.cluster.x-k8s.io
resources:
- cloudstackaffinitygroups/status
verbs:
- get
| 20.190476 | 61 | 0.754717 |
f7349fb74a3a3e14db0a2d01e81f64834dd1840f | 2,228 | yaml | YAML | deployment/kubernetes/go-ycsb-batch.yaml | firebolt-analytics/fdb-prometheus-exporter | 533b233fc736bbd9fbd180fe586804ca75e57831 | [
"Apache-2.0"
] | 8 | 2020-02-25T05:56:14.000Z | 2021-04-23T19:28:23.000Z | deployment/kubernetes/go-ycsb-batch.yaml | firebolt-analytics/fdb-prometheus-exporter | 533b233fc736bbd9fbd180fe586804ca75e57831 | [
"Apache-2.0"
] | null | null | null | deployment/kubernetes/go-ycsb-batch.yaml | firebolt-analytics/fdb-prometheus-exporter | 533b233fc736bbd9fbd180fe586804ca75e57831 | [
"Apache-2.0"
] | 5 | 2020-02-25T07:46:27.000Z | 2022-03-26T01:53:18.000Z | apiVersion: batch/v1
kind: Job
metadata:
name: fdb-bench
spec:
template:
spec:
containers:
- name: fdb-workloada
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloada", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
- name: fdb-workloadb
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloadb", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
- name: fdb-workloadc
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloadc", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
- name: fdb-workloadd
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloadd", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
- name: fdb-workloade
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloade", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
- name: fdb-workloadf
image: pierrezemb/go-ycsb:fdb-6.2.11
command: [ "/go-ycsb", "run", "basic", "-P", "workloads/workloadf", "-p", "fdb.cluster=/mnt/config-volume/cluster-file", "-p", "fdb.apiversion=620"]
volumeMounts:
- name: config-volume
mountPath: /mnt/config-volume
volumes:
- name: config-volume
configMap:
name: sample-cluster-config
restartPolicy: Never
backoffLimit: 1
completions: 4
parallelism: 1 | 37.762712 | 156 | 0.59246 |
f734b221735d34458cf794c473715ec1f3da87f5 | 251 | yaml | YAML | k8s/persistent-volume.yaml | pvkvicky2000/max-k8s | c44d28f1e8c0f37d962578fa1adf89003d8943bc | [
"Apache-2.0"
] | 2 | 2021-09-21T08:31:55.000Z | 2021-09-21T08:52:40.000Z | k8s/persistent-volume.yaml | pvkvicky2000/max-k8s | c44d28f1e8c0f37d962578fa1adf89003d8943bc | [
"Apache-2.0"
] | null | null | null | k8s/persistent-volume.yaml | pvkvicky2000/max-k8s | c44d28f1e8c0f37d962578fa1adf89003d8943bc | [
"Apache-2.0"
] | 1 | 2021-10-04T09:46:48.000Z | 2021-10-04T09:46:48.000Z | kind: PersistentVolume
apiVersion: v1
metadata:
name: maximo-persistent-volume
labels:
type: local
spec:
storageClassName: pv-local
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
hostPath:
path: "./persistent-volume" | 17.928571 | 32 | 0.713147 |
f734e1c35a2eb15f6c36f2a2e8f78ebd4c894f2f | 3,195 | yaml | YAML | helm-charts/charts/flink/templates/configmap.yaml | peterbangert/MP-DS | 84f2a7681cd4f4a5d74465eb770217ae6f70eb9f | [
"Apache-2.0"
] | 2 | 2021-01-19T15:56:55.000Z | 2021-01-25T15:08:05.000Z | helm-charts/charts/flink/templates/configmap.yaml | peterbangert/MP-DS | 84f2a7681cd4f4a5d74465eb770217ae6f70eb9f | [
"Apache-2.0"
] | 14 | 2020-11-14T20:11:25.000Z | 2020-12-15T11:31:20.000Z | helm-charts/charts/flink/templates/configmap.yaml | peterbangert/MP-DS | 84f2a7681cd4f4a5d74465eb770217ae6f70eb9f | [
"Apache-2.0"
] | 1 | 2021-01-27T14:58:14.000Z | 2021-01-27T14:58:14.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: flink-config
labels:
app: flink
data:
flink-conf.yaml: |+
jobmanager.rpc.address: flink-jobmanager
taskmanager.numberOfTaskSlots: 1
blob.server.port: 6124
jobmanager.rpc.port: 6123
taskmanager.rpc.port: 6122
jobmanager.memory.process.size: {{ .Values.jobmanager.configMemory }}
taskmanager.memory.process.size: {{ .Values.taskmanager.configMemory }}
parallelism.default: 1
## High Availabilty
{{- if .Values.highAvailability.enabled }}
high-availability: zookeeper
high-availability.storageDir: {{ .Values.highAvailability.storageDir }}
high-availability.zookeeper.quorum: {{ .Values.highAvailability.zookeeperQuorum }}
high-availability.cluster-id: /flink
high-availability.jobmanager.port: 6123
high-availability.zookeeper.client.acl: open
{{- end}}
metrics.latency.granularity: OPERATOR
metrics.latency.interval: 1000
metrics.reporters: prom
metrics.reporter.prom.class: org.apache.flink.metrics.prometheus.PrometheusReporter
metrics.reporter.prom.port: 9999
metrics.reporter.jmx.class: org.apache.flink.metrics.jmx.JMXReporter
metrics.reporter.jmx.port: 8789
log4j.properties: |+
# This affects logging for both user code and Flink
rootLogger.level = INFO
rootLogger.appenderRef.console.ref = ConsoleAppender
rootLogger.appenderRef.rolling.ref = RollingFileAppender
# Uncomment this if you want to _only_ change Flink's logging
#logger.flink.name = org.apache.flink
#logger.flink.level = INFO
# The following lines keep the log level of common libraries/connectors on
# log level INFO. The root logger does not override this. You have to manually
# change the log levels here.
logger.akka.name = akka
logger.akka.level = INFO
logger.kafka.name= org.apache.kafka
logger.kafka.level = INFO
logger.hadoop.name = org.apache.hadoop
logger.hadoop.level = INFO
logger.zookeeper.name = org.apache.zookeeper
logger.zookeeper.level = INFO
# Log all infos to the console
appender.console.name = ConsoleAppender
appender.console.type = CONSOLE
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n
# Log all infos in the given rolling file
appender.rolling.name = RollingFileAppender
appender.rolling.type = RollingFile
appender.rolling.append = false
appender.rolling.fileName = ${sys:log.file}
appender.rolling.filePattern = ${sys:log.file}.%i
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c %x - %m%n
appender.rolling.policies.type = Policies
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size=100MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 10
# Suppress the irrelevant (wrong) warnings from the Netty channel handler
logger.netty.name = org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline
logger.netty.level = OFF
| 38.963415 | 99 | 0.732394 |
f7350a1f011bc8e71eb3890c3b3069cb368f0b23 | 1,621 | yaml | YAML | manifests/0000_11_kube-scheduler-operator_06_deployment.yaml | derekwaynecarr/cluster-kube-scheduler-operator | 4a91dea6712df0aed9e3dffbc751eb2685f5e59c | [
"Apache-2.0"
] | null | null | null | manifests/0000_11_kube-scheduler-operator_06_deployment.yaml | derekwaynecarr/cluster-kube-scheduler-operator | 4a91dea6712df0aed9e3dffbc751eb2685f5e59c | [
"Apache-2.0"
] | null | null | null | manifests/0000_11_kube-scheduler-operator_06_deployment.yaml | derekwaynecarr/cluster-kube-scheduler-operator | 4a91dea6712df0aed9e3dffbc751eb2685f5e59c | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: openshift-kube-scheduler-operator
name: openshift-kube-scheduler-operator
labels:
app: openshift-kube-scheduler-operator
spec:
replicas: 1
selector:
matchLabels:
app: openshift-kube-scheduler-operator
template:
metadata:
name: openshift-kube-scheduler-operator
labels:
app: openshift-kube-scheduler-operator
spec:
serviceAccountName: openshift-kube-scheduler-operator
containers:
- name: kube-scheduler-operator-container
image: docker.io/openshift/origin-cluster-kube-scheduler-operator:v4.0
imagePullPolicy: Always
command: ["cluster-kube-scheduler-operator", "operator"]
args:
- "--config=/var/run/configmaps/config/config.yaml"
- "-v=4"
resources:
requests:
memory: 50Mi
volumeMounts:
- mountPath: /var/run/configmaps/config
name: config
env:
- name: IMAGE
value: quay.io/openshift/origin-hyperkube:v4.0
- name: OPERATOR_IMAGE
value: docker.io/openshift/origin-cluster-kube-scheduler-operator:v4.0
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
terminationMessagePolicy: FallbackToLogsOnError
volumes:
- name: config
configMap:
name: openshift-kube-scheduler-operator-config
nodeSelector:
node-role.kubernetes.io/master: ""
priorityClassName: system-cluster-critical
tolerations:
- operator: Exists
| 30.584906 | 80 | 0.639112 |
f73559eb32fa551cd088db3a7843e1183a457448 | 143 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation622.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation622.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation622.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-622
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 17.875 | 49 | 0.72028 |
f73584dfa9ea0da078e0c4be1ca5812cea84340e | 387 | yml | YAML | manifests/deployment.yml | mathewjamesn/NetCoreMicroservicesSample | d03cebbb6aa17695339f494346eef2693dda7503 | [
"MIT"
] | null | null | null | manifests/deployment.yml | mathewjamesn/NetCoreMicroservicesSample | d03cebbb6aa17695339f494346eef2693dda7503 | [
"MIT"
] | null | null | null | manifests/deployment.yml | mathewjamesn/NetCoreMicroservicesSample | d03cebbb6aa17695339f494346eef2693dda7503 | [
"MIT"
] | null | null | null | apiVersion : apps/v1
kind: Deployment
metadata:
name: "matkuber-b39d"
spec:
replicas: 2
selector:
matchLabels:
app: "matkuber-b39d"
template:
metadata:
labels:
app: "matkuber-b39d"
spec:
containers:
- name: "matkuber-b39d"
image: "matacr.azurecr.io/matkuber"
ports:
- containerPort: 80 | 20.368421 | 46 | 0.55814 |
f735ad1a5468ad5c23752695d519c2367dcdcacb | 486 | yaml | YAML | yamls/fluentd/clusterrolebinding_release-name-fluentd.yaml | jmnote/kubeyaml | 675b07a90d2295f697e89294dd31030943836a0d | [
"Apache-2.0"
] | 1 | 2022-01-28T16:03:48.000Z | 2022-01-28T16:03:48.000Z | yamls/fluentd/clusterrolebinding_release-name-fluentd.yaml | jmnote/kubeyaml | 675b07a90d2295f697e89294dd31030943836a0d | [
"Apache-2.0"
] | null | null | null | yamls/fluentd/clusterrolebinding_release-name-fluentd.yaml | jmnote/kubeyaml | 675b07a90d2295f697e89294dd31030943836a0d | [
"Apache-2.0"
] | 1 | 2022-02-15T07:57:28.000Z | 2022-02-15T07:57:28.000Z | apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/instance: RELEASE-NAME
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: fluentd
app.kubernetes.io/version: v1.12.4
helm.sh/chart: fluentd-0.3.5
name: RELEASE-NAME-fluentd
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: RELEASE-NAME-fluentd
subjects:
- kind: ServiceAccount
name: RELEASE-NAME-fluentd
namespace: default
| 25.578947 | 44 | 0.753086 |
f735e224fb9dac74b5fda3d86408a843d8efd7e5 | 102 | yaml | YAML | examples/issues/issue_0662/expected/~g_v1_secret_example-5cm72hhtk8.yaml | tkellen/kustomize | e7fc0b8eda765f9f4a8627ed97ec77471155383e | [
"Apache-2.0"
] | 13 | 2019-09-13T10:03:10.000Z | 2022-02-02T12:54:21.000Z | examples/issues/issue_0662/expected/~g_v1_secret_example-5cm72hhtk8.yaml | keleustes/kustomize | 13e100fd72957cf50ac21a093e88bdf793afeb4b | [
"Apache-2.0"
] | 1 | 2021-09-02T15:13:52.000Z | 2021-09-02T15:13:52.000Z | examples/issues/issue_0662_b/expected/~g_v1_secret_example-5cm72hhtk8.yaml | puzzle/kustomize | 82bdd495fa2c1abcc46c744a67029631e2909f50 | [
"Apache-2.0"
] | 12 | 2019-09-13T17:52:37.000Z | 2021-12-23T07:59:45.000Z | apiVersion: v1
data:
HELLO: d29ybGQ=
kind: Secret
metadata:
name: example-5cm72hhtk8
type: Opaque
| 12.75 | 26 | 0.754902 |
f73651ba687e94181b1a2b5977c2c6b2fc4f317c | 544 | yaml | YAML | config-root/namespaces/jx/jx-pipelines-visualizer/jx-pipelines-visualizer-sa.yaml | ginosubscriptions-org001/jx3-minikube | 73cb4832dd752c72d5f0b487ecddc7a4e7af97a3 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jx-pipelines-visualizer/jx-pipelines-visualizer-sa.yaml | ginosubscriptions-org001/jx3-minikube | 73cb4832dd752c72d5f0b487ecddc7a4e7af97a3 | [
"Apache-2.0"
] | 8 | 2021-03-20T15:55:56.000Z | 2021-05-01T16:33:41.000Z | config-root/namespaces/jx/jx-pipelines-visualizer/jx-pipelines-visualizer-sa.yaml | ginosubscriptions-org001/jx3-minikube | 73cb4832dd752c72d5f0b487ecddc7a4e7af97a3 | [
"Apache-2.0"
] | null | null | null | # Source: jx-pipelines-visualizer/templates/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: jx-pipelines-visualizer
labels:
app.kubernetes.io/name: jx-pipelines-visualizer
app.kubernetes.io/instance: "jx-pipelines-visualizer"
helm.sh/chart: jx-pipelines-visualizer-1.6.0
app.kubernetes.io/version: "1.6.0"
app.kubernetes.io/managed-by: "Helm"
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
installed-by: jenkins-x
meta.helm.sh/release-name: 'jx-pipelines-visualizer'
namespace: jx
| 32 | 57 | 0.738971 |
f73698d623a79ca9c7c3b835b315927cfeb4d9c4 | 158 | yaml | YAML | kibana-service.yaml | dunkelbunt1/EFK-kubernetes | 6af69f6d1ec8dc2d80054be00b6a7f654c508bf2 | [
"MIT"
] | null | null | null | kibana-service.yaml | dunkelbunt1/EFK-kubernetes | 6af69f6d1ec8dc2d80054be00b6a7f654c508bf2 | [
"MIT"
] | 1 | 2020-05-04T19:45:11.000Z | 2020-05-04T19:45:11.000Z | kibana-service.yaml | dunkelbunt1/EFK-kubernetes | 6af69f6d1ec8dc2d80054be00b6a7f654c508bf2 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: kibana
namespace: efk-log
labels:
app: kibana
spec:
ports:
- port: 5601
selector:
app: kibana | 13.166667 | 20 | 0.664557 |
f7369ad19be632b9041a4b0f40f8b071634c7cc0 | 238 | yaml | YAML | deploy/example/nginx-pv.yaml | bserdar/JovianDSS-KubernetesCSI | 56c268057c368f5d36a0cd64755fca2da3f68d23 | [
"Apache-2.0"
] | 1 | 2019-11-19T15:17:16.000Z | 2019-11-19T15:17:16.000Z | deploy/example/nginx-pv.yaml | bserdar/JovianDSS-KubernetesCSI | 56c268057c368f5d36a0cd64755fca2da3f68d23 | [
"Apache-2.0"
] | 4 | 2020-03-10T19:51:57.000Z | 2021-11-08T23:52:15.000Z | deploy/example/nginx-pv.yaml | bserdar/JovianDSS-KubernetesCSI | 56c268057c368f5d36a0cd64755fca2da3f68d23 | [
"Apache-2.0"
] | 3 | 2019-10-18T16:21:50.000Z | 2020-07-30T19:54:43.000Z | apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-nginx
labels:
name: pv-nginx
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
csi:
driver: com.open-e.joviandss.csi
volumeHandle: <volume-id>
| 15.866667 | 36 | 0.684874 |
f736dad393589db8054da3f059b867b6fb1372df | 547 | yaml | YAML | deployment/dataservice_forecastcronjob.yaml | gwdowner/DataService | d6095cbc119153fd061371e2a1850873d4cafcbc | [
"CC0-1.0"
] | null | null | null | deployment/dataservice_forecastcronjob.yaml | gwdowner/DataService | d6095cbc119153fd061371e2a1850873d4cafcbc | [
"CC0-1.0"
] | 1 | 2021-05-11T01:48:12.000Z | 2021-05-11T01:48:12.000Z | deployment/dataservice_forecastcronjob.yaml | gwdowner/DataService | d6095cbc119153fd061371e2a1850873d4cafcbc | [
"CC0-1.0"
] | null | null | null | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: dataservice-forecast-cronjob
spec:
successfulJobsHistoryLimit: 3
schedule: "1 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: dataservice-forecast-job
image: gwdowner/dataservice:latest
command: ["npm", "run", "batchjob:forecast"]
imagePullPolicy: Always
envFrom:
- secretRef:
name: data-service
restartPolicy: OnFailure
backoffLimit: 5 | 26.047619 | 57 | 0.585009 |
f736edaf7bc4c54c05f5162d0d344324c77d2dbf | 186 | yaml | YAML | examples/vl3_basic/k8s/vl3-hello-svc.yaml | IstrateM/examples | 8742d31e47dcbb4a2d0c7922e3f1ef07ad63a8a5 | [
"Apache-2.0"
] | null | null | null | examples/vl3_basic/k8s/vl3-hello-svc.yaml | IstrateM/examples | 8742d31e47dcbb4a2d0c7922e3f1ef07ad63a8a5 | [
"Apache-2.0"
] | null | null | null | examples/vl3_basic/k8s/vl3-hello-svc.yaml | IstrateM/examples | 8742d31e47dcbb4a2d0c7922e3f1ef07ad63a8a5 | [
"Apache-2.0"
] | 1 | 2020-06-05T11:32:34.000Z | 2020-06-05T11:32:34.000Z | apiVersion: v1
kind: Service
metadata:
name: helloworld
labels:
app: helloworld
nsm/role: client
spec:
ports:
- port: 5000
name: http
selector:
app: helloworld
| 13.285714 | 20 | 0.66129 |
f7370e4de8428c1b9bba939b47acd1b8df22c1da | 432 | yaml | YAML | config-root/namespaces/jx-production/golang-http/golang-http-svc.yaml | realDevOps/jx3-azure-akv | 40de4217ae8b15c65dc77ddeb46537ea74862336 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx-production/golang-http/golang-http-svc.yaml | realDevOps/jx3-azure-akv | 40de4217ae8b15c65dc77ddeb46537ea74862336 | [
"Apache-2.0"
] | 18 | 2022-03-23T04:27:10.000Z | 2022-03-30T03:21:05.000Z | config-root/namespaces/jx-production/golang-http/golang-http-svc.yaml | realDevOps/jx3-azure-akv | 40de4217ae8b15c65dc77ddeb46537ea74862336 | [
"Apache-2.0"
] | 1 | 2022-03-23T04:21:27.000Z | 2022-03-23T04:21:27.000Z | # Source: golang-http/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: golang-http
labels:
chart: "golang-http-0.0.7"
gitops.jenkins-x.io/pipeline: 'namespaces'
annotations:
meta.helm.sh/release-name: 'golang-http'
namespace: jx-production
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 8080
protocol: TCP
name: http
selector:
app: golang-http-golang-http
| 20.571429 | 46 | 0.680556 |
f7377bc533478b335fabab5edca4e5ba6aef9fad | 179 | yaml | YAML | labs/lab6/k8s/service.yaml | alice-cloud/dockerAndK8s | 180f6a2108a8d520e55756c249df63e83b2092e1 | [
"MIT"
] | null | null | null | labs/lab6/k8s/service.yaml | alice-cloud/dockerAndK8s | 180f6a2108a8d520e55756c249df63e83b2092e1 | [
"MIT"
] | null | null | null | labs/lab6/k8s/service.yaml | alice-cloud/dockerAndK8s | 180f6a2108a8d520e55756c249df63e83b2092e1 | [
"MIT"
] | 1 | 2019-02-12T02:34:00.000Z | 2019-02-12T02:34:00.000Z | kind: Service
apiVersion: v1
metadata:
name: demo-service
spec:
selector:
app: demo-app
ports:
- protocol: TCP
port: 5000
targetPort: 5000
type: LoadBalancer | 14.916667 | 20 | 0.681564 |
f737b6a37693becae52d61b791a8e262e16b6d69 | 388 | yaml | YAML | config-root/namespaces/jx/jxboot-helmfile-resources/ingress-config-cm.yaml | vincentkwok2022/jenkins-x | 62affea0efa6f629f28f9511d7ab5c2324254695 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jxboot-helmfile-resources/ingress-config-cm.yaml | vincentkwok2022/jenkins-x | 62affea0efa6f629f28f9511d7ab5c2324254695 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/jx/jxboot-helmfile-resources/ingress-config-cm.yaml | vincentkwok2022/jenkins-x | 62affea0efa6f629f28f9511d7ab5c2324254695 | [
"Apache-2.0"
] | null | null | null | # Source: jxboot-helmfile-resources/templates/ingress-config-configmap.yaml
apiVersion: v1
data:
domain: "192.168.31.130.nip.io"
email: ""
exposer: "Ingress"
issuer: ""
tls: "false"
kind: ConfigMap
metadata:
name: ingress-config
annotations:
meta.helm.sh/release-name: 'jxboot-helmfile-resources'
namespace: jx
labels:
gitops.jenkins-x.io/pipeline: 'namespaces'
| 22.823529 | 75 | 0.719072 |
f737f8edc9fedd55e857907c905c4fcdb5ea8605 | 1,237 | yaml | YAML | tests/stacks/kubernetes/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | zawadimario/deployment-rflow | c3a51a4ec931bd3be0dc9b7fcf2ecb99aefe6df2 | [
"Apache-2.0"
] | 376 | 2019-02-27T01:32:34.000Z | 2022-03-29T14:02:39.000Z | tests/stacks/kubernetes/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | zawadimario/deployment-rflow | c3a51a4ec931bd3be0dc9b7fcf2ecb99aefe6df2 | [
"Apache-2.0"
] | 2,171 | 2019-02-27T17:37:34.000Z | 2022-03-31T18:16:26.000Z | tests/stacks/kubernetes/test_data/expected/apps_v1_deployment_jupyter-web-app-deployment.yaml | zawadimario/deployment-rflow | c3a51a4ec931bd3be0dc9b7fcf2ecb99aefe6df2 | [
"Apache-2.0"
] | 643 | 2019-02-27T01:49:11.000Z | 2022-03-31T06:31:15.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: jupyter-web-app
kustomize.component: jupyter-web-app
name: jupyter-web-app-deployment
namespace: kubeflow
spec:
replicas: 1
selector:
matchLabels:
app: jupyter-web-app
kustomize.component: jupyter-web-app
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
app: jupyter-web-app
kustomize.component: jupyter-web-app
spec:
containers:
- env:
- 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-public/jupyter-web-app:vmaster-ge4456300
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-8kcgd8t8th
name: config-volume
| 26.319149 | 78 | 0.607114 |
f738179405b2fada8d30cc61562b7ee07d2ed2ad | 767 | yaml | YAML | circleci-namespace.yaml | GazimbeIsaac/Kubernetes-configs | 999ae1f722d7e05b356093a45056eb267a282f2d | [
"MIT"
] | 1 | 2022-03-15T10:14:21.000Z | 2022-03-15T10:14:21.000Z | circleci-namespace.yaml | GazimbeIsaac/Kubernetes-configs | 999ae1f722d7e05b356093a45056eb267a282f2d | [
"MIT"
] | null | null | null | circleci-namespace.yaml | GazimbeIsaac/Kubernetes-configs | 999ae1f722d7e05b356093a45056eb267a282f2d | [
"MIT"
] | null | null | null | #
# Author: Hari Sekhon
# Date: 2021-12-13 23:58:06 +0000 (Mon, 13 Dec 2021)
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/harisekhon/Kubernetes-configs
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn
# and optionally send me feedback to help improve or steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# C i r c l e C I N a m e s p a c e
# ============================================================================ #
---
apiVersion: v1
kind: Namespace
metadata:
name: circleci
labels:
goldilocks.fairwinds.com/enabled: "true"
| 27.392857 | 88 | 0.529335 |
f7381a543837da4de6f08d19e1d57f2e3878e292 | 243 | yaml | YAML | templates/db-pv.yaml | ManageIQ/ansible-tower-pods | df76ca69dcedfc21a3185b8d6fce16933a79bc9b | [
"MIT"
] | 6 | 2017-12-20T17:12:51.000Z | 2021-08-05T12:57:46.000Z | templates/db-pv.yaml | ManageIQ/ansible-tower-pods | df76ca69dcedfc21a3185b8d6fce16933a79bc9b | [
"MIT"
] | 2 | 2017-10-16T12:42:14.000Z | 2018-03-01T00:13:48.000Z | templates/db-pv.yaml | ManageIQ/ansible-tower-pods | df76ca69dcedfc21a3185b8d6fce16933a79bc9b | [
"MIT"
] | 7 | 2017-07-05T19:40:44.000Z | 2021-08-05T12:57:48.000Z | apiVersion: v1
kind: PersistentVolume
metadata:
name: tower-pv02
spec:
capacity:
storage: 15Gi
accessModes:
- ReadWriteOnce
hostPath:
path: /var/lib/minishift/ansible-tower-database
persistentVolumeReclaimPolicy: Recycle
| 18.692308 | 51 | 0.753086 |
f73835a1ab7dd7354e908b861bced5e14c8d4b61 | 264 | yaml | YAML | prometheus-pvc-nfs.yaml | gurpreet0610/mrsinghDevOps | 6b5d063c2f60e0618f0553c796ab41f54cc66fe1 | [
"Apache-2.0"
] | 1 | 2021-12-09T20:29:09.000Z | 2021-12-09T20:29:09.000Z | prometheus-pvc-nfs.yaml | gurpreet0610/mrsinghDevOps | 6b5d063c2f60e0618f0553c796ab41f54cc66fe1 | [
"Apache-2.0"
] | 1 | 2020-09-30T19:42:25.000Z | 2020-09-30T19:42:25.000Z | prometheus-pvc-nfs.yaml | gurpreet0610/mrsinghDevOps | 6b5d063c2f60e0618f0553c796ab41f54cc66fe1 | [
"Apache-2.0"
] | 2 | 2020-09-30T19:41:00.000Z | 2020-09-30T19:52:36.000Z | ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-nfs-data
namespace: monitoring
labels:
app: prometheus-deployment
spec:
storageClassName: managed-nfs
accessModes:
- ReadWriteMany
resources:
requests:
storage: 500Mi
| 16.5 | 31 | 0.719697 |
f7388e77072e7cb27a61726898bda2c7a6978380 | 695 | yaml | YAML | clusters/app.ci/job-trigger-controller-manager/job-trigger-controller-manager_deploy.yaml | michaellevy101/release | 22736112ba373d4dea15b07d44b39c3a77186c17 | [
"Apache-2.0"
] | null | null | null | clusters/app.ci/job-trigger-controller-manager/job-trigger-controller-manager_deploy.yaml | michaellevy101/release | 22736112ba373d4dea15b07d44b39c3a77186c17 | [
"Apache-2.0"
] | null | null | null | clusters/app.ci/job-trigger-controller-manager/job-trigger-controller-manager_deploy.yaml | michaellevy101/release | 22736112ba373d4dea15b07d44b39c3a77186c17 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ci
name: job-trigger-controller-manager
labels:
app: prow
component: job-trigger-controller-manager
spec:
replicas: 1
selector:
matchLabels:
app: prow
component: job-trigger-controller-manager
template:
metadata:
labels:
app: prow
component: job-trigger-controller-manager
spec:
serviceAccount: job-trigger-controller-manager
containers:
- image: job-trigger-controller-manager:latest
name: job-trigger-controller-manager
command:
- job-trigger-controller-manager
args:
- --dry-run=false
- --namespace=ci
| 23.166667 | 52 | 0.651799 |
f738a6e15bcbc62be63bc17f8ae538a23a776d15 | 339 | yaml | YAML | kubernetes-controllers/paymentservice-replicaset.yaml | otus-kuber-2020-04/ifinodin_platform | 7c2a71ba3af15e45fef56bbe68e67ec720ce805f | [
"MIT"
] | null | null | null | kubernetes-controllers/paymentservice-replicaset.yaml | otus-kuber-2020-04/ifinodin_platform | 7c2a71ba3af15e45fef56bbe68e67ec720ce805f | [
"MIT"
] | null | null | null | kubernetes-controllers/paymentservice-replicaset.yaml | otus-kuber-2020-04/ifinodin_platform | 7c2a71ba3af15e45fef56bbe68e67ec720ce805f | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: paymentservice
labels:
app: paymentservice
spec:
replicas: 3
selector:
matchLabels:
app: paymentservice
template:
metadata:
labels:
app: paymentservice
spec:
containers:
- name: server
image: ifinodin/payment:v0.0.1
| 16.95 | 40 | 0.634218 |
f738b325e20134912b725a61ca6b13d87fdf355c | 635 | yaml | YAML | heapster/heapster-controller.yaml | phplaboratory/madcore-ai | ea866334480d77b084ce971506cfdb285405c122 | [
"MIT"
] | null | null | null | heapster/heapster-controller.yaml | phplaboratory/madcore-ai | ea866334480d77b084ce971506cfdb285405c122 | [
"MIT"
] | null | null | null | heapster/heapster-controller.yaml | phplaboratory/madcore-ai | ea866334480d77b084ce971506cfdb285405c122 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: ReplicationController
metadata:
labels:
k8s-app: heapster
name: heapster
version: v6
name: heapster
namespace: kube-system
spec:
replicas: 1
selector:
k8s-app: heapster
version: v6
template:
metadata:
labels:
k8s-app: heapster
version: v6
spec:
containers:
- name: heapster
image: kubernetes/heapster:canary
imagePullPolicy: Always
command:
- /heapster
- --source=kubernetes:https://10.0.0.1
- --sink=influxdb:http://monitoring-influxdb:8086
- --service-cluster-ip-range=10.10.0.0/24
| 21.166667 | 57 | 0.614173 |
f738de226f9c58e1729d00a5c2bc1275e6ff4b92 | 258 | yml | YAML | 024-SAP-Core/Student/Resources/Challenge 9/helm-webapp-services.yml | DwirefS/WhatTheHack | 68c73382b44f87ac98d7db61581fad0707f17915 | [
"MIT"
] | 1 | 2020-07-28T19:39:35.000Z | 2020-07-28T19:39:35.000Z | 024-SAP-Core/Student/Resources/Challenge 9/helm-webapp-services.yml | DwirefS/WhatTheHack | 68c73382b44f87ac98d7db61581fad0707f17915 | [
"MIT"
] | null | null | null | 024-SAP-Core/Student/Resources/Challenge 9/helm-webapp-services.yml | DwirefS/WhatTheHack | 68c73382b44f87ac98d7db61581fad0707f17915 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: webapp-loadbalancer
namespace: whatthehack
labels:
k8s-app: webapp-loadbalancer
spec:
type: LoadBalancer
ports:
- port: 80
protocol: TCP
targetPort: ui
selector:
k8s-app: nginx-webapp | 17.2 | 32 | 0.705426 |
f738df9f0179b9ec529d79633c8f2f6e8b04367e | 1,265 | yaml | YAML | examples/ksql-demo.yaml | gurucl/cp-helm-charts | 3f274cdc287daac964b6298ca7e092163fffe508 | [
"Apache-2.0"
] | null | null | null | examples/ksql-demo.yaml | gurucl/cp-helm-charts | 3f274cdc287daac964b6298ca7e092163fffe508 | [
"Apache-2.0"
] | null | null | null | examples/ksql-demo.yaml | gurucl/cp-helm-charts | 3f274cdc287daac964b6298ca7e092163fffe508 | [
"Apache-2.0"
] | null | null | null | ###
# Example pod with containers for using KSQL on Kubernetes. Not for production.
#
# Before you run:
# - Note the bootstrap servers are `my-confluent-oss-cp-kafka:9092`. You may need to change this with your own connection strings
#
# Run the pod:
# $ kubectl apply -f examples/ksql-demo.yaml
#
# Run KSQL CLI:
# $ kubectl exec -it ksql-demo --container ksql -- /bin/bash ksql
# ksql> list topics ;
# ksql> print 'pageviews';
#
# Then create any query: https://docs.confluent.io/current/ksql/docs/tutorials/basics-docker.html#create-a-stream-and-table
#
###
apiVersion: v1
kind: Pod
metadata:
name: ksql-demo
namespace: default
spec:
containers:
- name: ksql-datagen-pageviews
image: confluentinc/ksql-examples:5.3.0
command:
- sh
- -c
- "exec ksql-datagen quickstart=pageviews format=delimited topic=pageviews bootstrap-server=my-confluent-oss-cp-kafka:9092"
- name: ksql-datagen-users
image: confluentinc/ksql-examples:5.2.0
command:
- sh
- -c
- "ksql-datagen quickstart=users format=json topic=users iterations=1000 bootstrap-server=my-confluent-oss-cp-kafka:9092"
- name: ksql
image: confluentinc/ksql-cli:5.2.0
command:
- sh
- -c
- "exec tail -f /dev/null"
| 29.418605 | 129 | 0.684585 |
f738f87d84c5f297fad54e4680809c888149eeab | 45,641 | yaml | YAML | deploy/bundle/manifests/cephfilesystem.crd.yaml | malayparida2000/ocs-operator | 08114cd7145b0064a5cd9746f25603dc27167455 | [
"Apache-2.0"
] | null | null | null | deploy/bundle/manifests/cephfilesystem.crd.yaml | malayparida2000/ocs-operator | 08114cd7145b0064a5cd9746f25603dc27167455 | [
"Apache-2.0"
] | null | null | null | deploy/bundle/manifests/cephfilesystem.crd.yaml | malayparida2000/ocs-operator | 08114cd7145b0064a5cd9746f25603dc27167455 | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.5.1-0.20210420220833-f284e2e8098c
name: cephfilesystems.ceph.rook.io
spec:
group: ceph.rook.io
names:
kind: CephFilesystem
listKind: CephFilesystemList
plural: cephfilesystems
singular: cephfilesystem
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Number of desired active MDS daemons
jsonPath: .spec.metadataServer.activeCount
name: ActiveMDS
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
dataPools:
items:
properties:
compressionMode:
enum:
- none
- passive
- aggressive
- force
- ""
nullable: true
type: string
crushRoot:
nullable: true
type: string
deviceClass:
nullable: true
type: string
enableRBDStats:
type: boolean
erasureCoded:
properties:
algorithm:
type: string
codingChunks:
minimum: 0
type: integer
dataChunks:
minimum: 0
type: integer
required:
- codingChunks
- dataChunks
type: object
failureDomain:
type: string
mirroring:
properties:
enabled:
type: boolean
mode:
type: string
peers:
nullable: true
properties:
secretNames:
items:
type: string
type: array
type: object
snapshotSchedules:
items:
properties:
interval:
type: string
path:
type: string
startTime:
type: string
type: object
type: array
type: object
name:
type: string
parameters:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
quotas:
nullable: true
properties:
maxBytes:
format: int64
type: integer
maxObjects:
format: int64
type: integer
maxSize:
pattern: ^[0-9]+[\.]?[0-9]*([KMGTPE]i|[kMGTPE])?$
type: string
type: object
replicated:
properties:
hybridStorage:
nullable: true
properties:
primaryDeviceClass:
minLength: 1
type: string
secondaryDeviceClass:
minLength: 1
type: string
required:
- primaryDeviceClass
- secondaryDeviceClass
type: object
replicasPerFailureDomain:
minimum: 1
type: integer
requireSafeReplicaSize:
type: boolean
size:
minimum: 0
type: integer
subFailureDomain:
type: string
targetSizeRatio:
type: number
required:
- size
type: object
statusCheck:
properties:
mirror:
nullable: true
properties:
disabled:
type: boolean
interval:
type: string
timeout:
type: string
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
nullable: true
type: array
metadataPool:
nullable: true
properties:
compressionMode:
enum:
- none
- passive
- aggressive
- force
- ""
nullable: true
type: string
crushRoot:
nullable: true
type: string
deviceClass:
nullable: true
type: string
enableRBDStats:
type: boolean
erasureCoded:
properties:
algorithm:
type: string
codingChunks:
minimum: 0
type: integer
dataChunks:
minimum: 0
type: integer
required:
- codingChunks
- dataChunks
type: object
failureDomain:
type: string
mirroring:
properties:
enabled:
type: boolean
mode:
type: string
peers:
nullable: true
properties:
secretNames:
items:
type: string
type: array
type: object
snapshotSchedules:
items:
properties:
interval:
type: string
path:
type: string
startTime:
type: string
type: object
type: array
type: object
parameters:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
quotas:
nullable: true
properties:
maxBytes:
format: int64
type: integer
maxObjects:
format: int64
type: integer
maxSize:
pattern: ^[0-9]+[\.]?[0-9]*([KMGTPE]i|[kMGTPE])?$
type: string
type: object
replicated:
properties:
hybridStorage:
nullable: true
properties:
primaryDeviceClass:
minLength: 1
type: string
secondaryDeviceClass:
minLength: 1
type: string
required:
- primaryDeviceClass
- secondaryDeviceClass
type: object
replicasPerFailureDomain:
minimum: 1
type: integer
requireSafeReplicaSize:
type: boolean
size:
minimum: 0
type: integer
subFailureDomain:
type: string
targetSizeRatio:
type: number
required:
- size
type: object
statusCheck:
properties:
mirror:
nullable: true
properties:
disabled:
type: boolean
interval:
type: string
timeout:
type: string
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
metadataServer:
properties:
activeCount:
format: int32
maximum: 10
minimum: 1
type: integer
activeStandby:
type: boolean
annotations:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
labels:
additionalProperties:
type: string
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
livenessProbe:
properties:
disabled:
type: boolean
probe:
properties:
exec:
properties:
command:
items:
type: string
type: array
type: object
failureThreshold:
format: int32
type: integer
httpGet:
properties:
host:
type: string
httpHeaders:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
path:
type: string
port:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
- port
type: object
initialDelaySeconds:
format: int32
type: integer
periodSeconds:
format: int32
type: integer
successThreshold:
format: int32
type: integer
tcpSocket:
properties:
host:
type: string
port:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
terminationGracePeriodSeconds:
format: int64
type: integer
timeoutSeconds:
format: int32
type: integer
type: object
type: object
placement:
nullable: true
properties:
nodeAffinity:
properties:
preferredDuringSchedulingIgnoredDuringExecution:
items:
properties:
preference:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchFields:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
type: object
weight:
format: int32
type: integer
required:
- preference
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
properties:
nodeSelectorTerms:
items:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchFields:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
type: object
type: array
required:
- nodeSelectorTerms
type: object
type: object
podAffinity:
properties:
preferredDuringSchedulingIgnoredDuringExecution:
items:
properties:
podAffinityTerm:
properties:
labelSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaceSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaces:
items:
type: string
type: array
topologyKey:
type: string
required:
- topologyKey
type: object
weight:
format: int32
type: integer
required:
- podAffinityTerm
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
items:
properties:
labelSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaceSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaces:
items:
type: string
type: array
topologyKey:
type: string
required:
- topologyKey
type: object
type: array
type: object
podAntiAffinity:
properties:
preferredDuringSchedulingIgnoredDuringExecution:
items:
properties:
podAffinityTerm:
properties:
labelSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaceSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaces:
items:
type: string
type: array
topologyKey:
type: string
required:
- topologyKey
type: object
weight:
format: int32
type: integer
required:
- podAffinityTerm
- weight
type: object
type: array
requiredDuringSchedulingIgnoredDuringExecution:
items:
properties:
labelSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaceSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
namespaces:
items:
type: string
type: array
topologyKey:
type: string
required:
- topologyKey
type: object
type: array
type: object
tolerations:
items:
properties:
effect:
type: string
key:
type: string
operator:
type: string
tolerationSeconds:
format: int64
type: integer
value:
type: string
type: object
type: array
topologySpreadConstraints:
items:
properties:
labelSelector:
properties:
matchExpressions:
items:
properties:
key:
type: string
operator:
type: string
values:
items:
type: string
type: array
required:
- key
- operator
type: object
type: array
matchLabels:
additionalProperties:
type: string
type: object
type: object
maxSkew:
format: int32
type: integer
topologyKey:
type: string
whenUnsatisfiable:
type: string
required:
- maxSkew
- topologyKey
- whenUnsatisfiable
type: object
type: array
type: object
x-kubernetes-preserve-unknown-fields: true
priorityClassName:
type: string
resources:
nullable: true
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
startupProbe:
properties:
disabled:
type: boolean
probe:
properties:
exec:
properties:
command:
items:
type: string
type: array
type: object
failureThreshold:
format: int32
type: integer
httpGet:
properties:
host:
type: string
httpHeaders:
items:
properties:
name:
type: string
value:
type: string
required:
- name
- value
type: object
type: array
path:
type: string
port:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
scheme:
type: string
required:
- port
type: object
initialDelaySeconds:
format: int32
type: integer
periodSeconds:
format: int32
type: integer
successThreshold:
format: int32
type: integer
tcpSocket:
properties:
host:
type: string
port:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
required:
- port
type: object
terminationGracePeriodSeconds:
format: int64
type: integer
timeoutSeconds:
format: int32
type: integer
type: object
type: object
required:
- activeCount
type: object
mirroring:
nullable: true
properties:
enabled:
type: boolean
peers:
nullable: true
properties:
secretNames:
items:
type: string
type: array
type: object
snapshotRetention:
items:
properties:
duration:
type: string
path:
type: string
type: object
type: array
snapshotSchedules:
items:
properties:
interval:
type: string
path:
type: string
startTime:
type: string
type: object
type: array
type: object
preserveFilesystemOnDelete:
type: boolean
preservePoolsOnDelete:
type: boolean
statusCheck:
properties:
mirror:
nullable: true
properties:
disabled:
type: boolean
interval:
type: string
timeout:
type: string
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
required:
- dataPools
- metadataPool
- metadataServer
type: object
status:
properties:
conditions:
items:
properties:
lastHeartbeatTime:
format: date-time
type: string
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
info:
additionalProperties:
type: string
nullable: true
type: object
mirroringStatus:
properties:
daemonsStatus:
items:
properties:
daemon_id:
type: integer
filesystems:
items:
properties:
directory_count:
type: integer
filesystem_id:
type: integer
name:
type: string
peers:
items:
properties:
remote:
properties:
client_name:
type: string
cluster_name:
type: string
fs_name:
type: string
type: object
stats:
properties:
failure_count:
type: integer
recovery_count:
type: integer
type: object
uuid:
type: string
type: object
type: array
type: object
type: array
type: object
nullable: true
type: array
details:
type: string
lastChanged:
type: string
lastChecked:
type: string
type: object
observedGeneration:
format: int64
type: integer
phase:
type: string
snapshotScheduleStatus:
properties:
details:
type: string
lastChanged:
type: string
lastChecked:
type: string
snapshotSchedules:
items:
properties:
fs:
type: string
path:
type: string
rel_path:
type: string
retention:
properties:
active:
type: boolean
created:
type: string
created_count:
type: integer
first:
type: string
last:
type: string
last_pruned:
type: string
pruned_count:
type: integer
start:
type: string
type: object
schedule:
type: string
subvol:
type: string
type: object
nullable: true
type: array
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
required:
- metadata
- spec
type: object
served: true
storage: true
subresources:
status: {}
| 41.757548 | 148 | 0.251068 |
f738fe7d8c7195547e6b7a1aaaed81dd397e9b98 | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation6084.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation6084.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation6084.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-6084
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f7395b1ec2de8aeca542633bc91cc9f941fa9ac0 | 474 | yml | YAML | open-policy-agent/tests/deploy/18-deploy-sha1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 18 | 2020-06-25T21:34:08.000Z | 2022-03-21T06:50:00.000Z | open-policy-agent/tests/deploy/18-deploy-sha1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 5 | 2020-12-12T20:32:29.000Z | 2021-10-08T08:01:08.000Z | open-policy-agent/tests/deploy/18-deploy-sha1-sha2.yml | scottbuckel/k8s-content-trust | 14b53200e359479d1d5e8d474663c4fba3236392 | [
"Apache-2.0"
] | 8 | 2020-09-17T16:41:28.000Z | 2021-12-15T07:23:31.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: test
name: test18
namespace: default
spec:
replicas: 1
selector:
matchLabels:
run: test
template:
metadata:
labels:
run: test
spec:
containers:
- image: docker.io/dgeiger/alpine@sha256:5555555
name: container1
- image: docker.io/dgeiger/nginx@sha256:e770165fef9e36b990882a4083d8ccf5e29e469a8609bb6b2e3b47d9510e2c8d
name: container2
| 20.608696 | 110 | 0.677215 |
f73978c471024e5c48a030e096582096d99592d6 | 520 | yaml | YAML | manifests/read-only-k8s/k8s-ingress.yaml | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 98 | 2021-05-03T23:27:53.000Z | 2022-03-13T02:29:12.000Z | manifests/read-only-k8s/k8s-ingress.yaml | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 296 | 2021-05-03T22:44:26.000Z | 2022-03-31T11:50:16.000Z | manifests/read-only-k8s/k8s-ingress.yaml | krishnakumar27/mlx | dce67d58dffa24ca7a6a4d6b5fd8d4eb94e35215 | [
"Apache-2.0"
] | 38 | 2021-05-03T22:52:59.000Z | 2022-03-31T03:58:34.000Z | # Copyright 2021 The MLX Contributors
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: mlx-ingress
namespace: kubeflow
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:
- hosts:
- ml-exchange.org
secretName: mlx-certs
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: mlx-ui
port:
number: 80
host: $(ingress-domain)
| 18.571429 | 49 | 0.6 |
f739ad773d2b6a80c214e9c35582838336fa8a8d | 969 | yaml | YAML | grafana/grafana-deployment.yaml | madson7/Prometheus-gke | a0974eda1625a206e43eee270354e4907b984e37 | [
"MIT"
] | 2 | 2021-07-22T17:13:17.000Z | 2021-10-04T14:44:55.000Z | grafana/grafana-deployment.yaml | madson7/Prometheus-gke | a0974eda1625a206e43eee270354e4907b984e37 | [
"MIT"
] | null | null | null | grafana/grafana-deployment.yaml | madson7/Prometheus-gke | a0974eda1625a206e43eee270354e4907b984e37 | [
"MIT"
] | 1 | 2021-07-22T17:13:45.000Z | 2021-07-22T17:13:45.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: monitoring
name: grafana-deployment
spec:
selector:
matchLabels:
app: grafana-deployment
template:
metadata:
labels:
app: grafana-deployment
spec:
securityContext:
runAsUser: 472
fsGroup: 472
containers:
- name: grafana
image: grafana/grafana
env:
- name: GF_SECURITY_ADMIN_PASSWORD
value: admin
- name: GF_INSTALL_PLUGINS
value: grafana-clock-panel,grafana-piechart-panel,camptocamp-prometheus-alertmanager-datasource,vonage-status-panel,alexanderzobnin-zabbix-app,grafana-worldmap-panel,raintank-worldping-app,agenty-flowcharting-panel
ports:
- containerPort: 3000
volumeMounts:
- name: grafana-storage
mountPath: /var/lib/grafana
volumes:
- name: grafana-storage
persistentVolumeClaim:
claimName: grafana-pvc | 28.5 | 224 | 0.656347 |
f739f849a6650d6f0f30b752070213bfaf7100d7 | 310 | yml | YAML | app_051/app_051_v3.yml | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | null | null | null | app_051/app_051_v3.yml | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | null | null | null | app_051/app_051_v3.yml | OmarElKhatibCS/DevOpsJourney | 73765936ecbe9ea8d3def2c6197242bba18d3d29 | [
"MIT"
] | 1 | 2021-06-16T14:02:15.000Z | 2021-06-16T14:02:15.000Z | apiVersion: v1
kind: Pod
metadata:
name: test-taint
spec:
containers:
- name: nginx-image
image: nginx
tolerations:
- key: "app"
operator: "Equal"
value: "myapp"
effect: "NoExecute"
| 22.142857 | 37 | 0.429032 |
f73a16d57dad606717e262e03f5135fc736ef32e | 271 | yaml | YAML | src/runboat/kubefiles/service.yaml | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 35 | 2021-11-05T22:55:21.000Z | 2022-03-25T10:07:47.000Z | src/runboat/kubefiles/service.yaml | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 42 | 2021-11-13T11:59:27.000Z | 2022-03-23T08:01:54.000Z | src/runboat/kubefiles/service.yaml | gurneyalex/runboat | 597f6b0eb8857ca045f938963c02cd0cf61df467 | [
"MIT"
] | 11 | 2021-11-19T07:24:32.000Z | 2022-03-11T08:17:29.000Z | apiVersion: v1
kind: Service
metadata:
name: odoo
spec:
type: ClusterIP
ports:
- port: 8069
targetPort: 8069
protocol: TCP
name: web
- port: 8072
targetPort: 8072
protocol: TCP
name: longpolling
selector:
app: odoo
| 15.055556 | 23 | 0.605166 |
f73aad192dd17546b169ece46df53e31630dcaf1 | 1,701 | yaml | YAML | charts/knative/templates/config-leader-election.yaml | freeliuzc/PaddleCloud | d029dfc4ea7227db30b4540850d2c98397b1f936 | [
"Apache-2.0"
] | 86 | 2017-04-28T02:55:40.000Z | 2019-11-26T16:23:35.000Z | charts/knative/templates/config-leader-election.yaml | freeliuzc/PaddleCloud | d029dfc4ea7227db30b4540850d2c98397b1f936 | [
"Apache-2.0"
] | 431 | 2017-04-27T01:58:52.000Z | 2020-03-23T12:46:45.000Z | charts/knative/templates/config-leader-election.yaml | freeliuzc/PaddleCloud | d029dfc4ea7227db30b4540850d2c98397b1f936 | [
"Apache-2.0"
] | 39 | 2017-04-28T01:43:07.000Z | 2019-12-15T12:30:31.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: config-leader-election
namespace: knative-serving
labels:
serving.knative.dev/release: "v0.21.1"
annotations:
knative.dev/example-checksum: "96896b00"
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
# but serves to illustrate the available configuration
# options and document them in a way that is accessible
# to users that `kubectl edit` this config map.
#
# These sample configuration options may be copied out of
# this example block and unindented to be in the data block
# to actually change the configuration.
# leaseDuration is how long non-leaders will wait to try to acquire the
# lock; 15 seconds is the value used by core kubernetes controllers.
leaseDuration: "15s"
# renewDeadline is how long a leader will try to renew the lease before
# giving up; 10 seconds is the value used by core kubernetes controllers.
renewDeadline: "10s"
# retryPeriod is how long the leader election client waits between tries of
# actions; 2 seconds is the value used by core kubernetes controllers.
retryPeriod: "2s"
# buckets is the number of buckets used to partition key space of each
# Reconciler. If this number is M and the replica number of the controller
# is N, the N replicas will compete for the M buckets. The owner of a
# bucket will take care of the reconciling for the keys partitioned into
# that bucket.
buckets: "1"
| 37.8 | 79 | 0.657848 |
f73b232bd8c69af535af41a50cae006fc311832e | 2,433 | yaml | YAML | k8s/deployment.yaml | stokei-company/addresses-service | 3b230ba665a5ac8ebdb7e7b110a2d69b31ce1439 | [
"MIT"
] | null | null | null | k8s/deployment.yaml | stokei-company/addresses-service | 3b230ba665a5ac8ebdb7e7b110a2d69b31ce1439 | [
"MIT"
] | null | null | null | k8s/deployment.yaml | stokei-company/addresses-service | 3b230ba665a5ac8ebdb7e7b110a2d69b31ce1439 | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: addresses-service-deployment
spec:
replicas: 1
selector:
matchLabels:
app: addresses-service
template:
metadata:
labels:
app: addresses-service
spec:
imagePullSecrets:
- name: registry-credentials
containers:
- name: addresses-service
image: stokei/addresses-service:latest
resources: {}
imagePullPolicy: Always
env:
- name: DB_NAME
value: "addresses"
- name: DB_HOST
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-host
- name: DB_PORT
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-port
- name: DB_USER
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-user
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-password
- name: DB_OPTIONS
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-options
- name: DB_PREFIX
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-prefix
- name: DB_TIMEOUT
valueFrom:
secretKeyRef:
name: mongodb-secret
key: db-timeout
- name: QUEUE_HOST
valueFrom:
secretKeyRef:
name: redis-secret
key: queue-host
- name: QUEUE_PORT
valueFrom:
secretKeyRef:
name: redis-secret
key: queue-port
- name: QUEUE_PASSWORD
valueFrom:
secretKeyRef:
name: redis-secret
key: queue-password
- name: QUEUE_TIMEOUT
valueFrom:
secretKeyRef:
name: redis-secret
key: queue-timeout
- name: MICROSERVICE_URL
valueFrom:
secretKeyRef:
name: rabbitmq-secret
key: url
| 28.623529 | 48 | 0.444307 |
f73b3547bfccca2375a7f16e9c8ee97a84664514 | 223 | yaml | YAML | examples/vernemq_grafana_prometheus/0vernemq-operator-serviceAccount.yaml | muhamedcpqd/vmq-operator | 1d15e1ab9f5343739eefcaecc9851336bdda447d | [
"Apache-2.0"
] | 24 | 2019-04-24T11:52:58.000Z | 2022-03-22T20:03:13.000Z | examples/vernemq_grafana_prometheus/0vernemq-operator-serviceAccount.yaml | muhamedcpqd/vmq-operator | 1d15e1ab9f5343739eefcaecc9851336bdda447d | [
"Apache-2.0"
] | 21 | 2019-05-16T09:47:30.000Z | 2022-03-18T14:06:12.000Z | examples/vernemq_grafana_prometheus/0vernemq-operator-serviceAccount.yaml | knopki/vmq-operator | ddb4749b4c7b2a19c727d61cb2973ac5a74bf536 | [
"Apache-2.0"
] | 11 | 2019-05-16T08:59:04.000Z | 2022-01-26T21:03:23.000Z | apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/component: controller
app.kubernetes.io/name: vmq-operator
app.kubernetes.io/version: latest
name: vmq-operator
namespace: messaging
| 22.3 | 43 | 0.757848 |
f73bdd9ad0c478b415d9edcbeba3e7d315bf4e28 | 414 | yml | YAML | manifests/deployment.yml | qpetraroia/mslearn-aks-deployment-pipeline-github-actions | 3b2fabc84b63b2579fd4715bd1ef1740a12b052a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | manifests/deployment.yml | qpetraroia/mslearn-aks-deployment-pipeline-github-actions | 3b2fabc84b63b2579fd4715bd1ef1740a12b052a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | manifests/deployment.yml | qpetraroia/mslearn-aks-deployment-pipeline-github-actions | 3b2fabc84b63b2579fd4715bd1ef1740a12b052a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | apiVersion : apps/v1
kind: Deployment
metadata:
name: "startstopdemo-687f"
spec:
replicas: 2
selector:
matchLabels:
app: "startstopdemo-687f"
template:
metadata:
labels:
app: "startstopdemo-687f"
spec:
containers:
- name: "startstopdemo-687f"
image: "testrg12.azurecr.io/startstopdemo"
ports:
- containerPort: 80 | 21.789474 | 53 | 0.586957 |
f73c0018ddc05bd46f7c79a122ecfc0b5e9d3592 | 3,252 | yaml | YAML | core-services/prow/03_deployment/statusreconciler.yaml | robnester-rh/release | 62ec82de350f690d4881add99fddb54f585ec6a4 | [
"Apache-2.0"
] | null | null | null | core-services/prow/03_deployment/statusreconciler.yaml | robnester-rh/release | 62ec82de350f690d4881add99fddb54f585ec6a4 | [
"Apache-2.0"
] | null | null | null | core-services/prow/03_deployment/statusreconciler.yaml | robnester-rh/release | 62ec82de350f690d4881add99fddb54f585ec6a4 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: ci
name: statusreconciler
labels:
app: prow
component: statusreconciler
spec:
replicas: 1
selector:
matchLabels:
app: prow
component: statusreconciler
template:
metadata:
labels:
app: prow
component: statusreconciler
spec:
serviceAccountName: statusreconciler
terminationGracePeriodSeconds: 180
containers:
- name: statusreconciler
image: gcr.io/k8s-prow/status-reconciler:v20200404-591527a41
imagePullPolicy: Always
args:
- --dry-run=false
- --continue-on-error=true
- --plugin-config=/etc/plugins/plugins.yaml
- --config-path=/etc/config/config.yaml
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy
- --github-endpoint=https://api.github.com
- --github-graphql-endpoint=http://ghproxy/graphql
- --job-config-path=/etc/job-config
ports:
- name: http
containerPort: 8888
volumeMounts:
- name: oauth
mountPath: /etc/github
readOnly: true
- name: config
mountPath: /etc/config
readOnly: true
- name: job-config-misc
mountPath: /etc/job-config/misc
readOnly: true
- name: job-config-master
mountPath: /etc/job-config/master
readOnly: true
- name: job-config-3x
mountPath: /etc/job-config/3.x
readOnly: true
- name: job-config-41
mountPath: /etc/job-config/4.1
readOnly: true
- name: job-config-42
mountPath: /etc/job-config/4.2
readOnly: true
- name: job-config-43
mountPath: /etc/job-config/4.3
readOnly: true
- name: job-config-44
mountPath: /etc/job-config/4.4
readOnly: true
- name: job-config-45
mountPath: /etc/job-config/4.5
readOnly: true
- name: job-config-46
mountPath: /etc/job-config/4.6
readOnly: true
- name: plugins
mountPath: /etc/plugins
readOnly: true
resources:
requests:
memory: "200Mi"
cpu: "20m"
volumes:
- name: oauth
secret:
secretName: github-credentials-openshift-ci-robot
- name: config
configMap:
name: config
- name: job-config-misc
configMap:
name: job-config-misc
- name: job-config-master
configMap:
name: job-config-master
- name: job-config-3x
configMap:
name: job-config-3.x
- name: job-config-41
configMap:
name: job-config-4.1
- name: job-config-42
configMap:
name: job-config-4.2
- name: job-config-43
configMap:
name: job-config-4.3
- name: job-config-44
configMap:
name: job-config-4.4
- name: job-config-45
configMap:
name: job-config-4.5
- name: job-config-46
configMap:
name: job-config-4.6
- name: plugins
configMap:
name: plugins
| 27.559322 | 68 | 0.550123 |
f73cdceed618d521f1c3c6b67dd7c9d1ad94df95 | 1,466 | yaml | YAML | components/iot-software-sensor/manifests/iot-software-sensor-cm-2.yaml | pacospace/manuela-dev | 05a3755d74cb0c459dd53cd4018db177b86936d4 | [
"Apache-2.0"
] | 11 | 2020-04-03T14:36:38.000Z | 2022-02-24T18:21:45.000Z | components/iot-software-sensor/manifests/iot-software-sensor-cm-2.yaml | pacospace/manuela-dev | 05a3755d74cb0c459dd53cd4018db177b86936d4 | [
"Apache-2.0"
] | 15 | 2019-12-07T21:54:14.000Z | 2022-02-13T01:36:46.000Z | components/iot-software-sensor/manifests/iot-software-sensor-cm-2.yaml | pacospace/manuela-dev | 05a3755d74cb0c459dd53cd4018db177b86936d4 | [
"Apache-2.0"
] | 25 | 2020-03-24T09:07:06.000Z | 2022-03-01T16:40:21.000Z | apiVersion: v1
kind: ConfigMap
metadata:
name: iot-software-sensor-2-config
data:
APP_NAME: iot-sensor
DEVICE_ID: pump-2
DEVICE_METRICS: 'temperature,vibration,gps,light'
MACHINE_ID: floor-1-line-1-extruder-1
MQTT_HOSTNAME: broker-amq-mqtt-all-0-svc
MQTT_PASSWORD: iotuser
MQTT_PORT: '61616'
MQTT_TLSSNI: 'false'
MQTT_USER: iotuser
SENSOR_GPS_ENABLED: 'false'
SENSOR_GPS_FINAL_LATITUDE: '40.689879'
SENSOR_GPS_FINAL_LONGITUDE: '-73.992895'
SENSOR_GPS_FREQUENCY: '5'
SENSOR_GPS_INITIAL_LATITUDE: '42.579258'
SENSOR_GPS_INITIAL_LONGITUDE: '-71.437841'
SENSOR_GPS_ITERATION_LATITUDE: '-0.009'
SENSOR_GPS_ITERATION_LONGITUDE: '-0.012'
SENSOR_LIGHT_ENABLED: 'false'
SENSOR_LIGHT_FREQUENCY: '5'
SENSOR_LIGHT_MAXITERATION: '3'
SENSOR_LIGHT_MAXRANGE: '25000'
SENSOR_LIGHT_MINITERATION: '0'
SENSOR_LIGHT_MINRANGE: '0'
SENSOR_LIGHT_START: '0'
SENSOR_TEMPERATURE_ENABLED: 'false'
SENSOR_TEMPERATURE_FREQUENCY: '5'
SENSOR_TEMPERATURE_MAXITERATION: '1'
SENSOR_TEMPERATURE_MAXRANGE: '55'
SENSOR_TEMPERATURE_MINITERATION: '0'
SENSOR_TEMPERATURE_MINRANGE: '45'
SENSOR_TEMPERATURE_STARTMAX: '50'
SENSOR_TEMPERATURE_STARTMIN: '50'
SENSOR_VIBRATION_ENABLED: 'true'
SENSOR_VIBRATION_FREQUENC: '5'
SENSOR_VIBRATION_MAXITERATION: '1'
SENSOR_VIBRATION_MAXRANGE: '17'
SENSOR_VIBRATION_MINITERATION: '0'
SENSOR_VIBRATION_MINRANGE: '10'
SENSOR_VIBRATION_START: '12'
SENSOR_VIBRATION_PEAKINTETVAL: '200'
| 28.745098 | 51 | 0.782401 |
f73d243eb5548d2d833572bd146b421c0ec1ae66 | 7,122 | yaml | YAML | kubeconfig-cm.yaml | fabianvf/cert-manager | 8fca8a9e4000dbe5568b8827787319da75dccd61 | [
"Apache-2.0"
] | null | null | null | kubeconfig-cm.yaml | fabianvf/cert-manager | 8fca8a9e4000dbe5568b8827787319da75dccd61 | [
"Apache-2.0"
] | 1 | 2022-03-24T20:08:40.000Z | 2022-03-24T20:08:40.000Z | kubeconfig-cm.yaml | fabianvf/cert-manager | 8fca8a9e4000dbe5568b8827787319da75dccd61 | [
"Apache-2.0"
] | null | null | null | ---
kind: ConfigMap
apiVersion: v1
metadata:
name: kubeconfig
namespace: cert-manager
data:
kubeconfig: |
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURORENDQWh5Z0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFsTVNNd0lRWURWUVFEREJveE9USXUKTVRZNExqRXVPVGt0WTJGQU1UWTBOekk0TnpZMk1UQWVGdzB5TWpBek1UUXhPRFUwTWpGYUZ3MHlNekF6TVRReApPRFUwTWpGYU1DSXhJREFlQmdOVkJBTU1GekU1TWk0eE5qZ3VNUzQ1T1VBeE5qUTNNamczTmpZeE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTJzS0RSYmJQUEFEOTkrK1RDT3BSUmgySW5OSEcKMHoyRW1HTmxaYUdOamM3SWphcU5jSEp3VkYvUk9CWUlnZWJFWDh5enRNcFg0SlpUL3dBV0djZjdXaXBnN05NbApqTzBiZEVDRHNrL1F1SlljVXZtWEpLMFlGN1BKMXJlQ1JZaDJOdGIzZklNc0ZDS1RoVlFZMXJtbUxHTFAxSGI0CloyZHBma1hGUDEzM1FFRE1EaVJOUFZZK1d2dTU2MmJ3MGorM0hTNk5TT1pVU1FxdGlTcG5tQTRKa1Yxd2ZlNWEKNUxPNFl6WFRDZVc2a1ZQclhoZGVIZmlCWWdaVVRiZzdrclVvMGtZQlVxNDh5MUZ6WUZGVUpkNVlGa1d2aXlXYwp4NHkvM1hJK2hYOGltRWxvS3RDbENKcEM3N1JZNWlMUUxHbkFPMjI4S0RBSkxRY2lRV1RGbkVSb1VRSURBUUFCCm8zSXdjREFPQmdOVkhROEJBZjhFQkFNQ0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUhBd0V3REFZRFZSMFQKQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JTSzNpbmR1ZW1PZDcreVU0QUwvbk9UUEw3TU9qQWFCZ05WSFJFRQpFekFSZ2dsc2IyTmhiR2h2YzNTSEJNQ29BV013RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUJNTWhBNm1xZ3k5CnBBcmxBOUVOZEw4QStzZVhxbGdkRTQwekNON2lQc1FrN3JTcTZ4TWVjd3BQVFJNWFlQZ2ZEYUV4VGFsNGRLbGsKR0YrbkxOWDhOWWdLK3JiRFJ1c3prQllZUTlaNzNoSUtrSDl0cWpCbkxxRVpqNWl1WFdtalNiTDRydml0b3NOZwo1dlNqb085ZG5RcmhXakhCL0VQZ1BxRVVrK1RvL09UaytPT0o3bWJKL0MvNFpPZnp0aWFKZ09QL2MxOE4zd01BCnZLVmYrbUJ2OGh4ckhjM2dUUmZWaXY2ZXRhblRNbjhTaHR1a3Z3NlVaTXVnWE1mcW95Y083L3I4YmJ4YzNEVUEKOGNEUHc2dys2MDNhNGNjTGt3OFl2NzdsWldSMk01anl5RWxDSGRVLzRIQjUrWDhNakhEVUcwS2d4ZGx1RDJXVQoxZXROdHpVdmpSaz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJREJ6Q0NBZStnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWxNU013SVFZRFZRUUREQm94T1RJdQpNVFk0TGpFdU9Ua3RZMkZBTVRZME56STROelkyTVRBZUZ3MHlNakF6TVRReE9EVTBNakZhRncweU16QXpNVFF4Ck9EVTBNakZhTUNVeEl6QWhCZ05WQkFNTUdqRTVNaTR4TmpndU1TNDVPUzFqWVVBeE5qUTNNamczTmpZeE1JSUIKSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXNFZXBqNmx0NWM0ZE1heVNHZ1hNeTFLZwpOclhXWFdlRlFqdDNqMWNLUVZseWtPRk1pcnd5TGd6L2VldGN4alF3NmZlT2RZbW5EODU4NmgxS0ZmQ2VSWmlqCmcxamFRRCtmbVRqWWQzMUxIU2M5eXgwZjk3Z2x5d3JzM2xXbm5YRGY1WGt1VUZMSjZ5YnZDTVk5YmJwZHVubUwKaU4zVkVGYXhNQmNReU9JbkRGbytEeGZBZytRL0VpSU5NVDZkcGQxWTBSc3k5TGt1cjg2NzFRWCtQV2t4N2REVwpEZ2lwZkpsTHB1NUVDb3FkNk5NenlGR3k1Q0xKWk8wWERqdE5tc3hueXZiM2s1VG9WZ2w5akZ6bm9RU0ltSnFwCmtYcXdiLzNvVHZQb0d1L3A1NkNRQTdWa3JTZnRSNFh3TFFUL0FpeDZuR1hsTThVMmVEbTFyS2NRN0x6ZVl3SUQKQVFBQm8wSXdRREFPQmdOVkhROEJBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RQpGZ1FVaXQ0cDNibnBqbmUvc2xPQUMvNXprenkrekRvd0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFDOWVtWVNyCnhKbVRZaUl3RmlXMXVNcE5lekNSRVMraXgxZ01nVlJXNFVnRmpEN1lJbFFkUFJlZkJjbWxkOW11SWovL2RZRnEKRFhKVTloN2FvTXFrVEI1Y3VjbmkxSGplek1NVmZBS2poOEFmdjVhVHRnTmhnTm5ybUFVZWt0MkxBSmZ6QklwcApHL0tERkVlRG5JV1J0YllzMERvS3dTV2d4Wmx5QUFGcjVIQW5ZMGtod0hVbVIyRjFPeEJKdXM4b3NtMDV2WTJUCnJoMHNLVCsvaGhJbkt2YnBoR2ZCd2E4bThWZ1FTNnoydzJwU1FEdk5BS3pta1JyU1UrTUxLMFEyZ05QK1VzdVIKdGpCVUxsRkJTZzZsb01sbENBM21xSGdGdjVnajdvYXc5blQ0T2I0T3V0THQrMlhsb0Q1MDI4SWZpKzlHUUNOcgpIbzgzeHNOcVlIZnlxeVk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
server: https://192.168.1.99:6443/clusters/*
name: cross-cluster
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURORENDQWh5Z0F3SUJBZ0lCQWpBTkJna3Foa2lHOXcwQkFRc0ZBREFsTVNNd0lRWURWUVFEREJveE9USXUKTVRZNExqRXVPVGt0WTJGQU1UWTBOekk0TnpZMk1UQWVGdzB5TWpBek1UUXhPRFUwTWpGYUZ3MHlNekF6TVRReApPRFUwTWpGYU1DSXhJREFlQmdOVkJBTU1GekU1TWk0eE5qZ3VNUzQ1T1VBeE5qUTNNamczTmpZeE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTJzS0RSYmJQUEFEOTkrK1RDT3BSUmgySW5OSEcKMHoyRW1HTmxaYUdOamM3SWphcU5jSEp3VkYvUk9CWUlnZWJFWDh5enRNcFg0SlpUL3dBV0djZjdXaXBnN05NbApqTzBiZEVDRHNrL1F1SlljVXZtWEpLMFlGN1BKMXJlQ1JZaDJOdGIzZklNc0ZDS1RoVlFZMXJtbUxHTFAxSGI0CloyZHBma1hGUDEzM1FFRE1EaVJOUFZZK1d2dTU2MmJ3MGorM0hTNk5TT1pVU1FxdGlTcG5tQTRKa1Yxd2ZlNWEKNUxPNFl6WFRDZVc2a1ZQclhoZGVIZmlCWWdaVVRiZzdrclVvMGtZQlVxNDh5MUZ6WUZGVUpkNVlGa1d2aXlXYwp4NHkvM1hJK2hYOGltRWxvS3RDbENKcEM3N1JZNWlMUUxHbkFPMjI4S0RBSkxRY2lRV1RGbkVSb1VRSURBUUFCCm8zSXdjREFPQmdOVkhROEJBZjhFQkFNQ0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUhBd0V3REFZRFZSMFQKQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JTSzNpbmR1ZW1PZDcreVU0QUwvbk9UUEw3TU9qQWFCZ05WSFJFRQpFekFSZ2dsc2IyTmhiR2h2YzNTSEJNQ29BV013RFFZSktvWklodmNOQVFFTEJRQURnZ0VCQUJNTWhBNm1xZ3k5CnBBcmxBOUVOZEw4QStzZVhxbGdkRTQwekNON2lQc1FrN3JTcTZ4TWVjd3BQVFJNWFlQZ2ZEYUV4VGFsNGRLbGsKR0YrbkxOWDhOWWdLK3JiRFJ1c3prQllZUTlaNzNoSUtrSDl0cWpCbkxxRVpqNWl1WFdtalNiTDRydml0b3NOZwo1dlNqb085ZG5RcmhXakhCL0VQZ1BxRVVrK1RvL09UaytPT0o3bWJKL0MvNFpPZnp0aWFKZ09QL2MxOE4zd01BCnZLVmYrbUJ2OGh4ckhjM2dUUmZWaXY2ZXRhblRNbjhTaHR1a3Z3NlVaTXVnWE1mcW95Y083L3I4YmJ4YzNEVUEKOGNEUHc2dys2MDNhNGNjTGt3OFl2NzdsWldSMk01anl5RWxDSGRVLzRIQjUrWDhNakhEVUcwS2d4ZGx1RDJXVQoxZXROdHpVdmpSaz0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQotLS0tLUJFR0lOIENFUlRJRklDQVRFLS0tLS0KTUlJREJ6Q0NBZStnQXdJQkFnSUJBVEFOQmdrcWhraUc5dzBCQVFzRkFEQWxNU013SVFZRFZRUUREQm94T1RJdQpNVFk0TGpFdU9Ua3RZMkZBTVRZME56STROelkyTVRBZUZ3MHlNakF6TVRReE9EVTBNakZhRncweU16QXpNVFF4Ck9EVTBNakZhTUNVeEl6QWhCZ05WQkFNTUdqRTVNaTR4TmpndU1TNDVPUzFqWVVBeE5qUTNNamczTmpZeE1JSUIKSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXNFZXBqNmx0NWM0ZE1heVNHZ1hNeTFLZwpOclhXWFdlRlFqdDNqMWNLUVZseWtPRk1pcnd5TGd6L2VldGN4alF3NmZlT2RZbW5EODU4NmgxS0ZmQ2VSWmlqCmcxamFRRCtmbVRqWWQzMUxIU2M5eXgwZjk3Z2x5d3JzM2xXbm5YRGY1WGt1VUZMSjZ5YnZDTVk5YmJwZHVubUwKaU4zVkVGYXhNQmNReU9JbkRGbytEeGZBZytRL0VpSU5NVDZkcGQxWTBSc3k5TGt1cjg2NzFRWCtQV2t4N2REVwpEZ2lwZkpsTHB1NUVDb3FkNk5NenlGR3k1Q0xKWk8wWERqdE5tc3hueXZiM2s1VG9WZ2w5akZ6bm9RU0ltSnFwCmtYcXdiLzNvVHZQb0d1L3A1NkNRQTdWa3JTZnRSNFh3TFFUL0FpeDZuR1hsTThVMmVEbTFyS2NRN0x6ZVl3SUQKQVFBQm8wSXdRREFPQmdOVkhROEJBZjhFQkFNQ0FxUXdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QWRCZ05WSFE0RQpGZ1FVaXQ0cDNibnBqbmUvc2xPQUMvNXprenkrekRvd0RRWUpLb1pJaHZjTkFRRUxCUUFEZ2dFQkFDOWVtWVNyCnhKbVRZaUl3RmlXMXVNcE5lekNSRVMraXgxZ01nVlJXNFVnRmpEN1lJbFFkUFJlZkJjbWxkOW11SWovL2RZRnEKRFhKVTloN2FvTXFrVEI1Y3VjbmkxSGplek1NVmZBS2poOEFmdjVhVHRnTmhnTm5ybUFVZWt0MkxBSmZ6QklwcApHL0tERkVlRG5JV1J0YllzMERvS3dTV2d4Wmx5QUFGcjVIQW5ZMGtod0hVbVIyRjFPeEJKdXM4b3NtMDV2WTJUCnJoMHNLVCsvaGhJbkt2YnBoR2ZCd2E4bThWZ1FTNnoydzJwU1FEdk5BS3pta1JyU1UrTUxLMFEyZ05QK1VzdVIKdGpCVUxsRkJTZzZsb01sbENBM21xSGdGdjVnajdvYXc5blQ0T2I0T3V0THQrMlhsb0Q1MDI4SWZpKzlHUUNOcgpIbzgzeHNOcVlIZnlxeVk9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
server: https://192.168.1.99:6443
name: system:admin
contexts:
- context:
cluster: cross-cluster
user: admin
name: cross-cluster
- context:
cluster: system:admin
user: admin
name: system:admin
current-context: system:admin
kind: Config
preferences: {}
users:
- name: admin
user:
token: 158880c3-d6df-4bc2-92d0-71f2738e2bbc
# volumes:
# - name: kubeconfig
# configMap:
# name: kubeconfig
# volumeMounts:
# - name: kubeconfig
# mountPath: /kubeconfig
# env:
# - name: KUBECONFIG
# value: /kubeconfig
| 151.531915 | 3,080 | 0.936254 |
f73d26b27df7e9d5f88a612a77908488e4fb04e2 | 250 | yml | YAML | test/asset/score-0-cap-sys-admin-and-cap-chown.yml | ramshazar/kubesec | 6f2569a753400e4dff01a2bf69cd530753c1c8e3 | [
"Apache-2.0"
] | 698 | 2019-05-20T16:38:54.000Z | 2022-03-30T17:30:54.000Z | test/asset/score-0-cap-sys-admin-and-cap-chown.yml | ramshazar/kubesec | 6f2569a753400e4dff01a2bf69cd530753c1c8e3 | [
"Apache-2.0"
] | 125 | 2019-05-20T16:16:33.000Z | 2022-03-31T06:03:33.000Z | test/asset/score-0-cap-sys-admin-and-cap-chown.yml | ramshazar/kubesec | 6f2569a753400e4dff01a2bf69cd530753c1c8e3 | [
"Apache-2.0"
] | 76 | 2019-06-09T10:16:12.000Z | 2021-12-28T06:55:03.000Z | apiVersion: v1
kind: Pod
metadata:
name: security-context-demo
spec:
containers:
- name: sec-ctx-demo
image: gcr.io/google-samples/node-hello:1.0
securityContext:
capabilities:
add:
- SYS_ADMIN
- CHOWN
| 17.857143 | 47 | 0.624 |
f73d30aae8bc532d7b1a46e21126f98ae1dba034 | 3,487 | yaml | YAML | applications/repo-download-cn-north4/configmap.yaml | wmzheng2020/infra-mindspore | 4520c0e9492105d2b936a4227ef426a2a39741f1 | [
"Apache-2.0"
] | 2 | 2020-10-12T09:23:02.000Z | 2021-05-26T07:27:50.000Z | applications/repo-download-cn-north4/configmap.yaml | wmzheng2020/infra-mindspore | 4520c0e9492105d2b936a4227ef426a2a39741f1 | [
"Apache-2.0"
] | 6 | 2020-07-27T00:24:49.000Z | 2022-03-04T08:29:25.000Z | applications/repo-download-cn-north4/configmap.yaml | wmzheng2020/infra-mindspore | 4520c0e9492105d2b936a4227ef426a2a39741f1 | [
"Apache-2.0"
] | 34 | 2020-07-22T08:39:01.000Z | 2022-03-04T08:47:11.000Z | ---
apiVersion: v1
kind: ConfigMap
metadata:
name: repo-configmap
data:
rsyncd.conf: |
log file = /dev/stdout
use chroot = yes
uid = root
gid = root
max connections = 10
timeout = 600
read only = yes
[mindspore]
path = /repo/mindspore
comment = mindspore repo folder
read only = true
auth users = root
secrets file = /etc/rsyncd.secrets
ignore nonreadable = yes
refuse options = checksum
dont compress = *
ssh.pub: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQChSk+/FF79F8ut0hpNuYQ4uhAgUSY4hzRIPvQ2uVTukP0B0A99NYPfDNICp7gLa6e7yzaj+bvCpgWZoZCNAWTBWkq+zHTgDDHrLtUE4zPC1guzuR+Gz3yeIzSt0iAzi9uG2p+qh7jUfl8QAwNOs3wosNenoZj7NmgsCF9M1o85msimRc8Roxnn5caao1RtdNkDHDqhw5QiS9doSUjoxT+esD0CI7RHAyMgMCfSlXXl/phpdSU2hVJSFXsHVBTiymkuMQe8Ylmls+OEmCe8Cy7lIqE/Q+56l62Pxv4UJpOWs9T/SrOEr5vtEPGghZzgo5ViewzAs3dGMaODSO25XhrIiRZ7hjBK9tjLOX7ZXfAsb4DpJljq2aPCrlEaGJsHc2laixKIOKogDbqFffM3eXwgEAxPUevX/mYnuyhAVrsRUl8HXIQnTuVIEeYVdmn2MA8I/y6MPWdN5VbLR5gOiNLOuSVhCq3sQLpTZ9CONF+zq+1layCoaGMIZw5JwYgWCQgCGNclbx8eMVY3+J3slH6VjzE/05Eys18HtpuAMCivBLGgpBGeCVdpQqkHodTn5ZjNZEBAgzHypiOgR/txMHhkTi4+1ZvTmSRWs9hggv4/IcDQFaj1f2JVds6lxGvJyOnoy9k1VUC0q4N6sptpJ/n+ElCJ4UaHE48La3Mu79R6+Q== mindspore_hosts
default.conf: |
server {
listen 80;
if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})") {
set $year $1;
set $month $2;
set $day $3;
}
access_log /var/log/nginx/access.log.$year$month$day main;
server_name download.mindspore.cn;
location / {
root /repo/mindspore;
fancyindex on;
fancyindex_exact_size off;
fancyindex_localtime on;
autoindex on;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
}
nginx.conf: |-
user root;
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/conf/mime.types;
default_type application/octet-stream;
# used for geoip2
geoip2 /etc/nginx/geoip/country/GeoLite2-Country.mmdb {
$geoip2_metadata_country_build metadata build_epoch;
$geoip2_data_country_code default=US source=$remote_addr country iso_code;
$geoip2_data_country_name country names en;
}
geoip2 /etc/nginx/geoip/city/GeoLite2-City.mmdb {
$geoip2_data_city_name default=ShenZhen city names en;
$geoip2_data_location_latitude location latitude;
$geoip2_data_location_longitude location longitude;
}
# the cidr used for elb cluster
set_real_ip_from 100.125.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
log_format main '$remote_addr <$geoip2_data_country_code, $geoip2_data_country_name, $geoip2_data_city_name, $geoip2_data_location_latitude, $geoip2_data_location_longitude> '
'[$time_local] "$request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $request_filename';
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
#gzip on;
server_tokens off;
include /etc/nginx/conf/conf.d/*.conf;
}
| 34.87 | 744 | 0.657012 |
f73d5cfe9265c989295975a707ccdcee339bcdd4 | 1,229 | yaml | YAML | templates/deployments/director.yaml | challenge-league/dataleague | adb1883eeeefe80d2e3280d61b2c5943fc9ed077 | [
"Apache-2.0"
] | null | null | null | templates/deployments/director.yaml | challenge-league/dataleague | adb1883eeeefe80d2e3280d61b2c5943fc9ed077 | [
"Apache-2.0"
] | null | null | null | templates/deployments/director.yaml | challenge-league/dataleague | adb1883eeeefe80d2e3280d61b2c5943fc9ed077 | [
"Apache-2.0"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
name: director
namespace: dataleague
labels:
app: director
spec:
replicas: 1
revisionHistoryLimit: 0
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
selector:
matchLabels:
app: director
template:
metadata:
labels:
app: director
annotations:
timestamp: "{{ .Values.timestamp }}"
spec:
initContainers:
- name: wait-nakama-grpc-api
image: busybox:latest
command: ['sh', '-c', 'until nc -vz nakama.dataleague.svc.cluster.local 7349; do echo "Waiting for Nakama gRPC API"; sleep 2; done;']
- name: wait-open-match-backend
image: busybox:latest
command: ['sh', '-c', 'until nc -vz open-match-backend.open-match.svc.cluster.local 50505; do echo "Waiting for OM backend"; sleep 2; done;']
- name: wait-om-function
image: busybox:latest
command: ['sh', '-c', 'until nc -vz matchfunction.dataleague.svc.cluster.local 50502; do echo "Waiting for OM function"; sleep 2; done;']
containers:
- name: director
image: "{{- .Values.openmatch.director.image -}}"
imagePullPolicy: Always
| 30.725 | 149 | 0.635476 |
f73d6f1e00fe6a7c0aa0d73aaa19e21cc35e0fb5 | 20,378 | yaml | YAML | k8s-artifacts/api-portal-with-analytics/api-analytics/analytics-worker-conf-configmap.yaml | Jayanie/k8s-api-operator | 7f94a1b3b25e0ace1ecb714a888153d3be0d4156 | [
"Apache-2.0"
] | null | null | null | k8s-artifacts/api-portal-with-analytics/api-analytics/analytics-worker-conf-configmap.yaml | Jayanie/k8s-api-operator | 7f94a1b3b25e0ace1ecb714a888153d3be0d4156 | [
"Apache-2.0"
] | null | null | null | k8s-artifacts/api-portal-with-analytics/api-analytics/analytics-worker-conf-configmap.yaml | Jayanie/k8s-api-operator | 7f94a1b3b25e0ace1ecb714a888153d3be0d4156 | [
"Apache-2.0"
] | 1 | 2020-04-21T04:37:05.000Z | 2020-04-21T04:37:05.000Z | # Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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.
kind: ConfigMap
apiVersion: v1
metadata:
name: worker-conf
namespace: wso2
data:
deployment.yaml: |
################################################################################
# Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) 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.
################################################################################
# Carbon Configuration Parameters
wso2.carbon:
type: wso2-apim-analytics
# value to uniquely identify a server
id: wso2-am-analytics
# server name
name: WSO2 API Manager Analytics Server
# ports used by this server
ports:
# port offset
offset: 1
wso2.transport.http:
transportProperties:
-
name: "server.bootstrap.socket.timeout"
value: 60
-
name: "client.bootstrap.socket.timeout"
value: 60
-
name: "latency.metrics.enabled"
value: true
listenerConfigurations:
-
id: "default"
host: "0.0.0.0"
port: 9090
-
id: "msf4j-https"
host: "0.0.0.0"
port: 9443
scheme: https
keyStoreFile: "${carbon.home}/resources/security/wso2carbon.jks"
keyStorePassword: wso2carbon
certPass: wso2carbon
senderConfigurations:
-
id: "http-sender"
siddhi.stores.query.api:
transportProperties:
-
name: "server.bootstrap.socket.timeout"
value: 60
-
name: "client.bootstrap.socket.timeout"
value: 60
-
name: "latency.metrics.enabled"
value: true
listenerConfigurations:
-
id: "default"
host: "0.0.0.0"
port: 7071
-
id: "msf4j-https"
host: "0.0.0.0"
port: 7444
scheme: https
keyStoreFile: "${carbon.home}/resources/security/wso2carbon.jks"
keyStorePassword: wso2carbon
certPass: wso2carbon
# Configuration used for the databridge communication
databridge.config:
# No of worker threads to consume events
# THIS IS A MANDATORY FIELD
workerThreads: 10
# Maximum amount of messages that can be queued internally in MB
# THIS IS A MANDATORY FIELD
maxEventBufferCapacity: 10000000
# Queue size; the maximum number of events that can be stored in the queue
# THIS IS A MANDATORY FIELD
eventBufferSize: 2000
# Keystore file path
# THIS IS A MANDATORY FIELD
keyStoreLocation : ${sys:carbon.home}/resources/security/wso2carbon.jks
# Keystore password
# THIS IS A MANDATORY FIELD
keyStorePassword : wso2carbon
# Session Timeout value in mins
# THIS IS A MANDATORY FIELD
clientTimeoutMin: 30
# Data receiver configurations
# THIS IS A MANDATORY FIELD
dataReceivers:
-
# Data receiver configuration
dataReceiver:
# Data receiver type
# THIS IS A MANDATORY FIELD
type: Thrift
# Data receiver properties
properties:
tcpPort: '7611'
sslPort: '7711'
-
# Data receiver configuration
dataReceiver:
# Data receiver type
# THIS IS A MANDATORY FIELD
type: Binary
# Data receiver properties
properties:
tcpPort: '9611'
sslPort: '9711'
tcpReceiverThreadPoolSize: '100'
sslReceiverThreadPoolSize: '100'
hostName: 0.0.0.0
# Configuration of the Data Agents - to publish events through databridge
data.agent.config:
# Data agent configurations
# THIS IS A MANDATORY FIELD
agents:
-
# Data agent configuration
agentConfiguration:
# Data agent name
# THIS IS A MANDATORY FIELD
name: Thrift
# Data endpoint class
# THIS IS A MANDATORY FIELD
dataEndpointClass: org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftDataEndpoint
# Data publisher strategy
publishingStrategy: async
# Trust store path
trustStorePath: '${sys:carbon.home}/resources/security/client-truststore.jks'
# Trust store password
trustStorePassword: 'wso2carbon'
# Queue Size
queueSize: 32768
# Batch Size
batchSize: 200
# Core pool size
corePoolSize: 1
# Socket timeout in milliseconds
socketTimeoutMS: 30000
# Maximum pool size
maxPoolSize: 1
# Keep alive time in pool
keepAliveTimeInPool: 20
# Reconnection interval
reconnectionInterval: 30
# Max transport pool size
maxTransportPoolSize: 250
# Max idle connections
maxIdleConnections: 250
# Eviction time interval
evictionTimePeriod: 5500
# Min idle time in pool
minIdleTimeInPool: 5000
# Secure max transport pool size
secureMaxTransportPoolSize: 250
# Secure max idle connections
secureMaxIdleConnections: 250
# secure eviction time period
secureEvictionTimePeriod: 5500
# Secure min idle time in pool
secureMinIdleTimeInPool: 5000
# SSL enabled protocols
sslEnabledProtocols: TLSv1.1,TLSv1.2
# Ciphers
ciphers: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
-
# Data agent configuration
agentConfiguration:
# Data agent name
# THIS IS A MANDATORY FIELD
name: Binary
# Data endpoint class
# THIS IS A MANDATORY FIELD
dataEndpointClass: org.wso2.carbon.databridge.agent.endpoint.binary.BinaryDataEndpoint
# Data publisher strategy
publishingStrategy: async
# Trust store path
trustStorePath: '${sys:carbon.home}/resources/security/client-truststore.jks'
# Trust store password
trustStorePassword: 'wso2carbon'
# Queue Size
queueSize: 32768
# Batch Size
batchSize: 200
# Core pool size
corePoolSize: 1
# Socket timeout in milliseconds
socketTimeoutMS: 30000
# Maximum pool size
maxPoolSize: 1
# Keep alive time in pool
keepAliveTimeInPool: 20
# Reconnection interval
reconnectionInterval: 30
# Max transport pool size
maxTransportPoolSize: 250
# Max idle connections
maxIdleConnections: 250
# Eviction time interval
evictionTimePeriod: 5500
# Min idle time in pool
minIdleTimeInPool: 5000
# Secure max transport pool size
secureMaxTransportPoolSize: 250
# Secure max idle connections
secureMaxIdleConnections: 250
# secure eviction time period
secureEvictionTimePeriod: 5500
# Secure min idle time in pool
secureMinIdleTimeInPool: 5000
# SSL enabled protocols
sslEnabledProtocols: TLSv1.1,TLSv1.2
# Ciphers
ciphers: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
# This is the main configuration for metrics
wso2.metrics:
# Enable Metrics
enabled: false
reporting:
console:
- # The name for the Console Reporter
name: Console
# Enable Console Reporter
enabled: false
# Polling Period in seconds.
# This is the period for polling metrics from the metric registry and printing in the console
pollingPeriod: 5
wso2.metrics.jdbc:
# Data Source Configurations for JDBC Reporters
dataSource:
# Default Data Source Configuration
- &JDBC01
# JNDI name of the data source to be used by the JDBC Reporter.
# This data source should be defined in a *-datasources.xml file in conf/datasources directory.
dataSourceName: java:comp/env/jdbc/WSO2MetricsDB
# Schedule regular deletion of metrics data older than a set number of days.
# It is recommended that you enable this job to ensure your metrics tables do not get extremely large.
# Deleting data older than seven days should be sufficient.
scheduledCleanup:
# Enable scheduled cleanup to delete Metrics data in the database.
enabled: true
# The scheduled job will cleanup all data older than the specified days
daysToKeep: 3
# This is the period for each cleanup operation in seconds.
scheduledCleanupPeriod: 86400
# The JDBC Reporter is in the Metrics JDBC Core feature
reporting:
# The JDBC Reporter configurations will be ignored if the Metrics JDBC Core feature is not available in runtime
jdbc:
- # The name for the JDBC Reporter
name: JDBC
# Enable JDBC Reporter
enabled: true
# Source of Metrics, which will be used to identify each metric in database -->
# Commented to use the hostname by default
# source: Carbon
# Alias referring to the Data Source configuration
dataSource: *JDBC01
# Polling Period in seconds.
# This is the period for polling metrics from the metric registry and updating the database with the values
pollingPeriod: 60
# Deployment configuration parameters
wso2.artifact.deployment:
# Scheduler update interval
updateInterval: 5
# Periodic Persistence Configuration
state.persistence:
enabled: false
intervalInMin: 1
revisionsToKeep: 2
persistenceStore: org.wso2.carbon.streaming.integrator.core.persistence.DBPersistenceStore
config:
datasource: PERSISTENCE_DB # A datasource with this name should be defined in wso2.datasources namespace
table: PERSISTENCE_TABLE
# Secure Vault Configuration
wso2.securevault:
secretRepository:
type: org.wso2.carbon.secvault.repository.DefaultSecretRepository
parameters:
privateKeyAlias: wso2carbon
keystoreLocation: ${sys:carbon.home}/resources/security/securevault.jks
secretPropertiesFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/secrets.properties
masterKeyReader:
type: org.wso2.carbon.secvault.reader.DefaultMasterKeyReader
parameters:
masterKeyReaderFile: ${sys:carbon.home}/conf/${sys:wso2.runtime}/master-keys.yaml
# Datasource Configurations
wso2.datasources:
dataSources:
# carbon metrics data source
- name: WSO2_METRICS_DB
description: The datasource used for dashboard feature
jndiConfig:
name: jdbc/WSO2MetricsDB
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/dashboard/database/metrics;AUTO_SERVER=TRUE'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
maxPoolSize: 30
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
- name: WSO2_PERMISSIONS_DB
description: The datasource used for permission feature
jndiConfig:
name: jdbc/PERMISSION_DB
useJndiReference: true
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:mysql://wso2apim-with-analytics-rdbms-service:3306/PERMISSION_DB?useSSL=false'
username: wso2carbon
password: wso2carbon
driverClassName: com.mysql.cj.jdbc.Driver
maxPoolSize: 10
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
- name: GEO_LOCATION_DATA
description: "The data source used for geo location database"
jndiConfig:
name: jdbc/GEO_LOCATION_DATA
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:h2:${sys:carbon.home}/wso2/worker/database/GEO_LOCATION_DATA;AUTO_SERVER=TRUE'
username: wso2carbon
password: wso2carbon
driverClassName: org.h2.Driver
maxPoolSize: 50
idleTimeout: 60000
validationTimeout: 30000
isAutoCommit: false
- name: APIM_ANALYTICS_DB
description: "The datasource used for APIM statistics aggregated data."
jndiConfig:
name: jdbc/APIM_ANALYTICS_DB
definition:
type: RDBMS
configuration:
jdbcUrl: 'jdbc:mysql://wso2apim-with-analytics-rdbms-service:3306/APIM_ANALYTICS_DB?useSSL=false'
username: wso2carbon
password: wso2carbon
driverClassName: com.mysql.cj.jdbc.Driver
maxPoolSize: 50
idleTimeout: 60000
connectionTestQuery: SELECT 1
validationTimeout: 30000
isAutoCommit: false
- name: WSO2_CLUSTER_DB
description: "The datasource used by cluster coordinators in HA deployment"
jndiConfig:
name: jdbc/WSO2_CLUSTER_DB
definition:
type: RDBMS
configuration:
connectionTestQuery: "SELECT 1"
driverClassName: org.h2.Driver
idleTimeout: 60000
isAutoCommit: false
jdbcUrl: "jdbc:h2:${sys:carbon.home}/wso2/${sys:wso2.runtime}/database/WSO2_CLUSTER_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000;AUTO_SERVER=TRUE"
maxPoolSize: 10
password: wso2carbon
username: wso2carbon
validationTimeout: 30000
# -
# name: PERSISTENCE_DB
# description: "Datasource used for persistence"
# jndiConfig:
# name: jdbc/PERSISTENCE_DB
# definition:
# type: RDBMS
# configuration:
# connectionTestQuery: "SELECT 1"
# driverClassName: com.mysql.jdbc.Driver
# idleTimeout: 60000
# isAutoCommit: false
# jdbcUrl: "jdbc:h2:${sys:carbon.home}/wso2/${sys:wso2.runtime}/database/PERSISTENCE_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000;AUTO_SERVER=TRUE"
# maxPoolSize: 10
# password: pass
# username: root
# validationTimeout: 30000
siddhi:
# properties:
# partitionById: true
# shardId: 1
refs:
- ref:
name: 'grpcSource'
type: 'grpc'
properties:
receiver.url : grpc://localhost:9806/org.wso2.analytics.mgw.grpc.service.AnalyticsSendService/sendAnalytics
extensions:
-
extension:
name: 'findCountryFromIP'
namespace: 'geo'
properties:
geoLocationResolverClass: org.wso2.extension.siddhi.execution.geo.internal.impl.DefaultDBBasedGeoLocationResolver
isCacheEnabled: true
cacheSize: 10000
isPersistInDatabase: true
datasource: GEO_LOCATION_DATA
-
extension:
name: 'findCityFromIP'
namespace: 'geo'
properties:
geoLocationResolverClass: org.wso2.extension.siddhi.execution.geo.internal.impl.DefaultDBBasedGeoLocationResolver
isCacheEnabled: true
cacheSize: 10000
isPersistInDatabase: true
datasource: GEO_LOCATION_DATA
#Enabling GRPC Service with an Extension
-
extension:
name: 'grpc'
namespace: 'source'
properties:
keyStoreFile : ${sys:carbon.home}/resources/security/wso2carbon.jks
keyStorePassword : wso2carbon
keyStoreAlgorithm : SunX509
trustStoreFile : ${sys:carbon.home}/resources/security/client-truststore.jks
trustStorePassword : wso2carbon
trustStoreAlgorithm : SunX509
# Cluster Configuration
cluster.config:
enabled: false
groupId: sp
coordinationStrategyClass: org.wso2.carbon.cluster.coordinator.rdbms.RDBMSCoordinationStrategy
strategyConfig:
datasource: WSO2_CLUSTER_DB
heartbeatInterval: 5000
heartbeatMaxRetry: 3
eventPollingInterval: 1000
# Authentication configuration
auth.configs:
type: 'local' # Type of the IdP client used
userManager:
adminRole: admin # Admin role which is granted all permissions
userStore: # User store
users:
-
user:
username: admin
password: YWRtaW4=
roles: 1
roles:
-
role:
id: 1
displayName: admin
# Configuration to enable apim alerts
#analytics.solutions:
# APIM-alerts.enabled: true
# Sample of deployment.config for Two node HA
#deployment.config:
# type: ha
# eventSyncServer:
# host: localhost
# port: 9893
# advertisedHost: localhost
# advertisedPort: 9893
# bossThreads: 10
# workerThreads: 10
# eventSyncClientPool:
# maxActive: 10
# maxTotal: 10
# maxIdle: 10
# maxWait: 60000
# minEvictableIdleTimeMillis: 120000
# Sample of deployment.config for Distributed deployment
#deployment.config:
# type: distributed
# httpsInterface:
# host: 192.168.1.3
# port: 9443
# username: admin
# password: admin
# leaderRetryInterval: 10000
# resourceManagers:
# - host: 192.168.1.1
# port: 9543
# username: admin
# password: admin
# - host: 192.168.1.2
# port: 9543
# username: admin
# password: admin
| 36.131206 | 351 | 0.604475 |
f73d998c9b30975c43b3501dec729538469b248a | 468 | yaml | YAML | kubernetes/storage/pv-beta.yaml | badboyd/ultimate-go | df85044e9795104a76c67d1f0dfef22ebc92ef33 | [
"BSD-2-Clause"
] | 1,641 | 2020-08-24T00:58:05.000Z | 2022-03-31T08:12:14.000Z | kubernetes/storage/pv-beta.yaml | badboyd/ultimate-go | df85044e9795104a76c67d1f0dfef22ebc92ef33 | [
"BSD-2-Clause"
] | 5 | 2020-08-24T08:37:22.000Z | 2021-08-16T00:42:18.000Z | kubernetes/storage/pv-beta.yaml | badboyd/ultimate-go | df85044e9795104a76c67d1f0dfef22ebc92ef33 | [
"BSD-2-Clause"
] | 121 | 2020-08-24T08:32:42.000Z | 2022-02-25T07:03:35.000Z | apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-beta
spec:
capacity:
storage: 5Gi
volumeMode: Filesystem
storageClassName: local-storage
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Delete
local:
path: /mnt
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kind-control-plane
| 20.347826 | 41 | 0.638889 |
f73db4b26f55a6ee5651beaa189d3ec63b8a8e70 | 6,353 | yaml | YAML | examples/sesame/01-sesame-config.yaml | lewgun/sesame | 6b15378d577b90005f0b67f91ca4375a14812f48 | [
"Apache-2.0"
] | 1 | 2021-12-23T11:18:30.000Z | 2021-12-23T11:18:30.000Z | examples/sesame/01-sesame-config.yaml | lewgun/sesame | 6b15378d577b90005f0b67f91ca4375a14812f48 | [
"Apache-2.0"
] | null | null | null | examples/sesame/01-sesame-config.yaml | lewgun/sesame | 6b15378d577b90005f0b67f91ca4375a14812f48 | [
"Apache-2.0"
] | 1 | 2021-12-23T10:41:38.000Z | 2021-12-23T10:41:38.000Z | ---
apiVersion: v1
kind: ConfigMap
metadata:
name: sesame
namespace: projectsesame
data:
sesame.yaml: |
#
# server:
# determine which XDS Server implementation to utilize in Sesame.
# xds-server-type: sesame
#
# Specify the Gateway API configuration.
# gateway:
# controllerName: projectsesame.io/projectsesame/sesame
#
# should sesame expect to be running inside a k8s cluster
# incluster: true
#
# path to kubeconfig (if not running inside a k8s cluster)
# kubeconfig: /path/to/.kube/config
#
# Disable RFC-compliant behavior to strip "Content-Length" header if
# "Tranfer-Encoding: chunked" is also set.
# disableAllowChunkedLength: false
# Disable HTTPProxy permitInsecure field
disablePermitInsecure: false
tls:
# minimum TLS version that Sesame will negotiate
# minimum-protocol-version: "1.2"
# TLS ciphers to be supported by Envoy TLS listeners when negotiating
# TLS 1.2.
# cipher-suites:
# - '[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305]'
# - '[ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]'
# - 'ECDHE-ECDSA-AES256-GCM-SHA384'
# - 'ECDHE-RSA-AES256-GCM-SHA384'
# Defines the Kubernetes name/namespace matching a secret to use
# as the fallback certificate when requests which don't match the
# SNI defined for a vhost.
fallback-certificate:
# name: fallback-secret-name
# namespace: projectsesame
envoy-client-certificate:
# name: envoy-client-cert-secret-name
# namespace: projectsesame
# The following config shows the defaults for the leader election.
# leaderelection:
# configmap-name: leader-elect
# configmap-namespace: projectsesame
####
# ExternalName Services are disabled by default due to CVE-2021-XXXXX
# You can re-enable them by setting this setting to `true`.
# This is not recommended without understanding the security implications.
# Please see the advisory at https://github.com/projectsesame/sesame/security/advisories/GHSA-5ph6-qq5x-7jwc for the details.
# enableExternalNameService: false
##
# Address to be placed in status.loadbalancer field of Ingress objects.
# Maybe either a literal IP address or a host name.
# The value will be placed directly into the relevant field inside the status.loadBalancer struct.
# ingress-status-address: local.projectsesame.io
### Logging options
# Default setting
accesslog-format: envoy
# The default access log format is defined by Envoy but it can be customized by setting following variable.
# accesslog-format-string: "...\n"
# To enable JSON logging in Envoy
# accesslog-format: json
# The default fields that will be logged are specified below.
# To customise this list, just add or remove entries.
# The canonical list is available at
# https://godoc.org/github.com/projectsesame/sesame/internal/envoy#JSONFields
# json-fields:
# - "@timestamp"
# - "authority"
# - "bytes_received"
# - "bytes_sent"
# - "downstream_local_address"
# - "downstream_remote_address"
# - "duration"
# - "method"
# - "path"
# - "protocol"
# - "request_id"
# - "requested_server_name"
# - "response_code"
# - "response_flags"
# - "uber_trace_id"
# - "upstream_cluster"
# - "upstream_host"
# - "upstream_local_address"
# - "upstream_service_time"
# - "user_agent"
# - "x_forwarded_for"
#
# default-http-versions:
# - "HTTP/2"
# - "HTTP/1.1"
#
# The following shows the default proxy timeout settings.
# timeouts:
# request-timeout: infinity
# connection-idle-timeout: 60s
# stream-idle-timeout: 5m
# max-connection-duration: infinity
# delayed-close-timeout: 1s
# connection-shutdown-grace-period: 5s
#
# Envoy cluster settings.
# cluster:
# configure the cluster dns lookup family
# valid options are: auto (default), v4, v6
# dns-lookup-family: auto
#
# Envoy network settings.
# network:
# Configure the number of additional ingress proxy hops from the
# right side of the x-forwarded-for HTTP header to trust.
# num-trusted-hops: 0
# Configure the port used to access the Envoy Admin interface.
# admin-port: 9001
#
# Configure an optional global rate limit service.
# rateLimitService:
# Identifies the extension service defining the rate limit service,
# formatted as <namespace>/<name>.
# extensionService: projectsesame/ratelimit
# Defines the rate limit domain to pass to the rate limit service.
# Acts as a container for a set of rate limit definitions within
# the RLS.
# domain: sesame
# Defines whether to allow requests to proceed when the rate limit
# service fails to respond with a valid rate limit decision within
# the timeout defined on the extension service.
# failOpen: false
# Defines whether to include the X-RateLimit headers X-RateLimit-Limit,
# X-RateLimit-Remaining, and X-RateLimit-Reset (as defined by the IETF
# Internet-Draft linked below), on responses to clients when the Rate
# Limit Service is consulted for a request.
# ref. https://tools.ietf.org/id/draft-polli-ratelimit-headers-03.html
# enableXRateLimitHeaders: false
#
# Global Policy settings.
# policy:
# # Default headers to set on all requests (unless set/removed on the HTTPProxy object itself)
# request-headers:
# set:
# # example: the hostname of the Envoy instance that proxied the request
# X-Envoy-Hostname: %HOSTNAME%
# # example: add a l5d-dst-override header to instruct Linkerd what service the request is destined for
# l5d-dst-override: %SESAME_SERVICE_NAME%.%SESAME_NAMESPACE%.svc.cluster.local:%SESAME__SERVICE_PORT%
# # default headers to set on all responses (unless set/removed on the HTTPProxy object itself)
# response-headers:
# set:
# # example: Envoy flags that provide additional details about the response or connection
# X-Envoy-Response-Flags: %RESPONSE_FLAGS%
#
| 39.955975 | 129 | 0.670707 |
f73def78329bd91e788b84b92cc26d8ca5851b51 | 783 | yaml | YAML | k8s/app/bak/staging-instagram-producer-dep.yaml | wMw9/makaba-reposter | 7d09900d67549e7303511d88be5d0ca4326ab10f | [
"MIT"
] | 2 | 2020-09-03T14:15:47.000Z | 2020-09-27T11:59:00.000Z | k8s/app/bak/staging-instagram-producer-dep.yaml | wMw9/makaba-reposter | 7d09900d67549e7303511d88be5d0ca4326ab10f | [
"MIT"
] | 6 | 2020-07-15T21:29:19.000Z | 2020-07-16T11:50:55.000Z | k8s/app/bak/staging-instagram-producer-dep.yaml | wMw9/blossom-reposter | 7d09900d67549e7303511d88be5d0ca4326ab10f | [
"MIT"
] | null | null | null | apiVersion: apps/v1
kind: Deployment
metadata:
namespace: blossom-reposter-staging
name: instagram-producer
labels:
app: instagram-producer
spec:
replicas: 1
selector:
matchLabels:
app: instagram-producer
template:
metadata:
labels:
app: instagram-producer
spec:
nodeSelector:
name: ubuntu-2gb-nbg1-3
containers:
- name: instagram-producer
#image: instagram-producer:1.0
image: docker.pkg.github.com/wmw9/blossom-reposter/instagram-producer:latest
imagePullPolicy: Always
#imagePullPolicy: Never
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: blossom-reposter-config
imagePullSecrets:
- name: github-creds
| 23.727273 | 84 | 0.63857 |
f73e10c9922b2550528d0262d7c28c8b270da080 | 621 | yaml | YAML | config-root/namespaces/secret-infra/kubernetes-external-secrets/kubernetes-external-secrets-sa.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/secret-infra/kubernetes-external-secrets/kubernetes-external-secrets-sa.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | config-root/namespaces/secret-infra/kubernetes-external-secrets/kubernetes-external-secrets-sa.yaml | synectiks-sddc/jx3-gke-gsm | 5bb74bf27e07dcd457e7ef3d9ece017ce00ab656 | [
"Apache-2.0"
] | null | null | null | # Source: kubernetes-external-secrets/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: kubernetes-external-secrets
namespace: "secret-infra"
annotations:
iam.gke.io/gcp-service-account: tf-jx-key-collie-sm@cellular-dream-296612.iam.gserviceaccount.com
meta.helm.sh/release-name: 'kubernetes-external-secrets'
labels:
app.kubernetes.io/name: kubernetes-external-secrets
helm.sh/chart: kubernetes-external-secrets-8.3.0
app.kubernetes.io/instance: kubernetes-external-secrets
app.kubernetes.io/managed-by: Helm
gitops.jenkins-x.io/pipeline: 'namespaces'
| 38.8125 | 101 | 0.774557 |
f73e30c1335b911341db57faf725b175e99e2868 | 249 | yaml | YAML | Templates/rabbitmq/cluster-with-rbd/pvc-0.yaml | JaredTan95/dockerfiles | d3a6a0374e88cb20f18d7a4ba751c0afd013f624 | [
"Apache-2.0"
] | null | null | null | Templates/rabbitmq/cluster-with-rbd/pvc-0.yaml | JaredTan95/dockerfiles | d3a6a0374e88cb20f18d7a4ba751c0afd013f624 | [
"Apache-2.0"
] | null | null | null | Templates/rabbitmq/cluster-with-rbd/pvc-0.yaml | JaredTan95/dockerfiles | d3a6a0374e88cb20f18d7a4ba751c0afd013f624 | [
"Apache-2.0"
] | null | null | null | kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: data-rabbitmq-0
namespace: default
annotations:
volume.beta.kubernetes.io/storage-class: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi | 19.153846 | 49 | 0.730924 |
f73e5de8fa2e93f7d741a9af670ed9a246b6f513 | 1,313 | yaml | YAML | kubernetes_env/yaml_crds/ttcsagent.yaml | NicholasLYang/tracing_env | a9e358d6ffe8e0ea2cf8d04ca77b0d687946a2ac | [
"Apache-2.0"
] | null | null | null | kubernetes_env/yaml_crds/ttcsagent.yaml | NicholasLYang/tracing_env | a9e358d6ffe8e0ea2cf8d04ca77b0d687946a2ac | [
"Apache-2.0"
] | 18 | 2021-01-27T17:16:13.000Z | 2021-04-28T12:50:26.000Z | kubernetes_env/yaml_crds/ttcsagent.yaml | NicholasLYang/tracing_env | a9e358d6ffe8e0ea2cf8d04ca77b0d687946a2ac | [
"Apache-2.0"
] | 2 | 2021-02-04T04:10:38.000Z | 2021-04-29T06:41:30.000Z | apiVersion: apps/v1
kind: DaemonSet
metadata:
name: ttcs-agent
labels:
app: ttcs-agent
spec:
selector:
matchLabels:
app: ttcs-agent
template:
metadata:
labels:
app: ttcs-agent
spec:
hostNetwork: true
dnsPolicy: "ClusterFirstWithHostNet"
containers:
- name: ttcs-agent
image: gcr.io/canvas-diagram-295814/ttcs-agent-image:latest
ports:
- containerPort: 6171
securityContext:
privileged: true
env:
- name: FLAGS_subscription_mode
value: "true"
- name: FLAGS_coordinator_address
value: "c-jb7399-264b.gcp.ticktocknetworks.com"
- name: FLAGS_coordinator_subscription_service_port
value: "6176"
- name: FLAGS_probe_port
value: "3190"
- name: FLAGS_correct_clock
value: "true"
- name: FLAGS_management_address
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: FLAGS_probe_address
valueFrom:
fieldRef:
fieldPath: status.podIP
# This is the name of the node (not pod) on which the agent is running.
- name: FLAGS_agent_name
valueFrom:
fieldRef:
fieldPath: spec.nodeName
| 26.795918 | 79 | 0.585682 |
f73e7610012cc42ffb208256aed6c21a9e85bee7 | 279 | yaml | YAML | modules/tectonic/resources/manifests/ingress/cluster-config.yaml | felixonmars/tectonic-installer | ef9246a7ed59904224638f28999aac5b88c5b8e4 | [
"Apache-2.0"
] | 2 | 2021-05-07T15:40:00.000Z | 2021-07-15T22:49:55.000Z | modules/tectonic/resources/manifests/ingress/cluster-config.yaml | felixonmars/tectonic-installer | ef9246a7ed59904224638f28999aac5b88c5b8e4 | [
"Apache-2.0"
] | 2 | 2021-05-20T23:02:12.000Z | 2021-09-28T05:40:20.000Z | modules/tectonic/resources/manifests/ingress/cluster-config.yaml | felixonmars/tectonic-installer | ef9246a7ed59904224638f28999aac5b88c5b8e4 | [
"Apache-2.0"
] | null | null | null | apiVersion: v1
kind: ConfigMap
metadata:
name: cluster-config-v1
namespace: tectonic-ingress
data:
ingress-config: |
apiVersion: v1
kind: TectonicIngressOperatorConfig
type: ${ingress_kind}
statsPassword: ${ingress_status_password}
statsUsername: admin
| 21.461538 | 45 | 0.74552 |
f73ebf4886271e7c69ee99066cac3469f0234aeb | 236 | yaml | YAML | config/rbac/leader_election_role_binding.yaml | charlieegan3/policy-approver | ba52bfdb6b6cd6eaf84a2f548bca896b0e252b49 | [
"Apache-2.0"
] | null | null | null | config/rbac/leader_election_role_binding.yaml | charlieegan3/policy-approver | ba52bfdb6b6cd6eaf84a2f548bca896b0e252b49 | [
"Apache-2.0"
] | null | null | null | config/rbac/leader_election_role_binding.yaml | charlieegan3/policy-approver | ba52bfdb6b6cd6eaf84a2f548bca896b0e252b49 | [
"Apache-2.0"
] | null | null | null | apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: :leader-election
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: :leader-election
subjects:
- kind: ServiceAccount
name: policy-approver
| 19.666667 | 40 | 0.771186 |
f73ed91b5bd07b736f59101a933449b334418abd | 222 | yaml | YAML | vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pvcsc.yaml | sharang-d/kops | 35cf4a352e2e115714f3d28fbda81feec2ae8a4e | [
"Apache-2.0"
] | 220 | 2017-01-07T14:32:15.000Z | 2022-02-22T08:56:16.000Z | vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pvcsc.yaml | sharang-d/kops | 35cf4a352e2e115714f3d28fbda81feec2ae8a4e | [
"Apache-2.0"
] | 455 | 2015-07-28T11:14:25.000Z | 2018-06-20T14:10:35.000Z | vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pvcsc.yaml | sharang-d/kops | 35cf4a352e2e115714f3d28fbda81feec2ae8a4e | [
"Apache-2.0"
] | 90 | 2015-08-26T15:52:13.000Z | 2021-05-19T12:19:34.000Z | kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvcsc001
annotations:
volume.beta.kubernetes.io/storage-class: fast
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
| 17.076923 | 49 | 0.725225 |
f73f05431e398e4be1236f491157850a2d59b1c9 | 1,015 | yaml | YAML | kubernetes/cli/deployment.yaml | target/consensource | cf21e3e7ef69d8de34c91cee4e2c3e49a63ce1c0 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 90 | 2019-04-17T16:09:51.000Z | 2022-02-15T10:33:59.000Z | kubernetes/cli/deployment.yaml | target/consensource | cf21e3e7ef69d8de34c91cee4e2c3e49a63ce1c0 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 32 | 2019-04-08T15:53:20.000Z | 2021-01-26T16:09:58.000Z | kubernetes/cli/deployment.yaml | target/consensource | cf21e3e7ef69d8de34c91cee4e2c3e49a63ce1c0 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 23 | 2019-04-08T18:25:57.000Z | 2022-01-31T12:16:15.000Z | apiVersion: apps/v1
kind: Deployment
metadata:
name: cli
spec:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: cli
template:
metadata:
labels:
app: cli
spec:
containers:
- name: cli
image: target/consensource-cli
imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 50m
memory: 100Mi
requests:
cpu: 20m
memory: 50Mi
command:
- bash
args:
- -c
- |
tail -f /dev/null
volumeMounts:
- name: consensource-keys
mountPath: "/root/.sawtooth"
readOnly: true
volumes:
- name: consensource-keys
secret:
secretName: cli
items:
- key: sawtooth-pub-key
path: keys/root.pub
- key: sawtooth-priv-key
path: keys/root.priv | 22.555556 | 42 | 0.465025 |
f73f2c642168de649fbb7e62b889d048b14d09b5 | 366 | yaml | YAML | all-in-one/pvc/couchpotato-pvc.yaml | nate-marshall/rpi-media-cluster | e74e0e361dcaf7571810c090c499a8900a7510da | [
"MIT"
] | 6 | 2020-01-24T17:02:38.000Z | 2022-02-04T20:09:22.000Z | all-in-one/pvc/couchpotato-pvc.yaml | nate-marshall/rpi-media-cluster | e74e0e361dcaf7571810c090c499a8900a7510da | [
"MIT"
] | null | null | null | all-in-one/pvc/couchpotato-pvc.yaml | nate-marshall/rpi-media-cluster | e74e0e361dcaf7571810c090c499a8900a7510da | [
"MIT"
] | 3 | 2020-01-24T17:29:52.000Z | 2022-02-04T20:09:24.000Z | ---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: couchpotato-config-pvc
namespace: media
annotations:
volume.beta.kubernetes.io/storage-provisioner: rancher.io/local-path
volume.kubernetes.io/selected-node: raspberrypi-3
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 1Gi | 22.875 | 72 | 0.748634 |
f73f4f67c2410c7e540a405def89f11a3ad89588 | 981 | yaml | YAML | config/manager/manager.yaml | gridgentoo/keda-olm-operator | de20750dc80bcf735b5b447e0169f3eb997b494d | [
"Apache-2.0"
] | null | null | null | config/manager/manager.yaml | gridgentoo/keda-olm-operator | de20750dc80bcf735b5b447e0169f3eb997b494d | [
"Apache-2.0"
] | null | null | null | config/manager/manager.yaml | gridgentoo/keda-olm-operator | de20750dc80bcf735b5b447e0169f3eb997b494d | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: keda-olm-operator
spec:
replicas: 1
selector:
matchLabels:
name: keda-olm-operator
template:
metadata:
labels:
name: keda-olm-operator
spec:
serviceAccountName: keda-olm-operator
containers:
- name: keda-olm-operator
image: ghcr.io/kedacore/keda-olm-operator:main
command:
- /manager
imagePullPolicy: Always
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 25
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 20
env:
- name: WATCH_NAMESPACE
value: ""
| 22.813953 | 56 | 0.503568 |
f73f548be85fcebcebb4de3b0bad0efcc0b44e12 | 437 | yaml | YAML | src/Kubernetes/Services/first-endpoint.yaml | LQss11/dindocker | 64c8bdb6402ca7f35e2877699126657f36d0d38e | [
"MIT"
] | 1 | 2022-01-07T00:58:09.000Z | 2022-01-07T00:58:09.000Z | src/Kubernetes/Services/first-endpoint.yaml | LQss11/dindocker | 64c8bdb6402ca7f35e2877699126657f36d0d38e | [
"MIT"
] | null | null | null | src/Kubernetes/Services/first-endpoint.yaml | LQss11/dindocker | 64c8bdb6402ca7f35e2877699126657f36d0d38e | [
"MIT"
] | null | null | null | # This replaces services if we need to specify
# the endpoint we want to connect instead of
# setting up selectors
apiVersion: v1
kind: Endpoints # Notice that this is not like services
metadata:
name: my-service2
subsets: # Manually map the service to network address (replaces dynamic mapping of selectors)
# 192.0.2.42:9376 (TCP)
- addresses:
- ip: 192.0.2.42 # Pod IP
ports:
- port: 9376 # Pod Port | 33.615385 | 95 | 0.691076 |
f73fcbb9efa744208f571aba7aaa892509297bb9 | 323 | yaml | YAML | java-app/petclinic-service-lb-delegated-DNS.yaml | ezYakaEagle442/aks-sec-gov | 23755dcfd3fb9658be059af6d6411ef8f614a144 | [
"MIT"
] | 2 | 2020-03-24T09:25:12.000Z | 2020-04-28T08:32:53.000Z | java-app/petclinic-service-lb-delegated-DNS.yaml | ezYakaEagle442/aks-sec-gov | 23755dcfd3fb9658be059af6d6411ef8f614a144 | [
"MIT"
] | null | null | null | java-app/petclinic-service-lb-delegated-DNS.yaml | ezYakaEagle442/aks-sec-gov | 23755dcfd3fb9658be059af6d6411ef8f614a144 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Service
metadata:
name: petclinic-lb-delegated-dns
#namespace: staging
spec:
ports:
- protocol: TCP
port: 80
targetPort: 8080
name: http
- protocol: TCP
port: 8081
targetPort: 8081
name: management
selector:
app: petclinic
type: LoadBalancer | 17.944444 | 35 | 0.634675 |
f740796fb642bb13449c4b3eb00e4a7929860c15 | 376 | yaml | YAML | config/rbac/platformnetwork_viewer_role.yaml | yjian118/cloud-platform-deployment-manager | 9731ffdc568419d2049fb1960b2e87518c22b1f5 | [
"Apache-2.0"
] | null | null | null | config/rbac/platformnetwork_viewer_role.yaml | yjian118/cloud-platform-deployment-manager | 9731ffdc568419d2049fb1960b2e87518c22b1f5 | [
"Apache-2.0"
] | null | null | null | config/rbac/platformnetwork_viewer_role.yaml | yjian118/cloud-platform-deployment-manager | 9731ffdc568419d2049fb1960b2e87518c22b1f5 | [
"Apache-2.0"
] | null | null | null | # permissions for end users to view platformnetworks.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: platformnetwork-viewer-role
rules:
- apiGroups:
- starlingx.windriver.com
resources:
- platformnetworks
verbs:
- get
- list
- watch
- apiGroups:
- starlingx.windriver.com
resources:
- platformnetworks/status
verbs:
- get
| 17.904762 | 53 | 0.734043 |
f74087e8bdec2e62f4ca25f29f50e1a08efe7283 | 948 | yaml | YAML | installer/manifests/logging/mongodb-datastore/mongodb-datastore-distributor.yaml | grabnerandi/keptn | 292929df91c4c0a6660410029aa10fdd6f9b071e | [
"Apache-2.0"
] | 1 | 2020-04-02T14:27:38.000Z | 2020-04-02T14:27:38.000Z | installer/manifests/logging/mongodb-datastore/mongodb-datastore-distributor.yaml | grabnerandi/keptn | 292929df91c4c0a6660410029aa10fdd6f9b071e | [
"Apache-2.0"
] | 3 | 2019-04-04T08:37:11.000Z | 2019-04-08T12:52:07.000Z | installer/manifests/logging/mongodb-datastore/mongodb-datastore-distributor.yaml | grabnerandi/keptn | 292929df91c4c0a6660410029aa10fdd6f9b071e | [
"Apache-2.0"
] | null | null | null | ---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mongodb-datastore-distributor
namespace: keptn-datastore
spec:
selector:
matchLabels:
run: distributor
replicas: 1
template:
metadata:
labels:
run: distributor
spec:
containers:
- name: distributor
image: keptn/distributor:latest
ports:
- containerPort: 8080
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "500m"
env:
- name: PUBSUB_IMPL
value: nats
- name: PUBSUB_URL
value: 'nats://keptn-nats-cluster.keptn.svc.cluster.local'
- name: PUBSUB_TOPIC
value: 'sh.keptn.>'
- name: PUBSUB_RECIPIENT
value: 'mongodb-datastore'
- name: PUBSUB_RECIPIENT_PATH
value: '/event'
serviceAccountName: keptn-ds-default
| 23.121951 | 68 | 0.560127 |
f7408aa57d51c6ae7983373efcefa7d975305972 | 144 | yaml | YAML | built-in-references/Kubernetes/perf/violations/violation2881.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation2881.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | built-in-references/Kubernetes/perf/violations/violation2881.yaml | sw47/azure-policy | 4a38e4cb4047b5364902653f0defe45f1b21bc61 | [
"MIT"
] | null | null | null | apiVersion: v1
kind: Pod
metadata:
name: image-demo-2881
spec:
containers:
- name: nginx
image: nginx #ritaacr.azurecr.io/nginx:latest | 18 | 49 | 0.722222 |
f740f1c25f2f33ccbbe0418e0101178d3806cf35 | 15,756 | yaml | YAML | k8s/cmcc-crd.yaml | T-Systems-MMS/cmcc-operator | 58184cad57ba3282a12bd9104b4cb706869cc7fc | [
"Apache-2.0"
] | 3 | 2022-03-17T11:59:37.000Z | 2022-03-25T22:39:58.000Z | k8s/cmcc-crd.yaml | T-Systems-MMS/cmcc-operator | 58184cad57ba3282a12bd9104b4cb706869cc7fc | [
"Apache-2.0"
] | 4 | 2022-03-28T15:08:24.000Z | 2022-03-31T16:32:33.000Z | k8s/cmcc-crd.yaml | T-Systems-MMS/cmcc-operator | 58184cad57ba3282a12bd9104b4cb706869cc7fc | [
"Apache-2.0"
] | null | null | null | # Generated by Fabric8 CRDGenerator, manual edits might get overwritten!
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: coremediacontentclouds.cmcc.tsystemsmms.com
spec:
group: cmcc.tsystemsmms.com
names:
kind: CoreMediaContentCloud
plural: coremediacontentclouds
shortNames:
- cmcc
- coremedia
singular: coremediacontentcloud
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.error
name: ERROR
type: string
- jsonPath: .status.milestone
name: MILESTONE
type: string
name: v1
schema:
openAPIV3Schema:
properties:
spec:
properties:
comment:
description: An arbitrary comment; can be used to force an update
to the object
type: string
components:
description: "List of components (CMS, Solr, CAE, etc.)"
items:
properties:
type:
description: Type of the component
type: string
kind:
description: "Sub-type ('cms' or 'mls', or 'master' and 'replica',\
\ or 'preview' and 'live')"
type: string
name:
description: Name to be used for k8s objects
type: string
args:
description: Args for the main pod container
items:
type: string
type: array
env:
description: Additional environment variables
items:
properties:
name:
type: string
value:
type: string
valueFrom:
properties:
configMapKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
type: object
fieldRef:
properties:
apiVersion:
type: string
fieldPath:
type: string
type: object
resourceFieldRef:
properties:
containerName:
type: string
divisor:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
resource:
type: string
type: object
secretKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
type: object
type: object
type: object
type: array
extra:
additionalProperties:
type: string
description: Extra parameters (depends on component)
type: object
image:
description: Image for main pod' main container
properties:
registry:
description: Image registry (default 'coremedia')
type: string
repository:
description: Image repository (default differs between components)
type: string
tag:
description: Image tag (default 'latest')
type: string
pullPolicy:
description: Image pull policy (default 'IfNotPresent')
type: string
type: object
milestone:
description: Make available with this milestone
enum:
- Created
- DatabasesReady
- ContentServerInitialized
- ContentServerReady
- ManagementReady
- Ready
- RunJob
- Never
- next
type: string
schemas:
additionalProperties:
type: string
description: "Schema names for JDBC, MongoDB, and/or UAPI"
type: object
type: object
type: array
clientSecretRefs:
additionalProperties:
additionalProperties:
properties:
secretName:
description: resource name of the secret
type: string
driverKey:
description: entry in the secret for the driver class or name
type: string
hostnameKey:
description: entry in the secret for hostname of the server
type: string
passwordKey:
description: entry in the secret for the password to authenticate
with
type: string
schemaKey:
description: "entry in the secret for the schema, database\
\ or service to use"
type: string
urlKey:
description: entry in the secret for the url to connect to
type: string
usernameKey:
description: entry in the secret for the username to authenticate
with
type: string
type: object
type: object
description: References to existing secrets for components connecting
as clients to services
type: object
defaultIngressTls:
description: Ingress TLS defaults
properties:
enabled:
description: Enable TLS for this ingress
type: boolean
secretName:
description: Name of secret with the TLS certificate
type: string
type: object
defaults:
description: Default values for components
properties:
curlImage:
description: Docker image with curl available
type: string
image:
description: Defaults for the image specification
properties:
registry:
description: Image registry (default 'coremedia')
type: string
repository:
description: Image repository (default differs between components)
type: string
tag:
description: Image tag (default 'latest')
type: string
pullPolicy:
description: Image pull policy (default 'IfNotPresent')
type: string
type: object
ingressDomain:
description: Default domain name for Ingresses
type: string
insecureDatabasePassword:
description: "Use this password for all database accounts, instead\
\ of a random one."
type: string
resources:
description: Default resource declarations
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
x-kubernetes-int-or-string: true
type: object
type: object
namePrefix:
description: Prefix resources with this name plus '-'. Empty string
means no prefix
type: string
previewHostname:
description: "Hostname of the preview CAE. If short, will be prefixed\
\ with the prefix and the ingressDomain appended"
type: string
storageClass:
description: Name of StorageClass to be used for PersistentVolumeClaims
type: string
studioHostname:
description: "Hostname of the Studio. If short, will be prefixed\
\ with the prefix and the ingressDomain appended"
type: string
servletNames:
description: List of servlets the CAE serves
items:
type: string
type: array
type: object
licenseSecrets:
description: Names of the secrets containing the license
properties:
CMSLicense:
description: Name of the secret that has the license.zip for the
Content Management Server
type: string
MLSLicense:
description: Name of the secret that has the license.zip for the
Master Live Server
type: string
RLSLicense:
description: Name of the secret that has the license.zip for the
Replication Live Server
type: string
type: object
siteMappings:
description: Site mappings
items:
properties:
additionalSegments:
description: Additional segments that are available through
this hostname
items:
type: string
type: array
fqdn:
description: Fully-qualified hostname of the site; defaults
to the simple hostname
type: string
hostname:
description: Simple hostname of the site; used as the key for
site mappings
type: string
primarySegment:
description: The site segment the root maps to
type: string
tls:
description: TLS settings for this mapping
properties:
enabled:
description: Enable TLS for this ingress
type: boolean
secretName:
description: Name of secret with the TLS certificate
type: string
type: object
type: object
type: array
with:
description: Optional special components and configurations
properties:
contentImport:
description: "Import content, users, themes and workflows"
type: boolean
databases:
description: Create databases for CoreMedia
type: boolean
delivery:
description: Create default components for the delivery stage
properties:
rls:
anyOf:
- type: integer
- type: string
description: Number of RLS to create
x-kubernetes-int-or-string: true
minCae:
anyOf:
- type: integer
- type: string
description: Minimum number of CAEs per RLS
x-kubernetes-int-or-string: true
maxCae:
anyOf:
- type: integer
- type: string
description: Maximum number of CAEs per RLS
x-kubernetes-int-or-string: true
type: object
management:
description: Create default components for the management stage
type: boolean
type: object
job:
description: Run this job component once from Ready
type: string
type: object
status:
properties:
error:
description: "Error indication, or empty string"
type: string
errorMessage:
description: Error message if state is error
type: string
flags:
additionalProperties:
type: string
description: Additional state flags
type: object
job:
description: Currently executing job
type: string
milestone:
description: Which milestone has been reached in configuring all components
enum:
- Created
- DatabasesReady
- ContentServerInitialized
- ContentServerReady
- ManagementReady
- Ready
- RunJob
- Never
- next
type: string
ownedResourceRefs:
description: Unused
type: string
observedGeneration:
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}
| 41.138381 | 92 | 0.407146 |