🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@alexleung8422 жыл бұрын
Pretty sure you just saved me 1 to 2 whole days' work. Subscribed!
@AntonPutra2 жыл бұрын
Thanks!
@genyklemberg11 ай бұрын
great, just what I was looking for)) Good that after subscribtion any youtube search now shows your results in top list) Documentation is so confusing without any practical usages)
@AntonPutra11 ай бұрын
Cool, thanks. Use Artifact Registry, I think GCR will be deprecated soon.
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
@radeksmola18982 жыл бұрын
This helps me with creation of service account for Artifact Registry. Thank you.
@AntonPutra2 жыл бұрын
welcome!
@m_sen8710 Жыл бұрын
Hi, at 2:10, what would the "production ready" image look like ?
@AntonPutra Жыл бұрын
Well I was referring to the multistage docker build which is based either on scratch or distrolless image. Exampe - github.com/GoogleContainerTools/distroless/tree/main/examples/python3-requirements
@m_sen8710 Жыл бұрын
@@AntonPutra oh ok! Thank you 🙂
@RoniVituli Жыл бұрын
Thank you very much! very helpful! 😋
@AntonPutra Жыл бұрын
Thanks Roni!
@AmitKumar-hm4gx9 ай бұрын
Great content, could you please let me know how to go about the same if I am not dealing with github but some other repo. My basic goal for the moment is to upload my dockerfiles to artifact registry
@josenildoalves2 жыл бұрын
Excellent content. Congratulations on the knowledge transferred. Thank you very much.
@AntonPutra2 жыл бұрын
Glad it was helpful!
@rafinonato Жыл бұрын
This is amazing, but I believe the syntax has changed in the last year. Would you be able to make a video on not only publishing to the artifact registry but also auto-deploying to a kubernetes cluster?
@AntonPutra Жыл бұрын
Sure, will do
@diegobloomalert9293 жыл бұрын
Thank you Anton! There is a way to use docker layer caching for speed up this process on larger docker images?
@AntonPutra3 жыл бұрын
Docker has a GitHub Action with ability to cache layers, maybe you can extract that part from there - github.com/docker/build-push-action/blob/master/docs/advanced/cache.md
@Buddha609 Жыл бұрын
that was very helpfull, thanks
@AntonPutra Жыл бұрын
Glad it helped
@jameeghouri7752 жыл бұрын
very helping. thanks
@AntonPutra2 жыл бұрын
Thanks jamee!
@potatocoder5090 Жыл бұрын
Thank you for this informative video! Would you be able to make a video about deploying and running containers from docker images in artifact registry to a GCE instance using GitHub Actions?
@AntonPutra Жыл бұрын
Sure sometime in the future
@olegderivedmed9285 Жыл бұрын
Hello. I configured everything as you show but unfortunately I`m getting permissions denied on push step. For both cases.
@olegderivedmed9285 Жыл бұрын
I even tried with "owner" permission for service account. Don`t works..
@AntonPutra Жыл бұрын
They recently released a new cloud functions that are based on cloud run service so far as I remember. Try to look into that
@thirumavalavanc84072 жыл бұрын
Is that necessary to create a separate dockerfile in the repo to create a container image or if we mentioned the docker details in the workflow is enough to create a container image...
@AntonPutra2 жыл бұрын
well you need a dockerfile or github action that can build one
@fourirakbar57452 жыл бұрын
wow very nice tutorial, thank you! btw just curious, how to pull container image from private google artifacts registry in github actions?
@AntonPutra2 жыл бұрын
your k8s service account that you use to create k8s nodes need to have object storage viewer access to the gs bucket with images
@SrinivasaRaoThammaneni Жыл бұрын
Excellent, i followed same but it is failing during pushing image to GCR, saying required permissions don't have on service account. Do you have any idea how that can be fixed?
@AntonPutra Жыл бұрын
see if they now require new set of permissions (gcp)
@olegderivedmed9285 Жыл бұрын
Same for me. Did you find solution?
@achala11002 жыл бұрын
Excellent, l have pushed to artifact
@AntonPutra2 жыл бұрын
Thanks!
@bronxed36663 жыл бұрын
excellent content. thank you
@AntonPutra3 жыл бұрын
Much appreciated!
@christopherrobin57967 ай бұрын
then how to deploy to GCR?
@AntonPutra7 ай бұрын
you mean GKE? well i have few tutorials on that topic
@sashameltser73742 жыл бұрын
Great topic Anton. Any chance you can show how to create PyPI repos using Artifact Registry. I think it would be awesome to see
@AntonPutra2 жыл бұрын
Thank you for the suggestion!
@pradeepg44988 ай бұрын
How to use git lfs in gcloud
@AntonPutra8 ай бұрын
I've never used it myself, why not to use object store? But i found one implementation for gcp - github.com/vitalibo/git-lfs/
@mklueh2 жыл бұрын
It's now not recommended anymore to use key auth, but Workload Identity Federation instead
@AntonPutra2 жыл бұрын
Noted
@abdurrazaq81273 жыл бұрын
Thank you
@AntonPutra3 жыл бұрын
You're welcome
@novanova29063 жыл бұрын
how to deploy GKE?
@AntonPutra3 жыл бұрын
How to Create GKE Cluster Using TERRAFORM from Scratch? (GCP Shared VPC | Terraform GCP Kubernetes) - kzbin.info/www/bejne/joXGoKZtqJWcetE
@novanova29063 жыл бұрын
@@AntonPutra how to Deploy the Docker image to the GKE cluster? used kustomize?