Browse Source

updated pi.yaml talos

Breandan Dezendorf 2 năm trước cách đây
mục cha
commit
49d5b6fb09
1 tập tin đã thay đổi với 16 bổ sung13 xóa
  1. 16 13
      dezendorf/homelab/talos/nodeconfig/pi.yaml

+ 16 - 13
dezendorf/homelab/talos/nodeconfig/pi.yaml

@@ -53,10 +53,10 @@ machine:
         #         - '!10.0.0.3/32'
         #         - fdc7::/16
     # Provides machine specific network configuration options.
-    network:
+    #network:
     # # `interfaces` is used to define the network interface configuration.
-    # interfaces:
-    #     - interface: enp0s1 # The interface name.
+    #  interfaces:
+    #    - interface: eth0 #np0s1 # The interface name.
     #       # Assigns static IP addresses to the interface.
     #       addresses:
     #         - 192.168.2.0/24
@@ -147,7 +147,6 @@ machine:
     # # Used to statically set the nameservers for the machine.
       nameservers:
           - 192.168.1.87
-          - 192.168.1.1
 
     # # Allows for extra entries to be added to the `/etc/hosts` file
     # extraHostEntries:
@@ -338,10 +337,13 @@ machine:
     #         #     - no_write_workqueue
 
     # # Configures the udev system.
-    # udev:
-    #     # List of udev rules to apply to the udev system
-    #     rules:
-    #         - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
+    udev:
+        # List of udev rules to apply to the udev system
+        rules:
+            - SUBSYSTEM=="sound", KERNEL=="renderD*", GROUP="audio", MODE="0660"
+
+              #SUBSYSTEM=="sound", GROUP="audio", \
+              #OPTIONS+="static_node=snd/seq", OPTIONS+="static_node=snd/timer"
 
     # # Configures the logging system.
     # logging:
@@ -373,7 +375,7 @@ cluster:
     secret: ssgf5bbwHcen8w5i48nlDIdsUcTf9O3AoO3EQDTbpmo= # Shared secret of cluster (base64 encoded random 32 bytes).
     # Provides control plane specific configuration options.
     controlPlane:
-        endpoint: https://talos-master-vm-01.dezendorf.net:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
+        endpoint: https://talos-master.dezendorf.net:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
     # Provides cluster specific network configuration options.
     network:
         dnsDomain: cluster.local # The domain used by Kubernetes DNS.
@@ -476,13 +478,14 @@ cluster:
     #         feature-gates: ServerSideApply=true
 
     # # Kube-proxy server-specific configuration options
-    # proxy:
+    proxy:
     #     disabled: false # Disable kube-proxy deployment on cluster bootstrap.
     #     image: registry.k8s.io/kube-proxy:v1.28.0 # The container image used in the kube-proxy manifest.
-    #     mode: ipvs # proxy mode of kube-proxy.
+        mode: ipvs # proxy mode of kube-proxy.
     #     # Extra arguments to supply to kube-proxy.
-    #     extraArgs:
-    #         proxy-mode: iptables
+        extraArgs:
+            ipvs-strict-arp: true
+            proxy-mode: iptables
 
     # # Scheduler server specific configuration options.
     # scheduler: