Files
kubevela/docs/examples/imagepulljob/basic_image_pull.yaml
2021-08-12 19:12:53 +08:00

27 lines
539 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: pullimage-sample
namespace: default
spec:
components:
- name: nginx
type: webservice
properties:
image: nginx:1.9.1
port: 80
workflow:
steps:
- name: pullimage
type: predownloadimage
properties:
image: nginx:1.9.1
parallel: 3
kvs:
kubernetes.io/os: linux
- name: deploy-remaining
type: apply
properties:
component: nginx