Cloud Run deployments with YAML

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น • 22

  • @googlecloudtech
    @googlecloudtech  ปีที่แล้ว +2

    🫨 How often do you YAML or do your use cases turn into A Series of Unfortunate Indents?
    Let us know in the comments below and don’t forget to subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech

  • @KevinBoutin
    @KevinBoutin ปีที่แล้ว +6

    This is very handy and better than creating shell scripts that use gcloud with configuration parsers to achieve the same thing.

    • @TheMomander
      @TheMomander ปีที่แล้ว +1

      Agreed! Whenever I start writing configuration parsers or other non-trivial code for CI/CD, I force myself to stop and do some research. There usually is a better way.

  • @fabiogomez8250
    @fabiogomez8250 ปีที่แล้ว +2

    Cool feature, thanks for the clear explanation, I'll try it soon!

  • @goidealsoftware
    @goidealsoftware ปีที่แล้ว +1

    I needed the command: gcloud run services describe. Thanks for surfacing this.

  • @garagemdocodigo
    @garagemdocodigo 9 หลายเดือนก่อน +1

    Is possible create a new service using a yaml file?

    • @TheMomander
      @TheMomander 9 หลายเดือนก่อน +1

      "gcloud run services replace" can be used to replace OR create a Cloud Run service.

  • @preetmistry
    @preetmistry ปีที่แล้ว +1

    I have seen lots videos using google chat assistance , just want to know what is the price for individual user (not enterprise) ?

    • @TheMomander
      @TheMomander ปีที่แล้ว +1

      The pricing table was published yesterday. As I'm writing this (Dec 14, 2023) it's $19 per user per month with an upfront annual commitment. You can use Duet AI for Developers at no cost until Feb 1, 2024. New Google Cloud customers can also use $300 of free credits to try it out. Search for "google cloud duet ai pricing" to see all the details.

  • @Babbili
    @Babbili ปีที่แล้ว +1

    nice, i'd try to apply this yaml file with kubectl, i guess it would work in Anthos

  • @padmajagoli-o1f
    @padmajagoli-o1f 11 หลายเดือนก่อน +1

    it is a wonderful video, that i could find out over internet, but i need terraform script to deploy serverless container on cloud run by using cloud build and cloud deploy ...can you help me out by providing solution for this please.

    • @TheMomander
      @TheMomander 11 หลายเดือนก่อน

      Thank you for the kind words about the video. If you do a web search for "cloud run terraform" you will find some good resources and examples. Best of luck!

  • @DarkShadow-321
    @DarkShadow-321 หลายเดือนก่อน

    Thank you

  • @joshblf
    @joshblf ปีที่แล้ว +2

    It would be see how to use Cloud Build with Github and YAML files instead of manually running scripts

    • @MartinOmander
      @MartinOmander ปีที่แล้ว +1

      That's a great idea! I'm adding it to my to-do list of episodes to create. Thank you.

    • @TheMomander
      @TheMomander ปีที่แล้ว

      Also, I forgot, we did release a video about deploying Cloud Run services using Github Actions, last year. Search TH-cam for "How to deploy Cloud Run services with GitHub Actions" and you will find it. Hope it helps!

  • @paracha3
    @paracha3 ปีที่แล้ว +1

    I did not find this approach to be as easy as using Cloud Build yaml to take care of building image and deploying config AND code changes. Here you are building image separately and then modifying the yaml separately and executing two separate commands. Cloud Build yaml is all contained into one yaml.

    • @TheMomander
      @TheMomander ปีที่แล้ว +1

      That's a good point. I think "infrastructure-as-code" shines when you set up a new project from scratch or when you install a stable version of an application for a customer. For day-to-day development work, a CI/CD approach may work better. One can use Cloud Run's built-in integration with source code repos, or Cloud Build, or GitHub Actions for that.

  • @preetmistry
    @preetmistry ปีที่แล้ว +1

    what is the difference between service.yaml and cloudbuild.yaml ?

    • @TheMomander
      @TheMomander ปีที่แล้ว +1

      Good question! You can define the settings of your Cloud Run service with YAML. That file can be called whatever you want, but we called it service.yaml in this video. As shown in the video, you can use a gcloud command to update your Cloud Run service so it uses the settings from service.yaml.
      The other file (cloudbuild.yaml) is a recipe for how Cloud Build should build your Cloud Run service. It is useful if you want to do more than just build your container, for example if you want to run unit tests before you build it. You can use Cloud Build without a cloudbuild.yaml file. If you do, Cloud Build will simply build your container and not run any additional steps like testing.

  • @peggydarhamed1371
    @peggydarhamed1371 ปีที่แล้ว

    I ordered twice and I didn't get any product you've taken out of my account twice last month or this month

  • @hussienalsafi1149
    @hussienalsafi1149 ปีที่แล้ว

    🤙🤙🤙🤙🤙☺️☺️☺️