text stringlengths 0 1.8k |
|---|
[4188.08 --> 4196.96] I mean, in fact, we had a case where someone in the community, the provider exoscale you saw, that was actually written in six hours. |
[4197.38 --> 4197.90] There we go. |
[4198.78 --> 4199.18] Amazing. |
[4199.56 --> 4203.32] And also like, that was the hardest part that like bootstrap in the provider. |
[4203.50 --> 4213.28] If you, for example, decide to add an instance resource to JetLinit provider, it's like, you know, 10 or 15 lines of code as you see the like single configuration. |
[4213.28 --> 4214.02] That's right. |
[4214.22 --> 4215.34] So, all the commits are there. |
[4215.44 --> 4216.10] Go and check them. |
[4216.18 --> 4218.10] See what we've done for provider JetLinit. |
[4218.42 --> 4219.94] Again, it's very, very simple. |
[4220.52 --> 4225.96] So, what I would like to do now is show you how easy it is to actually do this. |
[4225.98 --> 4230.58] And I say show because we record video and we may not have time to publish everything in time or ever. |
[4230.74 --> 4231.14] I don't know. |
[4231.22 --> 4232.60] You know, things can get very busy. |
[4232.60 --> 4235.84] But at least we'll do like a step-by-step process. |
[4236.00 --> 4247.00] There's a pull request, by the way, in the changelog org, the changelog.com repository, pull request 399, which has all the text, all the screenshots, everything on how to do this, all the links. |
[4247.34 --> 4248.84] So, this is what we're going to do next. |
[4248.94 --> 4256.26] We're going to install Crossplane, install the provider, and then provision the Linode Kubernetes engine cluster using this provider. |
[4256.68 --> 4257.60] Then we target it. |
[4258.18 --> 4259.82] And then we try something crazy. |
[4259.82 --> 4262.92] You know that I'm all for crazy, right, trying crazy things and see what happens. |
[4263.12 --> 4264.54] So, that's what we're going to do next. |
[4265.02 --> 4265.28] Okay. |
[4265.54 --> 4268.72] So, I am in the 2021 directory currently. |
[4269.12 --> 4273.56] And I'm going to do, I'm already targeting our production Kubernetes clusters. |
[4273.70 --> 4274.36] Oh, yes, of course. |
[4275.06 --> 4278.60] Mwafak, when I mentioned this to you first, like I develop in production. |
[4279.28 --> 4280.82] You laughed, but I'm serious. |
[4281.36 --> 4283.00] That's like the only thing that matters. |
[4283.10 --> 4284.60] If it's not in production, it's inventory. |
[4284.92 --> 4286.62] So, I don't like inventory. |
[4286.80 --> 4287.92] I like stuff being out there. |
[4287.92 --> 4291.84] So, make, in this case, LKE crossplane. |
[4292.26 --> 4299.30] And what that does, that installs Crossplane version 1.5.1 using Helm straight into production. |
[4300.02 --> 4304.02] So, installing Crossplane two minutes later, it's done. |
[4304.34 --> 4305.38] That's how simple it is. |
[4305.58 --> 4308.66] The next step is make Crossplane Linode provider. |
[4308.94 --> 4309.98] And that's it. |
[4310.18 --> 4310.66] That's simple. |
[4310.74 --> 4313.30] That was really quick because the provider is super small, right? |
[4313.34 --> 4316.70] Like 18 kilobytes, I've seen the image, which then pulls a bigger image. |
[4316.70 --> 4317.44] How does that work? |
[4317.50 --> 4317.96] Can you tell us? |
[4318.74 --> 4318.90] Yeah. |
[4319.12 --> 4326.64] So, the metadata image, it's an OCI image, where it has only the metadata.yaml that contains |
[4326.64 --> 4329.92] your CRDs and also some information about your package. |
[4330.24 --> 4337.46] Once it's downloaded by the package manager, it installs the CRDs and then creates a deployment |
[4337.46 --> 4339.92] with the image that you provided there. |
[4340.44 --> 4343.04] So, like, you know, that other image contains the binary. |
[4343.04 --> 4343.52] Okay. |
[4343.52 --> 4343.88] Okay. |
[4344.22 --> 4346.12] And which version did we install of the provider? |
[4346.42 --> 4349.52] Version 0.0.0-12. |
[4349.72 --> 4351.00] So, there's no tag for this. |
[4351.06 --> 4352.38] This is like a dev-only version. |
[4352.82 --> 4353.24] We trust. |
[4353.40 --> 4354.12] Dev in production. |
[4354.66 --> 4355.66] The dream is real. |
[4356.28 --> 4357.42] Production became dev. |
[4357.80 --> 4358.18] Great. |
[4358.36 --> 4359.52] So, okay. |
[4359.56 --> 4360.24] We installed it. |
[4360.32 --> 4361.02] We configured it. |
[4361.06 --> 4361.54] It's all there. |
[4361.68 --> 4364.98] So, how can we check that the provider's there? |
[4364.98 --> 4371.88] If we maybe get all the pods in the namespace crossplane system, because that's where everything |
[4371.88 --> 4376.20] gets installed, we see that we have crossplane installed. |
[4376.32 --> 4377.70] We have the crossplane RBAC manager. |
[4377.82 --> 4378.58] These are two pods. |
[4378.70 --> 4380.86] And the third one is the jetlinode pod. |
[4381.44 --> 4381.72] Cool. |
[4382.14 --> 4383.92] So, what can we do next? |
[4384.14 --> 4385.94] I'm using canines as a CLI. |
[4386.04 --> 4387.16] It just makes me... |
[4387.16 --> 4389.40] It allows me to do things really, really quick. |
[4389.40 --> 4395.30] So, if we go to look at all the aliases, which is control A for me, and I search for cluster, |
[4395.72 --> 4396.80] we see a new CRD. |
[4397.64 --> 4404.30] And the CRD is in the Linode jet crossplane IO V1 alpha 1 group. |
[4404.46 --> 4406.90] That's how we can provision new clusters. |
[4407.10 --> 4408.02] So, let's try that. |
[4408.44 --> 4411.94] If we go to cluster to list out clusters we have, we have no clusters. |
[4412.12 --> 4412.44] Great. |
[4412.86 --> 4416.56] Let's do make crossplane LKE. |
[4416.56 --> 4419.50] All this does, I still have to run a command. |
[4419.66 --> 4419.88] Okay. |
[4420.08 --> 4420.34] Okay. |
[4420.44 --> 4421.56] I know what I mentioned earlier. |
[4421.64 --> 4422.52] There will be no commands. |
[4422.96 --> 4424.64] But this is a different type of command. |
[4424.78 --> 4431.92] I'm not telling the Linode API, hey, Linode, create me a LKE instance. |
[4432.28 --> 4437.78] I'm telling crossplane to create on my behalf a LKE instance. |
[4438.18 --> 4442.10] And there's something really cool about this, because crossplane will continuously reconcile |
[4442.10 --> 4444.06] what I ask of it. |
[4444.48 --> 4445.56] Like, how cool is that? |
[4445.56 --> 4450.32] So, that's, I think, my favorite crossplane features, which happens to be a Kubernetes feature |
[4450.32 --> 4450.72] as well. |
[4450.94 --> 4454.44] You know, declarative, you tell it what you want, and it will make it so. |
[4454.56 --> 4455.60] I love that story. |
[4456.06 --> 4456.42] Great. |
[4456.62 --> 4456.84] Okay. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.