Autostart Plex in Kubernetes

jools72

Dabbler
Joined
Apr 5, 2021
Messages
14
Hi there!
Ok all you brainy people, I'm here looking for some advice.
I've just scored a bargain and landed a Dell R710 server. I'm currently playing around with different profiles and software configurations for it. I was going to use ProxMox and have Truenas in a VM but after some research decided that at this time, it's beyond my grasp. I did try Truenas Core which loaded but seemed to have a few issues. So I tried Scale and it all seems to work ok. The only thing is wrapping my head around Kubernetes and Docker. Trying to google the info I'm looking for is returning gibberish. So after trying to solve the problem myself, I turn to you.
I have Plex installed in a K8S pod (I believe that's the term) and it's running fine. I have a few test media files in the pool and they are accessible locally and via remote and play on my devices. But... I have to manually start it. How do I get it to start automatically when the server powers up?
My main focus right now is to get the Plex set up and running completely automatically then locate the server in its new home. The other services I intend to use will come later as I can always remote in and fiddle with it later.
Cheers!
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Hi there!
Ok all you brainy people, I'm here looking for some advice.
I've just scored a bargain and landed a Dell R710 server. I'm currently playing around with different profiles and software configurations for it. I was going to use ProxMox and have Truenas in a VM but after some research decided that at this time, it's beyond my grasp. I did try Truenas Core which loaded but seemed to have a few issues. So I tried Scale and it all seems to work ok. The only thing is wrapping my head around Kubernetes and Docker. Trying to google the info I'm looking for is returning gibberish. So after trying to solve the problem myself, I turn to you.
I have Plex installed in a K8S pod (I believe that's the term) and it's running fine. I have a few test media files in the pool and they are accessible locally and via remote and play on my devices. But... I have to manually start it. How do I get it to start automatically when the server powers up?
My main focus right now is to get the Plex set up and running completely automatically then locate the server in its new home. The other services I intend to use will come later as I can always remote in and fiddle with it later.
Cheers!

In generall all SCALE Apps are started at boot, except those that are considered "stopped"
 

jools72

Dabbler
Joined
Apr 5, 2021
Messages
14
In generall all SCALE Apps are started at boot, except those that are considered "stopped"
So.. how do I change that? Plex does not start with the server.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
So.. how do I change that? Plex does not start with the server.

There is no option to do so or not do so.
It should restore to the state it was in before shutdown in 15-30 minutes after a restart.

if it does not, then you:
A. File a bugreport with iX Systems
or
B. Contact the person who build your App (most likely, either iX Systems for the "Official" Apps or us)
 

jools72

Dabbler
Joined
Apr 5, 2021
Messages
14
Ahhh.... ok. I've just tested that and indeed it did restart after a reboot. That's fine. So if I install a pod, all I need to do is run it and it should resume it's last state. That's great, thank you.
Now all I need is a Big Dummys Guide..... for 5 year olds!:grin:

Still, we learn by doing.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
While it's not 100% dummy guide level, we do have a few community guides on our Youtube Channel that might help you out depending on the skillevel you have :)
 

jools72

Dabbler
Joined
Apr 5, 2021
Messages
14
I'm always willing to learn,
however, I can build a machine and get it running
but I'm a coding noob.
I seriously need to learn but the second someone starts going "grep | bash setctl.yaml" (yes, I'm aware the line is probably completely wrong) without giving me a context of what it does, I'm lost. One of the reasons for going Scale, it's forcing me to try to learn. I have backups of my data so if all goes Pete Tong it won't be a disaster.
I've got a PiHole running in a Linux server VM right now which has given me some experience with it but I need more.
Thank you for your help, I really appreciate it and I will look up your Youtube Channel. I've also pulled the Truecharts catalogue to my server for perusal and experimentation. I'd rather experiment and learn before fully deploying the system.
 
Top