How to run docker images with LKE and terraform

Honestly I'm struggling to articulate what I'm trying to ask.

I'm trying to deploy a cluster of my microservices using Terraform. I have all the microservices published on a private docker repo but I have no idea how to load those docker images into my kubernetes cluster.

I feel like I'm doing something wrong but I can't tell what. Is there some tutorial out there that demonstrated the full pipeline from terraform init to terraform apply and seeing the docker containers run on Linode?

2 Replies

There's an example of how to deploy a workload from a private Docker registry in this guide:

For managing Kubernetes workloads with Terraform, the best place to start would be the Kubernetes.io docs:

I would also like to share this video titled Terraform Tutorial For Beginners to create docker container | docker container with terraform that may be useful. The person here isn't using Linode, however, they are using Terraform to deploy their docker containers.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct