Commit 084a6e9f authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

k8s node placement support

parent f951b175
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -55,9 +55,19 @@ deployment:

  nodeSelector: {}
  tolerations: []
  affinity: {}


  affinity: 
  {{- if .Deployment.PlacementId}}
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: kubernetes.io/hostname
            operator: In
            values:
            - {{.Deployment.PlacementId}}
  {{- else}}
    {}
  {{- end}}

service:
  enabled: {{.Service.Enabled}}
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 0.0.1
- Build date: 2019-09-17T14:39:27.445-04:00
- Build date: 2019-09-27T16:00:45.233-04:00


### Running the server
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 0.0.1
- Build date: 2019-09-17T14:39:29.528-04:00
- Build date: 2019-09-27T16:00:46.300-04:00


### Running the server
+3 −0
Original line number Diff line number Diff line
@@ -757,6 +757,9 @@ definitions:
        type: "number"
        format: "double"
        description: "Packet lost (in terms of percentage) caused by the application"
      placementId:
        type: "string"
        description: "Identifier used for process placement in AdvantEDGE cluster"
    description: "Application or service object"
    example: {}
  ServiceConfig:
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ To see how to make this your own, look here:
[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)

- API version: 1.0.0
- Build date: 2019-09-17T14:39:13.849-04:00
- Build date: 2019-09-27T16:00:38.458-04:00


### Running the server
Loading