X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fbpa-operator%2Fdeploy%2Fvirtlet-deployment-sample.yaml;h=6a5b925aa6692c694f4fd834027bb2ae760dcef2;hb=95ca9e9192a22bb3172c373cdb611297fef5cfd6;hp=cbd0122bd00ca8fff63918c14f85ed84806a1ac8;hpb=084225d091556da9b3f2f6e82f9c4f7f30050523;p=icn.git diff --git a/cmd/bpa-operator/deploy/virtlet-deployment-sample.yaml b/cmd/bpa-operator/deploy/virtlet-deployment-sample.yaml index cbd0122..6a5b925 100644 --- a/cmd/bpa-operator/deploy/virtlet-deployment-sample.yaml +++ b/cmd/bpa-operator/deploy/virtlet-deployment-sample.yaml @@ -22,6 +22,9 @@ spec: ssh_pwauth: True disable_root: false chpasswd: {expire: False} + manage_resolv_conf: True + resolv_conf: + nameservers: ['8.8.8.8', '8.8.4.4'] users: - name: root gecos: User @@ -31,13 +34,16 @@ spec: shell: /bin/bash sudo: ALL=(ALL) NOPASSWD:ALL ssh_authorized_keys: - # SSH key goes here + $ssh_key runcmd: - - echo hello world + - sed -i -e 's/^#DNS=.*/DNS=8.8.8.8/g' /etc/systemd/resolved.conf + - systemctl daemon-reload + - systemctl restart systemd-resolved v1.multus-cni.io/default-network: '[ { "name": "flannel-vm", "mac": "c2:b4:57:49:47:f1" }]' - VirtletRootVolumeSize: 12Gi + VirtletRootVolumeSize: 8Gi + VirtletVCPUCount: "2" spec: affinity: nodeAffinity: @@ -61,8 +67,8 @@ spec: resources: requests: cpu: 2 - memory: 12Gi + memory: 8Gi limits: # This memory limit is applied to the libvirt domain definition cpu: 2 - memory: 12Gi + memory: 8Gi