#packages (2020-02)

http://github.com/cloudposse/packages

Discuss the package distribution https://github.com/cloudposse/packages

Archive: https://archive.sweetops.com/packages/

2020-02-07

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Zachary Loeber any reason we don’t use the download_zip macro?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
cloudposse/packages

Cloud Posse installer and distribution of native apps, binaries and alpine packages - cloudposse/packages

Zachary Loeber avatar
Zachary Loeber
01:07:27 AM

@Zachary Loeber has joined the channel

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I noticed the latest PRs don’t leverage it

Zachary Loeber avatar
Zachary Loeber

Honestly… copypaste-itus

Zachary Loeber avatar
Zachary Loeber

I didn’t realize it was there to use

Zachary Loeber avatar
Zachary Loeber

I’m getting a better sense of the backend macros now that I did the wrapper utility though

Zachary Loeber avatar
Zachary Loeber

In fact, I just added a generic template generation based on the selections a person makes when using make helper to pull in github apps. It leverages all of the macros (based on the user selection it uses the proper macro)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

you’re going to town on it!

Zachary Loeber avatar
Zachary Loeber

selfish reasons but trying to not just be a consumer ya know?

Zachary Loeber avatar
Zachary Loeber

you use any of the silly whiptail wizards I threw together?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I haven’t added any new packages lately

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

mostly just fixing the auto-PRs for updating packages

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

maintainers keep mucking with their package names!

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

(and version numbers)

Zachary Loeber avatar
Zachary Loeber

That’s something I keep thinking about. There should be a better programatic way to capture the right template to use for downloads that capture these things

Zachary Loeber avatar
Zachary Loeber

fuzzy-logic style

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Oh, there’s a away that will work 100%

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

just use the API

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Zachary Loeber avatar
Zachary Loeber

ha, I do scrape that in my helper script

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I had to do that for one of the packages which uses a unique git sha in each one

Zachary Loeber avatar
Zachary Loeber

but it’s still not 100% for architecture, os, and all that other stuff

Zachary Loeber avatar
Zachary Loeber

in the release name?

Zachary Loeber avatar
Zachary Loeber

thats nuts

Zachary Loeber avatar
Zachary Loeber

If you want to reject the prs for hashicorp apps I’ll get them updated to use the zip macro (if you didn’t already)

Zachary Loeber avatar
Zachary Loeber

I was on a sales/ideation pitch the first three days of this week and I feels like I gave a three day long technical grilling where I was squeezed for all I was worth

Zachary Loeber avatar
Zachary Loeber

You ever do any Kafka work btw? I guess its hot stuff right now

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
cloudposse/packages

Cloud Posse installer and distribution of native apps, binaries and alpine packages - cloudposse/packages

Zachary Loeber avatar
Zachary Loeber

lol

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

worked on some kafka stuff years ago, but not recenlty

Zachary Loeber avatar
Zachary Loeber

I’ve been running it in Kubernetes for a bit for a client that asked for it (ask and thou shall receive).

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

kafka operator?

Zachary Loeber avatar
Zachary Loeber

what a pain to get right. I’m seriously looking at NSQ as a recommendation instead.

Zachary Loeber avatar
Zachary Loeber

the official operator wasn’t released at the time so no, just charts (confluent ones though for the connect component specifically)

Zachary Loeber avatar
Zachary Loeber

Since I have your ear for a sec…. The EKS module of yours, is that pretty much superceded by the aws provider at this point?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

i don’t follow….

Zachary Loeber avatar
Zachary Loeber

I may bounce over to Amazon for an engagement. They want managed kube, I’m looking at the terraform for it and there is your module

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

oh, so here’s how to understand that

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

(even with managed node pools, you still want to use terraform to manage it)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

there the EKS cluster, which is really just the masters

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

we have a terraform module for that

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

then you’ll want node pools. there are all kinds of different ways to do nodepools

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

self-managed with autoscale groups

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

managed node pools (supported by provider), called by terraform

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

and fargate profiles (like running fargate)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

there are many limitations and tradeoffs with each flavor

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

best to ask on #office-hours hours and I can go into details

Zachary Loeber avatar
Zachary Loeber

I’ll pester you more on the next one if other things don’t take priority for your time

Zachary Loeber avatar
Zachary Loeber

After using the provider for azure to create aks clusters over the last year

Zachary Loeber avatar
Zachary Loeber

I’ve seen the provider released half a dozen times over to fix and generally overcome a good deal of my prior workarounds and such

Zachary Loeber avatar
Zachary Loeber

so now the default provider is pretty fully fleshed out (finally)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

the thing is nothing is ever easy on AWS

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

it is very low-level/raw

Zachary Loeber avatar
Zachary Loeber

I’m going to have to say that is the same for Azure. The moment you need to do anything beyond the basics you almost instantly hit a wall

Zachary Loeber avatar
Zachary Loeber

or maybe I’m just never happy with the basics and its a matter of perspective….

Zachary Loeber avatar
Zachary Loeber

your modules are impressive btw, no i’m not hitting on you, I have a wife.

Zachary Loeber avatar
Zachary Loeber

Zachary Loeber avatar
Zachary Loeber

So short answer, starting net new, would you still use your module over default provider code?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

100%

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

it’s always our pattern though

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

modules are for business logic

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

almost never is a raw resource sufficient.

Zachary Loeber avatar
Zachary Loeber

That’s sensible to me good sir, thanks a bunch

Zachary Loeber avatar
Zachary Loeber
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Ah nice! Glad they found someone to write it.

Fun coincidence - they reached out to cloud posse about writing this book. I had to decline because too many other things going on.

Zachary Loeber avatar
Zachary Loeber

I had someone reach out to me to co-write a book that would ‘compete with Kubernetes in Action’. I outright declined as that book simply is one of the best about the topic atm

2020-02-08

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Zachary Loeber i am curious - how are you using gonsul? haven’t heard/seen of this before.

Zachary Loeber avatar
Zachary Loeber

I’m not yet. But I was planning on putting it to use in some pipeline tasks to bootstrap/update key-pair values for projects with consul. Not a good idea?

Zachary Loeber avatar
Zachary Loeber

I looked into consul configuration and the idea of manually loading it with values defeats the purpose of config as code to me so I found this thing and figured I’d give it a whirl.

2020-02-09

2020-02-12

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I recorded an intro video of how our packages repo works

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

It’s far from complete, but a start

2020-02-13

Zachary Loeber avatar
Zachary Loeber

I better watch this one for certain

2020-02-19

Zachary Loeber avatar
Zachary Loeber

My PRs are piling up. Have I been missing something on these that make them unworthy?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Maxim Mironenko (Cloud Posse) :-)

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)
12:04:05 AM

@Maxim Mironenko (Cloud Posse) has joined the channel

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I had to delegate these, but Maxim has a question for me as he is new to the repo

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I think we are going to review with him tonight

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)

Let’s do just one, then I will take care of others

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Maxim Mironenko (Cloud Posse) are you free now?

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)

yes, let’s do a call

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Zachary Loeber expect a flood of merge notifications

2020-02-20

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)

@Zachary Loeber please, take a loot at <https://github.com/cloudposse/packages/pull/329>

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)

there are some changes required to make this package happens

2020-02-21

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@scorebot help keep tabs!

scorebot avatar
scorebot
05:49:42 PM

@scorebot has joined the channel

scorebot avatar
scorebot
05:49:43 PM

Thanks for adding me emojis used in this channel are now worth points.

scorebot avatar
scorebot
05:49:44 PM

Wondering what I can do? try @scorebot help

2020-02-24

Maxim Mironenko (Cloud Posse) avatar
Maxim Mironenko (Cloud Posse)

@Zachary Loeber all PRs are merged and here is the release: <https://github.com/cloudposse/packages/releases/tag/0.129.0>

1
Zachary Loeber avatar
Zachary Loeber

That’s cool of you Maxim, thanks much!

1
    keyboard_arrow_up