Skip to content
Snippets Groups Projects
Commit faac87a0 authored by Eunhak Lee's avatar Eunhak Lee
Browse files

feat: expose nginx via NodePort

parent 296d95db
No related branches found
No related tags found
No related merge requests found
...@@ -64,8 +64,10 @@ metadata: ...@@ -64,8 +64,10 @@ metadata:
spec: spec:
selector: selector:
name: nginx name: nginx
type: NodePort
ports: ports:
- port: 80 - port: 80
nodePort: 30080
targetPort: 80 targetPort: 80
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment