updsate
This commit is contained in:
18
statefulset/svc.yaml
Normal file
18
statefulset/svc.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx
|
||||
namespace: test
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
name: web
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: nginx
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
node.longhorn.io/create-default-disk: "true" # this is required to create a disk on the node
|
||||
Reference in New Issue
Block a user