text stringlengths 0 59.1k |
|---|
apiVersion: v1 |
kind: Pod |
metadata: |
name: javaweb-2 |
spec: |
initContainers: |
- image: resouer/sample:v2 |
name: war |
command: ["cp", "/sample.war", "/app"] |
volumeMounts: |
- mountPath: /app |
name: app-volume |
containers: |
- image: resouer/mytomcat:7.0 |
name: tomcat |
command: ["sh","-c","/root/apache-tomcat-7.0.42-v2/bin/start.sh"] |
volumeMounts: |
- mountPath: /root/apache-tomcat-7.0.42-v2/webapps |
name: app-volume |
ports: |
- containerPort: 8080 |
hostPort: 8001 |
volumes: |
- name: app-volume |
emptyDir: {} |
<|endoftext|> |
# source: k8s_examples/_archived/scheduler-policy/scheduler-policy-config.json type: json |
{ |
"kind": "Policy", |
"apiVersion": "v1", |
"predicates": [ |
{ |
"name": "CheckNodeUnschedulable" |
}, |
{ |
"name": "CheckVolumeBinding" |
}, |
{ |
"name": "GeneralPredicates" |
}, |
{ |
"name": "MatchInterPodAffinity" |
}, |
{ |
"name": "MaxEBSVolumeCount" |
}, |
{ |
"name": "MaxGCEPDVolumeCount" |
}, |
{ |
"name": "MaxAzureDiskVolumeCount" |
}, |
{ |
"name": "MaxCSIVolumeCountPred" |
}, |
{ |
"name": "NoDiskConflict" |
}, |
{ |
"name": "NoVolumeZoneConflict" |
}, |
{ |
"name": "PodToleratesNodeTaints" |
} |
], |
"priorities": [ |
{ |
"name": "ServiceSpreadingPriority", |
"weight": 1 |
}, |
{ |
"name": "EqualPriority", |
"weight": 1 |
}, |
{ |
"name": "ImageLocalityPriority", |
"weight": 1 |
}, |
{ |
"name": "MostRequestedPriority", |
"weight": 1 |
}, |
{ |
"name": "SelectorSpreadPriority", |
"weight": 1 |
}, |
{ |
"name": "InterPodAffinityPriority", |
"weight": 1 |
}, |
{ |
"name": "LeastRequestedPriority", |
"weight": 1 |
}, |
{ |
"name": "BalancedResourceAllocation", |
"weight": 1 |
}, |
{ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.