NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
bk-gateway ClusterIP 10.99.188.1 <none> 9000/TCP 6h14m app=gateway
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 8d <none>
member ClusterIP 10.110.39.177 <none> 8081/TCP 25h app=member
rule ClusterIP 10.101.19.22 <none> 8083/TCP 27h app=rule
solved ClusterIP 10.105.158.104 <none> 8084/TCP 27h app=solved
study ClusterIP 10.104.234.199 <none> 8082/TCP 3h1m app=study
💡세팅에선 address 를 내부 접속용 ip 로 설정했지만,
사용중인 서버의 public ip 를 열어도 되는건가요??
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: metallb-pool
namespace: metallb-system
spec:
addresses:
- 192.168.0.240-192.168.0.250
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: metallb-l2
namespace: metallb-system
NAME READY STATUS RESTARTS AGE
controller-8d9cf599f-fzdzn 1/1 Running 0 3h2m
speaker-72h7s 1/1 Running 0 3h2m
speaker-7frpz 1/1 Running 0 3h2m
speaker-8w7ck 1/1 Running 0 3h2m
speaker-f6zcv 1/1 Running 0 3h2m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
istio-egressgateway ClusterIP 10.108.235.119 <none> 80/TCP,443/TCP 14h app=istio-egressgateway,istio=egressgateway
istio-ingressgateway LoadBalancer 10.105.48.61 192.168.0.240 15021:30498/TCP,80:32436/TCP,443:30896/TCP 14h app=istio-ingressgateway,istio=ingressgateway
istiod ClusterIP 10.108.230.28 <none> 15010/TCP,15012/TCP,443/TCP,15014/TCP 14h app=istiod,istio=pilot
NAME VHOST NAME DOMAINS MATCH VIRTUAL SERVICE
http.8080 *:80 * /* vs-gateway.default
backend * /stats/prometheus*
backend * /healthz/ready*
apiVersion: v1
items:
- apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"networking.istio.io/v1alpha3","kind":"Gateway","metadata":{"annotations":{},"name":"gt-gateway","namespace":"default"},"spec":{"selector":{"istio":"istio-ingressgateway"},"servers":[{"hosts":["*"],"port":{"name":"http","number":80,"protocol":"HTTP"}}]}}
creationTimestamp: "2023-07-23T09:40:36Z"
generation: 4
name: gt-gateway
namespace: default
resourceVersion: "1785051"
uid: 9f820efd-75ee-4e46-93a1-ad058af029af
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- '*'
port:
name: http
number: 80
protocol: HTTP
kind: List
metadata:
resourceVersion: ""
apiVersion: v1
items:
- apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"networking.istio.io/v1alpha3","kind":"VirtualService","metadata":{"annotations":{},"name":"vs-gateway","namespace":"default"},"spec":{"gateways":["gt-gateway"],"hosts":["*"],"http":[{"match":[{"uri":{"prefix":"/"}}],"route":[{"destination":{"host":"bk-gateway.default.svc.cluster.local","port":{"number":9000}}}]}]}}
creationTimestamp: "2023-07-23T09:41:03Z"
generation: 1
name: vs-gateway
namespace: default
resourceVersion: "1784045"
uid: 841c4eee-6699-4986-b4f7-2da154367755
spec:
gateways:
- gt-gateway
hosts:
- '*'
http:
- match:
- uri:
prefix: /
route:
- destination:
host: bk-gateway.default.svc.cluster.local
port:
number: 9000
kind: List
metadata:
resourceVersion: ""
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"istio-ingressgateway","install.operator.istio.io/owning-resource":"istiocontrolplane","install.operator.istio.io/owning-resource-namespace":"istio-system","istio":"ingressgateway","istio.io/rev":"default","operator.istio.io/component":"IngressGateways","operator.istio.io/managed":"Reconcile","operator.istio.io/version":"1.18.1","release":"istio"},"name":"istio-ingressgateway","namespace":"istio-system"},"spec":{"ports":[{"name":"status-port","port":15021,"protocol":"TCP","targetPort":15021},{"name":"http2","port":80,"protocol":"TCP","targetPort":8080},{"name":"https","port":443,"protocol":"TCP","targetPort":8443}],"selector":{"app":"istio-ingressgateway","istio":"ingressgateway"},"type":"LoadBalancer"}}
creationTimestamp: "2023-07-23T00:24:49Z"
labels:
app: istio-ingressgateway
install.operator.istio.io/owning-resource: istiocontrolplane
install.operator.istio.io/owning-resource-namespace: istio-system
istio: ingressgateway
istio.io/rev: default
operator.istio.io/component: IngressGateways
operator.istio.io/managed: Reconcile
operator.istio.io/version: 1.18.1
release: istio
name: istio-ingressgateway
namespace: istio-system
resourceVersion: "1838060"
uid: 9861af91-52eb-4291-a122-4eb6c7e5ebb4
spec:
allocateLoadBalancerNodePorts: true
clusterIP: 10.105.48.61
clusterIPs:
- 10.105.48.61
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
loadBalancerIP: 34.64.37.204
ports:
- name: status-port
nodePort: 30498
port: 15021
protocol: TCP
targetPort: 15021
- name: http2
nodePort: 32436
port: 80
protocol: TCP
targetPort: 8080
- name: https
nodePort: 30896
port: 443
protocol: TCP
targetPort: 8443
selector:
app: istio-ingressgateway
istio: ingressgateway
sessionAffinity: None
type: LoadBalancer
status:
loadBalancer:
ingress:
- ip: 34.64.37.204
많은 도움이 되었습니다, 감사합니다.