plex-operator

command module
v0.0.0-...-8655446 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

README

Plex Operator

Yet another operator to install the Plex media server on a Kubernetes cluster.

Run Plex on Your 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.

Install the Operator

  1. Clone this repository - git clone https://github.com/adambkaplan/plex-operator.git.
  2. Make sure kubectl is installed and configured to connect to your Kubernetes cluster as cluster admin.
  3. Run make deploy

Deploy Plex

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.

Why "yet another" Plex Operator?

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.

Contributing

This project is mainly for my enjoyment and experimentation with operator-sdk. Feel free to contribute by submitting a pull request!

License

Copyright Adam B Kaplan

SPDX-License-Identifier: Apache-2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the plex v1alpha1 API group +kubebuilder:object:generate=true +groupName=plex.adambkaplan.com
Package v1alpha1 contains API Schema definitions for the plex v1alpha1 API group +kubebuilder:object:generate=true +groupName=plex.adambkaplan.com
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL