DEV Community

Discussion on: How to deploy a Rails API backend on Kubernetes with Amazon EKS and RDS

Collapse
 
maxyharr profile image
Max Harris • Edited

Thanks for the post, I'm a little new to K8s.
I think the backend.yaml file needs to be updated to

apiVersion: apps/v1
...
spec:
  selector:
    matchLabels:
      app: root
      component: backend
Enter fullscreen mode Exit fullscreen mode
Collapse
 
michaellalatkovic profile image
michaella latkovic

You're right! That's an API change starting with Kubernetes version 1.16.