# Copyright (C) 2018, ARM Limited and contributors. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 --- apiVersion: v1 kind: Pod metadata: name: multus-test1 annotations: networks: '[ { "name": "flannel-conf" }, { "name": "sriov-conf1" } ]' spec: containers: - name: multus-test image: "busybox" command: ["top"] stdin: true tty: true nodeSelector: kubernetes.io/hostname: "host1" tolerations: - key: "node-role.kubernetes.io/master" operator: "Exists" effect: "NoSchedule" --- apiVersion: v1 kind: Pod metadata: name: multus-test2 annotations: networks: '[ { "name": "flannel-conf" }, { "name": "sriov-conf2" } ]' spec: containers: - name: multus-test image: "busybox" command: ["top"] stdin: true tty: true nodeSelector: kubernetes.io/hostname: "host2" tolerations: - key: "node-role.kubernetes.io/master" operator: "Exists" effect: "NoSchedule"