mirror of https://github.com/sgoudham/k8s
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
352 B
YAML
20 lines
352 B
YAML
2 years ago
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
1 year ago
|
app: website-preview
|
||
|
name: website-preview
|
||
2 years ago
|
namespace: website
|
||
|
spec:
|
||
|
internalTrafficPolicy: Cluster
|
||
|
ipFamilies:
|
||
|
- IPv4
|
||
|
ipFamilyPolicy: SingleStack
|
||
|
ports:
|
||
|
- port: 3000
|
||
|
protocol: TCP
|
||
|
targetPort: 3000
|
||
|
selector:
|
||
1 year ago
|
app: website-preview
|
||
2 years ago
|
sessionAffinity: None
|
||
|
type: ClusterIP
|