Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- evel=error timestamp=2017-12-14T13:20:54.304208Z pos=log.go:276 component= service=http namespace=default name=testvm kind= uid=9ce0dbcf-e0d1-11e7-92b4-525400123456 reason="pods \"virt-launcher-testvm-----\" is forbidden: unable to validate against any security context constraint: [provider restricted: .spec.securityContext.hostPID: Invalid value: true: Host PID is not allowed to be used spec.volumes[0]: Invalid value: \"hostPath\": hostPath volumes are not allowed to be used provider restricted: .spec.containers[0].securityContext.hostPID: Invalid value: true: Host PID is not allowed to be used]" msg="Defining a target pod for the VM failed."
- --------------------------------------------------
- apiVersion: kubevirt.io/v1alpha1
- kind: VirtualMachine
- metadata:
- name: testvm
- spec:
- terminationGracePeriodSeconds: 0
- domain:
- devices:
- graphics:
- - type: spice
- interfaces:
- - type: network
- source:
- network: default
- video:
- - type: qxl
- consoles:
- - type: pty
- memory:
- unit: MB
- value: 64
- os:
- type:
- os: hvm
- type: qemu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement