text stringlengths 0 59.1k |
|---|
spec: |
containers: |
- image: quay.io/connordoyle/cpuset-visualizer |
name: exclusive-2 |
resources: |
requests: |
cpu: 2 |
memory: "256M" |
limits: |
cpu: 2 |
memory: "256M" |
<|endoftext|> |
# source: k8s_examples/_archived/openshift-origin/etcd-discovery-service.yaml type: yaml |
kind: Service |
apiVersion: v1 |
metadata: |
name: etcd-discovery |
labels: |
name: etcd-discovery |
spec: |
ports: |
- protocol: TCP |
port: 2379 |
targetPort: 2379 |
nodePort: 0 |
selector: |
name: etcd-discovery |
sessionAffinity: None |
type: ClusterIP |
status: |
loadBalancer: {} |
<|endoftext|> |
# source: k8s_examples/_archived/openshift-origin/etcd-discovery-controller.yaml type: yaml |
apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1 |
kind: Deployment |
metadata: |
name: etcd-discovery |
spec: |
selector: |
matchLabels: |
name: etcd-discovery |
strategy: |
type: Recreate |
replicas: 1 |
selector: |
matchLabels: |
name: etcd-discovery |
template: |
metadata: |
labels: |
name: etcd-discovery |
spec: |
containers: |
- name: discovery |
image: openshift/etcd-20-centos7 |
args: |
- etcd-discovery.sh |
ports: |
- containerPort: 2379 |
protocol: TCP |
resources: {} |
terminationMessagePath: "/dev/termination-log" |
imagePullPolicy: IfNotPresent |
securityContext: |
capabilities: {} |
privileged: false |
restartPolicy: Always |
dnsPolicy: ClusterFirst |
serviceAccount: '' |
status: {} |
<|endoftext|> |
# source: k8s_examples/_archived/openshift-origin/etcd-service.yaml type: yaml |
kind: Service |
apiVersion: v1 |
metadata: |
name: etcd |
labels: |
name: etcd |
spec: |
ports: |
- name: client |
protocol: TCP |
port: 2379 |
targetPort: 2379 |
nodePort: 0 |
- name: server |
protocol: TCP |
port: 2380 |
targetPort: 2380 |
nodePort: 0 |
selector: |
name: etcd |
sessionAffinity: None |
type: ClusterIP |
status: |
loadBalancer: {} |
<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.