User Tools

Site Tools


kubernetes_metallb_baremetal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kubernetes_metallb_baremetal [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadmkubernetes_metallb_baremetal [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-===== MetalLB Bare Metal ===== 
-Sugindo esta instalação do kubernetes: [[kubernetes_install_debian|Instalação Kubernetes]] 
  
-<file bash> 
-$ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/namespace.yaml 
-namespace/metallb-system created 
-</file> 
- 
-<file bash> 
-$ kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/metallb.yaml 
-Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ 
-podsecuritypolicy.policy/controller created 
-podsecuritypolicy.policy/speaker created 
-serviceaccount/controller created 
-serviceaccount/speaker created 
-clusterrole.rbac.authorization.k8s.io/metallb-system:controller created 
-clusterrole.rbac.authorization.k8s.io/metallb-system:speaker created 
-role.rbac.authorization.k8s.io/config-watcher created 
-role.rbac.authorization.k8s.io/pod-lister created 
-role.rbac.authorization.k8s.io/controller created 
-clusterrolebinding.rbac.authorization.k8s.io/metallb-system:controller created 
-clusterrolebinding.rbac.authorization.k8s.io/metallb-system:speaker created 
-rolebinding.rbac.authorization.k8s.io/config-watcher created 
-rolebinding.rbac.authorization.k8s.io/pod-lister created 
-rolebinding.rbac.authorization.k8s.io/controller created 
-daemonset.apps/speaker created 
-deployment.apps/controller created 
-</file> 
- 
-<file bash> 
-$ kubectl get all -n metallb-system -o wide 
-NAME                              READY   STATUS    RESTARTS   AGE   IP               NODE                                 NOMINATED NODE   READINESS GATES 
-pod/controller-7476b58756-49n87   1/    Running            67s   10.244.213.132   kube-worker-02.juntotelecom.com.br   <none>           <none> 
-pod/speaker-gmqzb                 1/    Running            67s   177.75.176.42    kube-worker-02.juntotelecom.com.br   <none>           <none> 
-pod/speaker-kg8g8                 1/    Running            67s   177.75.176.41    kube-worker-01.juntotelecom.com.br   <none>           <none> 
- 
-NAME                     DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE   CONTAINERS   IMAGES                            SELECTOR 
-daemonset.apps/speaker                                    2           kubernetes.io/os=linux   67s   speaker      quay.io/metallb/speaker:v0.12.1   app=metallb,component=speaker 
- 
-NAME                         READY   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS   IMAGES                               SELECTOR 
-deployment.apps/controller   1/               1           67s   controller   quay.io/metallb/controller:v0.12.1   app=metallb,component=controller 
- 
-NAME                                    DESIRED   CURRENT   READY   AGE   CONTAINERS   IMAGES                               SELECTOR 
-replicaset.apps/controller-7476b58756                         67s   controller   quay.io/metallb/controller:v0.12.1   app=metallb,component=controller,pod-template-hash=7476b58756 
-</file> 
- 
-<file yaml metallb-config.yaml> 
---- 
-apiVersion: v1 
-kind: ConfigMap 
-metadata: 
-  namespace: metallb-system 
-  name: config 
-data: 
-  config: | 
-    address-pools: 
-    - name: default 
-      protocol: layer2 
-      addresses: 
-      - 177.75.176.50-177.75.176.60 
-      - 2804:694:3000:8000::100-2804:694:3000:8000::110 
-</file> 
- 
-<file bash> 
-$ kubectl apply -f metallb-config.yaml 
-configmap/config created 
-</file> 
- 
-<file bash> 
-$ kubectl describe cm config -n metallb-system 
-Name:         config 
-Namespace:    metallb-system 
-Labels:       <none> 
-Annotations:  <none> 
- 
-Data 
-==== 
-config: 
----- 
-address-pools: 
-- name: default 
-  protocol: layer2 
-  addresses: 
-  - 177.75.176.50-177.75.176.60 
-  - 2804:694:3000:8000::100-2804:694:3000:8000::110 
- 
- 
-BinaryData 
-==== 
- 
-Events:  <none> 
-</file> 
kubernetes_metallb_baremetal.1753560544.txt.gz · Last modified: by wikiadm