SHARE
TWEET

Untitled

a guest Dec 11th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4.   name: nginx
  5. spec:
  6.   selector:
  7.     app: nginx
  8.   ports:
  9.   - name: web
  10.     port: 80
  11. ---
  12. apiVersion: apps/v1
  13. kind: StatefulSet
  14. metadata:
  15.   name: nginx
  16. spec:
  17.   serviceName: nginx
  18.   replicas: 3
  19.   selector:
  20.     matchLabels:
  21.       app: nginx
  22.   template:
  23.     metadata:
  24.       labels:
  25.         app: nginx
  26.     spec:
  27.       containers:
  28.       - name: nginx
  29.         image: nginx
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top