feat: expose everything
This commit is contained in:
@@ -2,4 +2,4 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
# - ../base/podinfo.yaml
|
- ../base/podinfo.yaml
|
||||||
|
|||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -142,11 +142,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728249353,
|
"lastModified": 1728279793,
|
||||||
"narHash": "sha256-7NBJm1jfMeAowE1J2oljYqWVvI9X7FyyxBY4O8uB/Os=",
|
"narHash": "sha256-W3D5YpNrUVTFPVU4jiEiboaaUDShaiH5fRl9aJLqUnU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c8a17040be4a20b29589cb4043a9e0c36af1930e",
|
"rev": "f85a2d005e83542784a755ca8da112f4f65c4aa4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
# ---
|
---
|
||||||
# apiVersion: metallb.io/v1beta1
|
apiVersion: metallb.io/v1beta1
|
||||||
# kind: IPAddressPool
|
kind: IPAddressPool
|
||||||
# metadata:
|
metadata:
|
||||||
# name: first-pool
|
name: first-pool
|
||||||
# namespace: metallb-system
|
namespace: metallb-system
|
||||||
# spec:
|
spec:
|
||||||
# addresses:
|
addresses:
|
||||||
# - 10.0.1.0/24
|
- 10.0.1.0/24
|
||||||
# avoidBuggyIPs: true
|
avoidBuggyIPs: true
|
||||||
# ---
|
---
|
||||||
# apiVersion: metallb.io/v1beta1
|
apiVersion: metallb.io/v1beta1
|
||||||
# kind: L2Advertisement
|
kind: L2Advertisement
|
||||||
# metadata:
|
metadata:
|
||||||
# name: l2-advertisement
|
name: l2-advertisement
|
||||||
# namespace: metallb-system
|
namespace: metallb-system
|
||||||
# spec:
|
spec:
|
||||||
# ipAddressPools:
|
ipAddressPools:
|
||||||
# - first-pool
|
- first-pool
|
||||||
|
|||||||
4
infra/configs/kustomization.yaml
Normal file
4
infra/configs/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- config-metallb.yaml
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
# - metallb.yaml
|
- metallb.yaml
|
||||||
# - longhorn.yaml
|
- longhorn.yaml
|
||||||
# - traefik.yaml
|
- traefik.yaml
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ function main() {
|
|||||||
--net0 "virtio,bridge=vmbr0" \
|
--net0 "virtio,bridge=vmbr0" \
|
||||||
--ostype "l26" \
|
--ostype "l26" \
|
||||||
--scsi0 "${STORAGE}:50,iothread=on" \
|
--scsi0 "${STORAGE}:50,iothread=on" \
|
||||||
|
--onboot "1" \
|
||||||
|
--pool "premhome-cluster" \
|
||||||
--scsihw "virtio-scsi-single"
|
--scsihw "virtio-scsi-single"
|
||||||
|
|
||||||
echo "Created VM, starting..."
|
echo "Created VM, starting..."
|
||||||
|
|||||||
Reference in New Issue
Block a user