#packages (2020-2)

http://github.com/cloudposse/packages

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

2020-02-13

Zachary Loeber avatar
Zachary Loeber

I better watch this one for certain

2020-02-12

Erik Osterman avatar
Erik Osterman

I recorded an intro video of how our packages repo works

Erik Osterman avatar
Erik Osterman

It’s far from complete, but a start

2020-02-09

2020-02-08

Erik Osterman avatar
Erik Osterman

@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-07

Erik Osterman avatar
Erik Osterman

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

Erik Osterman avatar
Erik Osterman
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 avatar
Erik Osterman

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 avatar
Erik Osterman

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 avatar
Erik Osterman

I haven’t added any new packages lately

Erik Osterman avatar
Erik Osterman

mostly just fixing the auto-PRs for updating packages

Erik Osterman avatar
Erik Osterman

maintainers keep mucking with their package names!

Erik Osterman avatar
Erik Osterman

(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 avatar
Erik Osterman

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

Erik Osterman avatar
Erik Osterman

just use the API

Erik Osterman avatar
Erik Osterman

Zachary Loeber avatar
Zachary Loeber

ha, I do scrape that in my helper script

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman
cloudposse/packages

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

Zachary Loeber avatar
Zachary Loeber

lol

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman

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 avatar
Erik Osterman

?

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman

oh, so here’s how to understand that

Erik Osterman avatar
Erik Osterman

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

Erik Osterman avatar
Erik Osterman

there the EKS cluster, which is really just the masters

Erik Osterman avatar
Erik Osterman

we have a terraform module for that

Erik Osterman avatar
Erik Osterman

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

Erik Osterman avatar
Erik Osterman

self-managed with autoscale groups

Erik Osterman avatar
Erik Osterman

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

Erik Osterman avatar
Erik Osterman

and fargate profiles (like running fargate)

Erik Osterman avatar
Erik Osterman

there are many limitations and tradeoffs with each flavor

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman

the thing is nothing is ever easy on AWS

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman

100%

Erik Osterman avatar
Erik Osterman

it’s always our pattern though

Erik Osterman avatar
Erik Osterman

modules are for business logic

Erik Osterman avatar
Erik Osterman

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 avatar
Erik Osterman

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

    keyboard_arrow_up