Last active
March 26, 2023 19:09
-
-
Save varesa/f2d9ea088bd68461639424e13352b4b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: helloworld | |
spec: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cluster-virt.acl.fi/v1beta | |
kind: Network | |
metadata: | |
name: main | |
namespace: helloworld | |
spec: | |
dhcp: | |
cidr: 10.4.131.0/24 | |
dns_server: 10.10.10.10 | |
domain_name: null | |
lease_time: 3600 | |
router: 10.4.131.1 | |
routers: | |
- address: 10.4.131.1/24 | |
name: networking/core | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cluster-virt.acl.fi/v1beta | |
kind: Volume | |
metadata: | |
name: test-vm1-root | |
namespace: helloworld | |
spec: | |
size: 10G | |
template: fedora-coreos-37.20230303.3.0-openstack.x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cluster-virt.acl.fi/v1beta2 | |
kind: VirtualMachine | |
metadata: | |
name: test-vm1 | |
namespace: helloworld | |
spec: | |
cpus: 2 | |
memory: 4G | |
volumes: | |
- name: test-vm1-root | |
networks: | |
- name: main | |
userdata: fcos-ssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: fcos-ssh | |
namespace: helloworld | |
data: | |
userdata: | | |
{ | |
"ignition": { | |
"version": "3.3.0" | |
}, | |
"passwd": { | |
"users": [ | |
{ | |
"name": "core", | |
"sshAuthorizedKeys": [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA05sdc/e7Momfqxt0wcsainDsi8tIlyMvjIugTteoTU esa@desktop" | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment