github.com/annchain/OG@v0.0.9/scripts/boostrap_server/ogboot.yaml (about)

     1  apiVersion: extensions/v1beta1
     2  kind: Deployment
     3  metadata:
     4    name: ogboot
     5  spec:
     6    replicas: 1
     7    template:
     8      metadata:
     9        labels:
    10          app: ogboot
    11      spec:
    12        terminationGracePeriodSeconds: 1
    13        containers:
    14          - name: ogboot
    15            image: 172.28.152.101:5000/ogboot
    16            ports:
    17              - name: http
    18                containerPort: 8008
    19            command:
    20              ["python","run.py"]
    21            resources:
    22              limits:
    23                cpu: "1"
    24              requests:
    25                cpu: "10m"