modifies the pmsMetadata struct to add a NodeSelector property
modifies kubernetes.go to update the NodeSelector to be m.NodeSelector
Not sure if this is the same use case everyone has, but this is something that I have needed for my cluster where I have a mix of different node resources, so I've had to add node labels to advertise compatibility for scheduling. This update passes through whatever nodeselectors are assigned to the plex pod into all spawned transcode jobs and pods. If for some reason it fails to get a result it should default to the current nodeSelector that's in use. I've tested this locally and it seems to work as desired, though my golang experience is next to none, so take that with a grain of salt.
Addresses #45
Not sure if this is the same use case everyone has, but this is something that I have needed for my cluster where I have a mix of different node resources, so I've had to add node labels to advertise compatibility for scheduling. This update passes through whatever nodeselectors are assigned to the plex pod into all spawned transcode jobs and pods. If for some reason it fails to get a result it should default to the current nodeSelector that's in use. I've tested this locally and it seems to work as desired, though my golang experience is next to none, so take that with a grain of salt.