':param    key: API key or username to used (required)
:type     key: ``str``
:param    secret: Secret password to be used (required)
:type     secret: ``str``
:param    secure: Whether to use HTTPS or HTTP. Note: Some providers
only support HTTPS, and it is on by default.
:type     secure: ``bool``
:param    host: Override hostname used for connections.
:type     host: ``str``
:param    port: Override port used for connections.
:type     port: ``int``
:return: ``None``'

def __init__(self, key=None, secret=None, secure=False, host='localhost', port=4243):

    super(KubernetesContainerDriver, self).__init__(key=key, secret=secret, secure=secure, host=host, port=port)
    if (host is not None):
        if host.startswith('https://'):
            secure = True
        prefixes = ['http://', 'https://']
        for prefix in prefixes:
            if host.startswith(prefix):
                host = host.strip(prefix)
        self.connection.host = host
        self.connection.port = port
    self.connection.secure = secure
    self.connection.key = key
    self.connection.secret = secret
