Yet another operator to install the Plex media server on a Kubernetes cluster.
plex-operator
makes it simple to run the Plex Media Server on your Kubernetes cluster.
Use the PlexMediaServer
custom resource to define how you want to configure Plex, and the operator will take care of the rest.
Customize the installation by bringing your own storage and declaring how Plex services can be exposed outside of the cluster.
git clone https://github.com/adambkaplan/plex-operator.git
.make deploy
Install the latest Plex Media Server version with your claim token by creating an instance of the PlexMediaServer
custom resource:
$ kubectl apply -f - << EOF
kind: PlexMediaServer
apiVersion: plex.adambkaplan.com/v1alpha1
metadata:
name: plex
spec:
claimToken: <claim-token>
EOF
Note - to unlock most features in Plex you need to provide a claim token. You can obtain a claim token at https://www.plex.tv/claim.
Read Deploy Plex to see which configuration options are available.
I am not the first person to create a Kubernetes operator for Plex. A lot of this work was inspired by kubealex/k8s-mediaserver-operator and munnerz/kube-plex.
Read the FAQ to understand why I decided to write this particular operator.
This project is mainly for my enjoyment and experimentation with operator-sdk. Feel free to contribute by submitting a pull request!
Copyright Adam B Kaplan
SPDX-License-Identifier: Apache-2.0