text stringlengths 0 2.46k |
|---|
[2177.88 --> 2179.42] Multiple square brackets change things. |
[2179.56 --> 2181.18] It is esoteric, but powerful. |
[2181.32 --> 2181.82] Very powerful. |
[2181.82 --> 2182.74] And there. |
[2182.98 --> 2183.54] It's already there. |
[2184.78 --> 2188.14] And you use it just, when I say you, I'm talking about me, you use it just infrequently enough |
[2188.14 --> 2190.28] that you always have to Google for the syntax. |
[2190.48 --> 2190.72] Oh, yeah. |
[2190.80 --> 2193.00] So, again, GPT's for the win on that one. |
[2193.12 --> 2193.80] Yeah, for sure. |
[2194.08 --> 2199.58] And on that note, I am very thankful because I've like, because, well, this isn't about |
[2199.58 --> 2204.44] ChatGPT necessarily, but I think it has flattened the world to like a lot of people who are like |
[2204.44 --> 2207.80] GoCurious or BashCurious or ScriptingCurious. |
[2208.06 --> 2208.68] CubeControl. |
[2209.00 --> 2209.36] Curious. |
[2210.00 --> 2210.92] CubeCuddle or Cube. |
[2211.36 --> 2212.16] What was the other one? |
[2212.86 --> 2213.22] CubeTotal. |
[2214.00 --> 2216.60] CubeCTL, CubeControl, CubeEctal. |
[2216.60 --> 2217.04] CubeEctal. |
[2217.36 --> 2218.00] CubeEctal, yeah. |
[2218.16 --> 2220.48] Which is kind of cool to say, actually, CubeEctal. |
[2220.54 --> 2221.44] You know what you want. |
[2221.58 --> 2224.10] You can describe what you want, but you can't quite get there. |
[2224.14 --> 2227.06] But if you learn enough and then you can repeat yourself, you learn that stuff. |
[2227.20 --> 2227.36] Yeah. |
[2227.52 --> 2229.34] This episode brought to you by OpenAI. |
[2229.46 --> 2229.86] That's right. |
[2229.98 --> 2230.46] There you go. |
[2230.58 --> 2232.56] How many flags does CubeControl have? |
[2232.58 --> 2233.96] Oh, man, I can't tell you that. |
[2234.04 --> 2234.36] Gosh. |
[2234.44 --> 2235.06] We got a lot. |
[2235.26 --> 2236.66] We got a lot of subcommands. |
[2236.94 --> 2240.84] We got probably 20 subcommands, maybe more. |
[2241.02 --> 2243.16] And they all have lots and lots of flags. |
[2243.16 --> 2248.16] We basically have an entire framework just to add flags to the commands that they get instantiated. |
[2248.16 --> 2249.52] Oh, yes, the old flagging framework. |
[2249.96 --> 2250.20] Yeah. |
[2251.02 --> 2256.36] What's the biggest challenge that you said saying no, but maybe personally, maybe not as a team, but personally? |
[2257.30 --> 2259.38] You know, you've been on the project for four years. |
[2259.76 --> 2262.04] We didn't exactly hear about how you got there or anything like that. |
[2262.04 --> 2267.72] But what are challenges maintaining a project of that high demand and use? |
[2268.52 --> 2270.12] Definitely contributors, right? |
[2270.12 --> 2273.54] We have a saying on Kubernetes, chop wood, carry water. |
[2274.20 --> 2274.58] Say again? |
[2274.68 --> 2275.70] Chop wood, carry water. |
[2275.78 --> 2276.24] Chop wood, carry water. |
[2276.24 --> 2278.64] Kind of doing the unglamorous work that someone has to do. |
[2278.64 --> 2282.32] And we need people to just come do that, right? |
[2282.40 --> 2286.10] Triage issues, respond to open pull requests, review. |
[2286.50 --> 2294.90] And, you know, one of the things I encourage lots of new people to do is you don't have to be a reviewer for the Kubernetes project to go and review pull requests. |
[2294.90 --> 2300.98] It's just doing an initial pass of being like, oh, this is probably a better way to write this if statement. |
[2301.18 --> 2303.14] So you don't have like three else's under it. |
[2303.22 --> 2303.38] Right. |
[2303.38 --> 2304.48] It's just like little things. |
[2304.74 --> 2308.46] And so that's what I encourage a lot of new folks to do is just start reviewing code. |
[2308.54 --> 2309.92] Just start responding to issues. |
[2310.24 --> 2311.04] And, yeah. |
[2311.28 --> 2312.34] Just comment on the issue. |
[2312.60 --> 2312.84] Yeah. |
[2313.70 --> 2314.06] Just comment. |
[2314.06 --> 2316.22] Who's contributing to the CLI? |
[2316.38 --> 2317.48] Who's contributing to the CLI? |
[2317.48 --> 2319.72] Is it the sick team primarily or is it outside contribution? |
[2320.12 --> 2322.66] So I'm sure everything would say that. |
[2323.12 --> 2328.72] Well, it's probably the part of the oldest code base of Kubernetes itself, right? |
[2328.74 --> 2334.24] Because you build the API server and the node and then you build the CLI at the same time to talk to everything. |
[2334.58 --> 2339.76] And so we got a lot of dragons that are there and a lot of stuff we come across. |
[2340.14 --> 2341.34] And so it's funny. |
[2341.40 --> 2344.44] People don't realize that Kubernetes is all JSON internally, right? |
[2344.44 --> 2347.76] You hear the Kubernetes and cloud native world complain about YAML. |
[2347.78 --> 2348.60] YAML, yeah. |
[2348.60 --> 2350.72] And Kubernetes doesn't know YAML internally. |
[2350.72 --> 2351.32] It's all JSON, huh? |
[2351.32 --> 2351.88] It's all JSON. |
[2352.24 --> 2353.00] That's news to me. |
[2353.02 --> 2356.10] So it goes JSON to YAML on the response. |
[2356.34 --> 2360.64] And then when it comes to the command line, we actually marshal it back to JSON. |
[2361.00 --> 2365.38] And then we have to go from JSON to figuring out what go type we have, right? |
[2365.42 --> 2367.36] So if it's a pod or a node or something. |
[2367.74 --> 2367.78] Right. |
[2368.20 --> 2377.72] And so that's a large chunk of the code that we maintain is just dealing with marshalling from format to format to format and then figuring out what go struct we have at the end of the day. |
[2377.72 --> 2379.40] Why don't you just go from YAML to go struct? |
[2380.20 --> 2381.30] From YAML to go struct. |
[2381.68 --> 2382.32] We could. |
[2382.90 --> 2384.40] That would just take one marshall out of the list. |
[2384.46 --> 2384.88] It would. |
[2385.40 --> 2390.18] It's working with the Go YAML world is kind of interesting. |
[2390.36 --> 2391.98] We could probably talk about that for a long time. |
[2392.10 --> 2395.84] But we have a forked version of the Go YAML project. |
[2396.30 --> 2396.56] Gotcha. |
[2396.56 --> 2398.06] There's many different versions. |
[2398.48 --> 2403.60] And the project bundle is like three of them. |
[2404.22 --> 2407.74] One didn't like preserve comments or something in your YAML, right? |
[2407.84 --> 2414.14] So when you're dealing with client-side YAML for users, you want to keep their comments around. |
[2415.00 --> 2416.60] That's one of the problems with JSON, right? |
[2416.66 --> 2417.50] It's like no comments. |
[2417.66 --> 2418.60] No comments, right? |
[2418.94 --> 2421.48] So you got three YAMLs in there? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.