Library

Video Player is loading.
 
Current Time 0:00
Duration 5:06
Loaded: 0.00%
 

x1.00


Back

Games & Quizzes

Training Mode - Typing
Fill the gaps to the Lyric - Best method
Training Mode - Picking
Pick the correct word to fill in the gap
Fill In The Blank
Find the missing words in a sentence Requires 5 vocabulary annotations
Vocabulary Match
Match the words to the definitions Requires 10 vocabulary annotations

You may need to watch a part of the video to unlock quizzes

Don't forget to Sign In to save your points

Challenge Accomplished

PERFECT HITS +NaN
HITS +NaN
LONGEST STREAK +NaN
TOTAL +
- //

We couldn't find definitions for the word you were looking for.
Or maybe the current language is not supported

  • 00:00

    MARK MIRCHANDANI: Cost optimization
    MARK MIRCHANDANI: Cost optimization

  • 00:01

    is about more than saving money.
    is about more than saving money.

  • 00:03

    It's about maximizing the return on what you're spending.
    It's about maximizing the return on what you're spending.

  • 00:06

    Let's walk through how to optimize your costs for Google
    Let's walk through how to optimize your costs for Google

  • 00:08

    Kubernetes Engine, or GKE.
    Kubernetes Engine, or GKE.

  • 00:11

    Today, we'll be talking about some general tips
    Today, we'll be talking about some general tips

  • 00:12

    for getting started with cost optimization and some best
    for getting started with cost optimization and some best

  • 00:15

    practices.
    practices.

  • 00:17

    In other words, let's go beyond your GKE bill.
    In other words, let's go beyond your GKE bill.

  • 00:19

    [MUSIC PLAYING]
    [MUSIC PLAYING]

  • 00:27

    Individuals and companies alike are talking about,
    Individuals and companies alike are talking about,

  • 00:30

    experimenting with, and deploying apps on Kubernetes.
    experimenting with, and deploying apps on Kubernetes.

  • 00:33

    And of course, GKE is made to scale
    And of course, GKE is made to scale

  • 00:35

    as you add more traffic and more applications.
    as you add more traffic and more applications.

  • 00:38

    However, scaling your apps might also mean scaling your costs.
    However, scaling your apps might also mean scaling your costs.

  • 00:42

    And as more teams in your organization use Kubernetes,
    And as more teams in your organization use Kubernetes,

  • 00:45

    it may become more complex to manage.
    it may become more complex to manage.

  • 00:47

    Let's look at some ways to think about how
    Let's look at some ways to think about how

  • 00:49

    you can optimize your usage, and your costs, for GKE.
    you can optimize your usage, and your costs, for GKE.

  • 00:53

    I'll get started by quickly going over some basics,
    I'll get started by quickly going over some basics,

  • 00:56

    and then talk about the business and culture side.
    and then talk about the business and culture side.

  • 00:59

    Then, I'll go over some general technical tips.
    Then, I'll go over some general technical tips.

  • 01:02

    Simply put, what you're paying for with GKE
    Simply put, what you're paying for with GKE

  • 01:04

    itself is primarily two things--
    itself is primarily two things--

  • 01:07

    the managed architecture for actually running the Kubernetes
    the managed architecture for actually running the Kubernetes

  • 01:09

    cluster, and the resources that your apps are running on,
    cluster, and the resources that your apps are running on,

  • 01:12

    such as CPUs, memory, and storage.
    such as CPUs, memory, and storage.

  • 01:15

    There's also a few other things that
    There's also a few other things that

  • 01:16

    will affect your costs, like networking and resource
    will affect your costs, like networking and resource

  • 01:19

    location.
    location.

  • 01:20

    We'll dive into details to better understand and optimize
    We'll dive into details to better understand and optimize

  • 01:23

    different areas in these videos.
    different areas in these videos.

  • 01:25

    But no matter what the costs are,
    But no matter what the costs are,

  • 01:27

    it's hard to make decisions without knowing
    it's hard to make decisions without knowing

  • 01:28

    where they're coming from.
    where they're coming from.

  • 01:30

    Being able to have visibility into all the different moving
    Being able to have visibility into all the different moving

  • 01:33

    pieces is incredibly important.
    pieces is incredibly important.

  • 01:35

    And a great place to start might be
    And a great place to start might be

  • 01:37

    using a dashboard to help visualize your resources.
    using a dashboard to help visualize your resources.

  • 01:41

    The next videos will go over some tips
    The next videos will go over some tips

  • 01:42

    for exactly how to do that.
    for exactly how to do that.

  • 01:44

    But try to always remember that the more you understand
    But try to always remember that the more you understand

  • 01:47

    about the full details of your applications,
    about the full details of your applications,

  • 01:49

    the more opportunities you'll have to optimize.
    the more opportunities you'll have to optimize.

  • 01:52

    And don't worry.
    And don't worry.

  • 01:53

    You'll hear me say that plenty of times.
    You'll hear me say that plenty of times.

  • 01:55

    On top of that, you shouldn't forget
    On top of that, you shouldn't forget

  • 01:57

    about the people that are actually
    about the people that are actually

  • 01:58

    writing the applications.
    writing the applications.

  • 02:00

    When you're in a rush to deploy an application, sometimes,
    When you're in a rush to deploy an application, sometimes,

  • 02:03

    shortcuts get taken.
    shortcuts get taken.

  • 02:04

    Or maybe your organization has grown so large
    Or maybe your organization has grown so large

  • 02:07

    that they completely abstract Kubernetes away from the teams,
    that they completely abstract Kubernetes away from the teams,

  • 02:10

    and then they're not even sure how their apps make it to GKE.
    and then they're not even sure how their apps make it to GKE.

  • 02:14

    Either way, keeping developers, operators, and everyone else
    Either way, keeping developers, operators, and everyone else

  • 02:17

    in the dark about how their applications actually run
    in the dark about how their applications actually run

  • 02:20

    might cause more harm than good.
    might cause more harm than good.

  • 02:23

    Instead, consider spending the time
    Instead, consider spending the time

  • 02:24

    to train your technical teams on Kubernetes
    to train your technical teams on Kubernetes

  • 02:26

    best practices, like online classes, code labs,
    best practices, like online classes, code labs,

  • 02:30

    even videos like this one.
    even videos like this one.

  • 02:31

    When teams understand and care about the cost
    When teams understand and care about the cost

  • 02:34

    it takes to run their apps, the more those teams
    it takes to run their apps, the more those teams

  • 02:36

    will be able to optimize.
    will be able to optimize.

  • 02:38

    Beyond that, you can also implement guardrails
    Beyond that, you can also implement guardrails

  • 02:40

    to protect yourself from updates that might significantly
    to protect yourself from updates that might significantly

  • 02:43

    affect your costs.
    affect your costs.

  • 02:45

    There are ways to automatically enforce policies and set up
    There are ways to automatically enforce policies and set up

  • 02:48

    quotas for resources that we'll also
    quotas for resources that we'll also

  • 02:50

    cover in this video series.
    cover in this video series.

  • 02:52

    Building a culture of awareness and accountability
    Building a culture of awareness and accountability

  • 02:55

    is critical to being able to optimize your costs.
    is critical to being able to optimize your costs.

  • 02:58

    Keeping all of that in mind, let's switch over
    Keeping all of that in mind, let's switch over

  • 03:00

    to some best practices on the technical side.
    to some best practices on the technical side.

  • 03:03

    You can find reference links in the description
    You can find reference links in the description

  • 03:05

    if you want to read more about any of these.
    if you want to read more about any of these.

  • 03:08

    So if you're already using GKE, you're
    So if you're already using GKE, you're

  • 03:10

    probably aware of your production clusters.
    probably aware of your production clusters.

  • 03:12

    But how many development clusters do you have?
    But how many development clusters do you have?

  • 03:15

    Smaller teams might work well with one cluster per developer.
    Smaller teams might work well with one cluster per developer.

  • 03:18

    But you should actually look at multi-tenant clusters
    But you should actually look at multi-tenant clusters

  • 03:21

    to save on overhead.
    to save on overhead.

  • 03:23

    By using namespaces and policies to keep resources capped
    By using namespaces and policies to keep resources capped

  • 03:26

    and isolated, dev teams can have the room to experiment
    and isolated, dev teams can have the room to experiment

  • 03:29

    that won't lead to any surprise bills.
    that won't lead to any surprise bills.

  • 03:33

    On top of that, there's a few add-ons
    On top of that, there's a few add-ons

  • 03:35

    that come with GKE clusters that are important for production
    that come with GKE clusters that are important for production

  • 03:38

    environments, but might not be needed for your development
    environments, but might not be needed for your development

  • 03:41

    environments.
    environments.

  • 03:42

    For each of your smaller clusters,
    For each of your smaller clusters,

  • 03:43

    consider disabling or limiting add-ons
    consider disabling or limiting add-ons

  • 03:45

    if you're not using them, such as Cloud Logging
    if you're not using them, such as Cloud Logging

  • 03:48

    and Monitoring, Horizontal Pod Autoscaling, the Kubernetes
    and Monitoring, Horizontal Pod Autoscaling, the Kubernetes

  • 03:51

    Dashboard, and Kube DNS.
    Dashboard, and Kube DNS.

  • 03:54

    Most can be disabled with a one-line command.
    Most can be disabled with a one-line command.

  • 03:57

    These small add-ons can add up.
    These small add-ons can add up.

  • 03:59

    So the better you understand what your apps need
    So the better you understand what your apps need

  • 04:02

    and the environment around them, the more you can optimize.
    and the environment around them, the more you can optimize.

  • 04:06

    Speaking of what your apps need, do you
    Speaking of what your apps need, do you

  • 04:08

    know what your pod disruption budgets are?
    know what your pod disruption budgets are?

  • 04:10

    You can set the number of pods or the percentage of pods that
    You can set the number of pods or the percentage of pods that

  • 04:14

    can be taken down when doing voluntary disruptions,
    can be taken down when doing voluntary disruptions,

  • 04:16

    like upgrades or autoscaling.
    like upgrades or autoscaling.

  • 04:19

    Think about the minimum amount of pots
    Think about the minimum amount of pots

  • 04:21

    that you need to run without disrupting your applications'
    that you need to run without disrupting your applications'

  • 04:23

    users.
    users.

  • 04:24

    And think about that for each application independently.
    And think about that for each application independently.

  • 04:28

    Pod disruption budgets can help keep your apps
    Pod disruption budgets can help keep your apps

  • 04:30

    running as you configure autoscaling
    running as you configure autoscaling

  • 04:32

    without overprovisioning.
    without overprovisioning.

  • 04:35

    We'll talk more about autoscaling soon.
    We'll talk more about autoscaling soon.

  • 04:36

    If you're not sure about how to figure out
    If you're not sure about how to figure out

  • 04:38

    things like resource utilization or pod disruption budgets,
    things like resource utilization or pod disruption budgets,

  • 04:41

    stay tuned.
    stay tuned.

  • 04:43

    On the next video, we'll talk all
    On the next video, we'll talk all

  • 04:44

    about monitoring your GKE environment
    about monitoring your GKE environment

  • 04:46

    and getting better observability.
    and getting better observability.

  • 04:48

    Remember to check out the link in the description
    Remember to check out the link in the description

  • 04:50

    for the full guide on GKE cost optimization.
    for the full guide on GKE cost optimization.

  • 04:52

    [MUSIC PLAYING]
    [MUSIC PLAYING]

All noun
optimization
/ˌäptəməˈzāSHən/

word

Efforts to make as effective as possible

Understanding your GKE costs

9,241 views

Intro:

MARK MIRCHANDANI: Cost optimization. is about more than saving money.. It's about maximizing the return on what you're spending.
Let's walk through how to optimize your costs for Google
Kubernetes Engine, or GKE.. Today, we'll be talking about some general tips. for getting started with cost optimization and some best
practices.. In other words, let's go beyond your GKE bill.. [MUSIC PLAYING]. Individuals and companies alike are talking about,. experimenting with, and deploying apps on Kubernetes.
And of course, GKE is made to scale. as you add more traffic and more applications.. However, scaling your apps might also mean scaling your costs.
And as more teams in your organization use Kubernetes,
it may become more complex to manage.. Let's look at some ways to think about how. you can optimize your usage, and your costs, for GKE.
I'll get started by quickly going over some basics,

Video Vocabulary

/dəˈploi/

verb

move troops into position for military action.

/THro͞o/

adjective adverb preposition

From one end or side of something to the other. expressing movement into one side and out of other side of opening etc.. Over, in, across an entire thing or place.

adjective noun verb

Not being simple; having many parts or aspects. group of buildings or facilities. cause to form complex.

/ˈmaksəˌmīz/

verb

make as large or great as possible.

/ˈkəlCHər/

noun verb

Beliefs and customs of a particular group. artificially cultivate bacteria etc..

/ˈtôkiNG/

adjective noun verb

engaging in speech. action of talking. To say things or ideas to someone with words.

verb

To create and perform tests to research something.

/ˈskāliNG/

adjective noun verb

tending to crack and come away in thin pieces. removal of scales from something. To climb something large (e.g. a mountain).

/ˈmanij/

verb

To survive hardships and difficulties; to cope.

/ˈteknək(ə)l/

adjective noun

Complex; difficult to understand. undefined.

/ɡet/

verb

To (cause to) do a particular thing.

/ˈjen(ə)rəl/

adjective noun

affecting or concerning most people or things. Top ranked officer in the army.

/ˌprīˈmerəlē/

adverb

In the most basic or important way.

/ˌäptəməˈzāSHən/

noun

action of making best use of situation or resource.

/ˈak(t)SH(o͞o)əlē/

adverb

as truth or facts.