scrubbles

joined 2 years ago
MODERATOR OF
[–] scrubbles@poptalk.scrubbles.tech 8 points 1 month ago (7 children)

Seriously what is the deal with it? I remembered playing it in gym decades ago and everyone hated it. Now I see people lobbying for new freaking complexes for it. Let's see if the fad lasts more than a year before dedicating public land space to it

[–] scrubbles@poptalk.scrubbles.tech 5 points 1 month ago (1 children)

We've been eclipsed in so many other ways - and now we will here too. We'll still eventually get to full green, that just makes that process slower, but in the meantime we're just letting others pass us by.

I wonder what they'll do with all that money they aren't spending on fossil fuels.

Glad to be of help. It is the right decision, I have no regrets if migrating, but it is a long process. Just getting my first few services running was months, just so you are aware of that commitment, but it's worth it.

[–] scrubbles@poptalk.scrubbles.tech 6 points 1 month ago (1 children)

Yeah, unfortunately most people don't understand what that is, and buy devices thinking they'll be supported long term. Us here know better (I bought Wemo early on and stopped years and years ago now because I knew this was coming, but I know I'm not the majority).

[–] scrubbles@poptalk.scrubbles.tech 16 points 1 month ago* (last edited 1 month ago) (4 children)

I'll post more later (reply here to remind me), but I have your exact setup. It's a great way to learn k8s and yes, it's going to be an uphill battle for learning - but the payoff is worth it. Both for your professional career and your homelab. It's the big leagues.

For your questions, no to all of them. Once you learn some of it the rest kinda falls together.

I'm going into a meeting, but I'll post here with how I do it later. In the mean time, pick one and only one container you want to get started with. Stateless is easier to start with compared to something that needs volumes. Piece by piece brick by brick you will add more to your knowledge and understanding. Don't try to take it all on day one. First just get a container running. Then access via a port and http. Then proxy. Then certs. Piece by piece, brick by brick. Take small victories, if you try to say "tomorrow everything will be on k8s" you're setting yourself up for anger and frustration.

@sunoc@sh.itjust.works Edit: To help out I would do these things in these steps, note that steps are not equal in length, and they are not complete - but rather to help you get started without burning out on your journey. I recommend just taking each one, and when you get it working rather than jumping to the next one, instead taking a break, having a drink, and celebrating that you got it up and running.

  1. Start documenting everything you do. The great thing about kubernetes is that you can restart from scratch if you have written everything down. I would start a new git repository with a README that contains every command you ran, what it did, and why you did it. Assume that you will be tearing down your cluster and rebuilding it - in fact I would even recommend that. Treat this first cluster as your testing grounds, and then you won't feel crappy spinning up temporary resources. Then, you can rebuild it and know that you did a great job - and you'll feel confident in rebuilding in case of hardware failure.

  2. Get the sample nginx pod up and running with a service and deployment. Simply so you can curl the IP of your main node and port, and see the response. This I assume you have played with already.

  3. Point DNS to your main node, get the nginx pod with http://your.dns.tld:PORT. This should be the same as anything you've done with docker before.

  4. Convert the yaml to a helm chart as other have said, but don't worry about "templating" yet, get comfortable with helm install, helm upgrade -i, and helm uninstall. Understand what each one does and how they operate. Then go back and template, upgrade-ing after each change to understand how it works. It's pretty standard to template the image and tag for example so it's easy to upgrade them. There's a million examples online, but don't go overboard, just do the basics. My (template values.yaml) usually looks like:

<<servicename>>
  name: <<servicename>>
  image:
    repository: path/to/image
    tag: v1.1.1
    network:
     port: 8888

Just keep it simple for now.

  1. Decide on your proxy service. Traefik as you see comes out of the box. I personally use istio. I can go into more details why later, but I like that I can create a "VirtualService" for "$appname.my.custom.tld` and it will point to it.
  2. Implement your proxy service, and get the (http only still) app set up. Set up something like nginx.your.tld and be able to curl http://nginx.your.tld and see that it routes properly to your sample nginx service. Congrats, this is a huge one.
  3. Add the CertManager chart. This will set it up so you can create Certificate types in k8s. You'll need to use the proxy in the previous step to route the /.well-known endpoints on the http port from the open web to cert-manager, for Istio this was another virtual service on the gateway - I assume Traefic would have something similar to "route all traffic on port 80 that starts with /.well-known to this service". Then, in your nginx helm chart, add in a Certificate type for your nginx endpoint, nginx.your.tld, and wait for it to be successfully granted. With Istio, this is all I need now to finally curl https://nginx.your.tld!

At this point you have routing, ports, and https set up. Have 2 drinks after this one. You can officially deploy any stateless service at this point.

Now, the big one, stateful. Longhorn is a bear, there are a thousand caveats to it.

Step one is where are your backups going to go. This can be a simple NFS/SMB share on a local server, it can be an s3 endpoint, but seriously this is step 1. Backups are critical with longhorn. You will fuck up Longhorn - multiple times. Losing these backups means losing all configs to all of your pods, so step one is to decide on your stable backup location.

Now, read the Longhorn install guide: https://longhorn.io/docs/1.9.0/deploy/install/. Do not skip reading the install guide. There are incredibly important things in there that I regretted glossing over that would have saved me. (Like setting up backups first).

The way I use longhorn is to create a PV in longhorn, and then the PVC (you can look up what both of these are later). Then I use Helm to set what the PVC name is to attach it to my pod. Try and do this with another sample pod. You are still not ready to move production things over yet, so just attach it to nginx. exec into it, write some data into the pvc. Helm uninstall. See what happens in longhorn. Helm install. Does your PVC reattach? Exec in, is your data still there? Learn how it works. I fully expect you to ping me with questions at this point, don't worry, I'll be here.

Longhorn will take time in learning, give yourself grace. Also after you feel comfortable with it, you'll need to start moving data from your old docker setup to Longhorn, and that too will be a process. You'll get there though. Just start with some of your lower priority projects, and migrate them one by one.

After all of this, there is still more. You can automount smb/nfs shares directly into pods for media or anything. You can pass in GPUs - or I even pass in some USB devices. You can encrypt your longhorn things, you can manage secrets with your favorite secret manager. There's thousands of things you'll be able to do. I wish you luck, and feel free to ping me here or on Matrix (@scrubbles@halflings.chat) if you ever need an ear. Good luck!

Yeah with Amazon's sheer size this has definitely been done before, curious what limits op is going to hit. My guess is they have a quota for submissions, and they'll be banned from submitting tickets.

[–] scrubbles@poptalk.scrubbles.tech 9 points 1 month ago* (last edited 1 month ago)

I mean go for it? They literally can't do anything, you might as well complain that fire is hot though. It's part of being in the Internet. They provide safety gloves, via VPCs and firewalls, but if you choose not to use them then.. yeah I mean youre probably gonna get burned

[–] scrubbles@poptalk.scrubbles.tech 56 points 1 month ago (10 children)

Uh sorry dude, but no this isn't a script kiddy, these are bots that scan every IP address every day for any open ports, it's a constant thing. If you have a public IP, you have people, govs, nefarious groups scanning it. AWS will tell you the same as if you were hosting it locally, close up the ports, put it on a private network. Use a vpc and WAF in AWS' case.

I get scanned constantly. Every hour of every day dark forced attempt to penetrate our defences.

[–] scrubbles@poptalk.scrubbles.tech 3 points 1 month ago (1 children)

Shows that no matter what you do, people will be mad at you.

[–] scrubbles@poptalk.scrubbles.tech 17 points 1 month ago (4 children)

Oh come on, it's Microsoft. They're forced to use copilot

[–] scrubbles@poptalk.scrubbles.tech 23 points 1 month ago (6 children)

I mean they only made one of the most successful MMOs to date, of course Microsoft is closing them

Hm, I'm more excited for SpongeBob 4: Spacewhales

 

As title says, any taymojis that would help everyone express themselves?

 

Looks fine.. not my thing personally but maybe someone else is interested

 
 

A bit of a rant, pre-sorry but so sad and annoyed right now.

Went to my favorite barber shop today. It's built on being nice, upscale, and men's haircuts. They do the works, good cuts, beard trimming/shaping, hot towel, the whole thing, and it's built to be man's place, they have a pool table, they have a couple of kegerators, they'll pour you a whiskey while you wait. Very nice.

(Note I say man's but really if you're a woman/any other gender and you like that sort of thing, then awesome. I mean man in the masculine sense)

Until recently this was my favorite place, but apparently it's gotten on the mom groups online and now the last few times I've gone it's just filled with children and moms. Where I could go and get a whiskey while I wait and find someone to shoot pool with, now kids are literally running around and as for the pool table they're just throwing the balls around. Meanwhile the moms are either talking with each other or hovering over Bradley getting his hair cut and how cute it is.

On top of it all, because there was a group of them instead of my normal 20 min wait it was almost a 2 hours wait. I just walked out.

I'm just so tired of it, this place obviously was built for adults but god forbid we have any adult places that aren't "actually meant for children". I mean obviously it was built for children, there's 2 kegs and a shelf of nice scotch but yes, bring all of your children here.

How come every place that used to be for adults is now a child zone? My favorite breweries used to be great places to let off steam after work and now I have kids playing tag in the middle of them. I flat out don't go to movies anymore because even the super late showings are just dumping grounds for inattentive parents to leave their kids. And god forbid you ever mention outside a community like this that you want to drink a beer without a kid running around or you're literally the devil who should be shunned.

Anyway, this isn't going anywhere specifically, I'm just really sad, and I didn't get my haircut today.

 

It’s been the loneliest time, it’s been the loveliest time. After a season of hibernation comes the season of blossoming🌻. I got to know loneliness and discover the beauty in it. The loneliest time taught me that growth comes from being planted in darkness. But now the world has opened itself back up again and in turn so have we. It’s time for celebration and for all the lessons we have learned to burst into joyful action. The Loveliest Time… At this point you know me so well that I won’t even tease about a b sides. It’s almost disrespectful because you know that it’s coming. And in fact this is the time to announce that it’s here. It’s done and a month from now The Loveliest Time will be all yours. I can’t really call it a b sides as if these were cast off ideas - it’s the completed set to a body of work that taught me so much about love and loneliness and myself. So let the countdown begin. Thank you for your continued support. Always x Carly

 

 

I've been casually keeping up on the drama from Glastonbury, if you're out of the loop Lana Del Rey went on late for her show at Glastonbury because she was having her hair done, and sounds like she had to cut her show short because of it (they had a hard-stopping time).

This is also after she called out event organizers for not putting her higher on the list of headliners (they say it's because she was headlining the B stage).

 

Hello and welcome Reddit Refugees!

Like you, I'm here licking my wounds at the end of Reddit Sync, my personal favorite. We hope that you'll find a new home here on Lemmy!

Please take a moment to look through our communities and rules, we don't have many, just try to be nice, don't be gross, and have fun here!

If you are brand new to Lemmy, I took some time to write up a welcome post here. Hopefully it explains most of what we're dong here.

This community, poptalkmeta is now open for suggestions, concerns, questions, whatever you may have, I'll be available and I'll be adding our other mods as well.

Welcome and have fun!

 
 
 

Hey folks, first time posting here, I hope this is the right place. I'm having a frustrating issue, I downloaded a Lycoris and added the extension to SD, and it works great, but was clearly only trained on close up portraits.

As soon as my prompt includes anything outside of the shoulders it switches to someone else. I tried training my own Lora with more poses to be more varied, but my face is distored now.

Can I combine these, either in prompts, or can I combine the models somehow? Could I use img2img on only the portrait area? (I tried but I don't know how to focus on just the head area, like "Apply this lycoris to the (masked) head"

Thanks!

[EDIT]: I figured it out, I was using whole picture and didn't understand how the "Only masked area" worked. I played with it a lot and figured out I could create a base image and have a wonky face, then in img2img mask the face and then bring in the lycoris, use only masked, and it'd fill it perfectly

view more: ‹ prev next ›