metal/tools/rvmc/centos/docker/examples/rvmc_job.yaml
Eric MacDonald 8959d8258d Utility to install a server via Redfish
This update introduces the implementation for a docker container named
'rvmc', standing for Redfish Virtual Media Controller, which executes a
python file that imports the open source redfish-python-library used to
establish a secure Redfish communication session with a Redfish
supported Board Management Controller to insert a URL based ISO image
into its Virtual Media CD/DVD device so that on that server's next
reboot will boot and install that image.

This container supports single and multi target configuration files with
IPV4 and IPV6 BMC addressing.

Change-Id: I4d555046800c8d193686b9ef3a2b1e61c13d4ff8
Depends-On: https://review.opendev.org/#/c/700434/
Depends-On: https://review.opendev.org/#/c/700080/
Story: 2006980
Task: 37775
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2019-12-31 15:34:54 +00:00

25 lines
552 B
YAML

---
apiVersion: batch/v1
kind: Job
metadata:
name: rvmc-subcloud1
spec:
ttlSecondsAfterFinished: 60
activeDeadlineSeconds: 600
backoffLimit: 1
template:
spec:
nodeSelector:
kubernetes.io/hostname: controller-0
containers:
- name: rvmc
image: rvmc:dev-centos-stable-build
volumeMounts:
- mountPath: /etc/rvmc.yaml
name: rvmc-config
volumes:
- name: rvmc-config
hostPath:
path: /etc/rvmc_subcloud1.yaml
restartPolicy: Never