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