github.com/equinix-metal/virtlet@v1.5.2-0.20191204181327-1659b8a48e9b/examples/fedora-vm.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 name: fedora-vm 5 annotations: 6 kubernetes.io/target-runtime: virtlet.cloud 7 VirtletSSHKeys: | 8 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCaJEcFDXEK2ZbX0ZLS1EIYFZRbDAcRfuVjpstSc0De8+sV1aiu+dePxdkuDRwqFtCyk6dEZkssjOkBXtri00MECLkir6FcH3kKOJtbJ6vy3uaJc9w1ERo+wyl6SkAh/+JTJkp7QRXj8oylW5E20LsbnA/dIwWzAF51PPwF7A7FtNg9DnwPqMkxFo1Th/buOMKbP5ZA1mmNNtmzbMpMfJATvVyiv3ccsSJKOiyQr6UG+j7sc/7jMVz5Xk34Vd0l8GwcB0334MchHckmqDB142h/NCWTr8oLakDNvkfC1YneAfAO41hDkUbxPtVBG5M/o7P4fxoqiHEX+ZLfRxDtHB53 me@localhost 9 spec: 10 nodeSelector: 11 extraRuntime: virtlet 12 13 # This is the number of seconds Virtlet gives the VM to shut down cleanly. 14 # The default value of 30 seconds is ok for containers but probably too 15 # low for VM, so overriding it here is strongly advised. 16 terminationGracePeriodSeconds: 120 17 containers: 18 - name: fedora-vm 19 image: virtlet.cloud/fedora 20 imagePullPolicy: IfNotPresent 21 # tty and stdin required for `kubectl attach -t` to work 22 tty: true 23 stdin: true 24 resources: 25 limits: 26 # This memory limit is applied to the libvirt domain definition 27 memory: 256Mi