Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 2.7 KB

README.md

File metadata and controls

34 lines (27 loc) · 2.7 KB

TOSCAKubed

A TOSCA-ADT to Kubernetes-manifest Translation Tool

Reference for the TOSCA type tosca.nodes.MiCADO.Container.Application.Docker

Supported field names for Docker Container Properties

Docker Runtime Option 0.7.1 0.7.2 Swarm Docker-Compose Name Kubernetes Manifest (Pod.Spec.Container) Name Mesos Marathon Name TOSCA ADT Name
Container Run Command ✔️ ✔️ entrypoint command args/cmd Swarm or Kube
Container Arguments ✔️ ✔️ command args args/cmd Swarm or Kube
Container Name ✔️ ✔️ container_name name id Swarm or Kube
Environment Variables ✔️ ✔️ environment (map) env (list) env (map) Swarm or Kube
Ports ✔️ ✔️ ports Service.Spec.ports portMappings ports
Container Labels ✔️ ✔️ labels Pod.Spec.metadata.labels labels any
Healthcheck ✔️ ✔️ healthcheck livenessProbe healthchecks livenessProbe
Host Network ✔️ network_mode Pod.Spec.hostNetwork networks.mode Swarm or Kube
Host PID ✔️ ✔️ pid Pod.Spec.hostPID parameters.pid Swarm or Kube
Elevate privileges ✔️ not supported (as of v18.09) privileged privileged Kube or Mesos
Shutdown Grace Period ✔️ ✔️ stop_grace_period Pod.Spec. terminationGracePeriodSeconds taskKillGracePeriodSeconds Swarm or Kube
Allocate a TTY ✔️ ✔️ tty tty parameters.tty Swarm or Kube
Keep STDIN open ✔️ ✔️ stdin_open stdin parameters.ineractive Swarm or Kube

Supported field names for Kubernetes create interface inputs (Workload creation)

Supported field names for Kubernetes configure interface inputs (Pod configuration)