Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

deployment.yaml 748 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: heart-disease-deployment
  5. labels:
  6. app: heart-disease
  7. spec:
  8. replicas: 3
  9. selector:
  10. matchLabels:
  11. app: heart-disease
  12. template:
  13. metadata:
  14. labels:
  15. app: heart-disease
  16. spec:
  17. containers:
  18. - name: heart-disease
  19. image: heart-disease:v1.0.0
  20. imagePullPolicy: Never # Use the local image
  21. ports:
  22. - containerPort: 5000
  23. livenessProbe:
  24. httpGet:
  25. path: /health
  26. port: 5000
  27. initialDelaySeconds: 5
  28. periodSeconds: 10
  29. readinessProbe:
  30. httpGet:
  31. path: /health
  32. port: 5000
  33. initialDelaySeconds: 5
  34. periodSeconds: 10
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...