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.startswith('https://'):
            secure = True

        # strip the prefix
        prefixes = ['http://', 'https://']
        for prefix in prefixes:
            if host.startswith(prefix):
                host = host.strip(prefix)

        self.connection.secure = secure
        self.connection.key = key
        self.connection.secret = secret

        self.connection.host = host
        self.connection.port = port
:param    key: API key or username to used (required)
dataset/ETHPy150Open apache/libcloud/libcloud/container/drivers/kubernetes.py/KubernetesContainerDriver.__init__