Merge "Adding Support for Annotations in DSL"

This commit is contained in:
Jenkins
2016-12-21 14:16:23 +00:00
committed by Gerrit Code Review
6 changed files with 53 additions and 6 deletions

View File

@@ -17,6 +17,11 @@ Application definition template
hostNetwork: true
hostPID: true
antiAffinity: local
annotations:
pod:
description: frontend ports
service:
description: frontend service
containers:
- name: container-name
image: container-image
@@ -107,6 +112,9 @@ service
| | local - within namespace | | [null, "global", | |
| | global - within k8s cluster | | "local"] | |
+---------------+-----------------------------------------------+----------+------------------+---------------+
| annotations | pod - annotations for pods | false | string dict | null |
| | service - annotations for service | | | |
+---------------+-----------------------------------------------+----------+------------------+---------------+
.. _container: