Merge "Adding Support for Annotations in DSL"
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user