NginxIngress

object NginxIngress extends App
trait App
trait DelayedInit
class Object
trait Matchable
class Any

Value members

Concrete methods

def buildDefaultBackendService: (Service, ReplicaSet)
def buildEchoheadersServices: (List[Service], ReplicaSet)
def buildIngress: Ingress

Builds a simple ingress object that encapsulates some rules for routing HTTP traffic coming into the cluster Similar to https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/examples/ingress.yaml

Builds a simple ingress object that encapsulates some rules for routing HTTP traffic coming into the cluster Similar to https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/examples/ingress.yaml

def buildIngressController: (Service, ReplicaSet)

Builds an nginx ingress controller object like this one: https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/examples/default/rc-default.yaml with the notable exception that this builds a ReplicaSet rather than a ReplicationController, and exposes it via a Service with a NodePort which makes amongst other things it a bt easier to automatically test.

Builds an nginx ingress controller object like this one: https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/examples/default/rc-default.yaml with the notable exception that this builds a ReplicaSet rather than a ReplicationController, and exposes it via a Service with a NodePort which makes amongst other things it a bt easier to automatically test.

Returns:

a replica set object that can be created on Kubernetes to get the controller running on the cluster.

def run: Unit
def testIngress(ingress: Ingress)(implicit k8s: K8SRequestContext, ec: ExecutionContext): Boolean

Inherited methods

final protected def args: Array[String]
Inherited from:
App
final def main(args: Array[String]): Unit
Inherited from:
App

Deprecated and Inherited methods

@deprecated(message = "the delayedInit mechanism will disappear", since = "2.11.0")
override def delayedInit(body: => Unit): Unit
Deprecated
[Since version 2.11.0] the delayedInit mechanism will disappear
Definition Classes
App -> DelayedInit
Inherited from:
App

Concrete fields

val httpPort: Int
val httpsPort: Int