You cannot really be cloud agnostic these days - even when using k8s. So learning to use the capabilities the cloud provides is key.
It can be cheaper to depend on cloud provider to ship some features, but with tools like crossplane you can abstract that out so developers can just "order" a database service etc. for their application.