‫Real quick before we get to the command line stuff, because that's important.
‫That's usually how you interact with Kubernetes is through the command line, and there are lots of
‫options with Kubernetes.
‫That's one of the main themes you'll see throughout this conversation I'm going to have with you about
‫Kubernetes is that there's lots of ways to do the same thing.
‫And that's because Kubernetes, unlike some of the Docker tools, comes very opinionated.
‫It allows you to do things in various ways to fit your workflow and basically your team's preference.
‫The challenge with that is often knowing what to do, what's the right way for you to do something.
‫So that requires a little more investment in learning the tools.
‫So in this quick lecture, I just want to warn you or educate you on that.
‫There are multiple ways to do this.
‫And so sometimes when I show you a command, there are multiple other ways to do it.
‫And the specifics that you'll see, whether you're looking on the blogs or in the Kubernetes documentation
‫are on the three main commands.
‫The three I'm talking about are cube control, run, cube control, create and cube control apply.
‫You'll see a couple of examples of using Cube Control Run.
‫It's probably the closest to Docker run that you would experience and then Cube Control Create can be
‫a similar experience to Docker create for swarm, right?
‫And then Cube Control apply might seem similar to a stack deploy with swarm.
‫And that's the best way if you know swarm to figure out where these belong that apply command at the
‫bottom there that is mostly for YAML.
‫That's really the only thing you're going to be doing there is applying YAML differences to your environment
‫and you'll do the same commands for creating or updating things.
‫The cube control run we're going to start out of the gate with and you'll notice that there's going
‫to be a warning in the next lecture.
‫Or if there isn't, then I've maybe replaced that lecture.
‫But there are warnings because cube control run is changing and it's actually reducing its scope.
‫It used to be something we would use to create all sorts of different things and there was automation
‫in the back end.
‫But nowadays the plan is they're going to reduce and deprecate a lot of the features that run has so
‫that it eventually only is designed to run a pod.
‫So you'll learn all about that later, but just know that throughout the next few videos and sections
‫that you'll see cube control run and sometimes cube control create commands.
‫And you might even see future commands like expose and apply and just realize that there's probably
‫other ways to do these commands.
‫I don't always have a preference for which one's the right one, but you'll learn as we go that depending
‫on your style of working, whether it's imperative or declarative, we'll get into that later.
‫That will indicate whether or not you need to use a certain command over another.
‫So just be aware that those are there and let's get started.