-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new macOS vfkit driver, like hyperkit and qemu (#19423)
* Add new macOS vfkit driver, like hyperkit and qemu It uses the new Virtualization.framework from macOS 11, instead of the older Hypervisor.framework (hvf) in QEMU. * Start vfkit in a new process group * vfkit: Add firewall workaround from minikube * vfkit: Add HostIP implementation for gateway * vfkit: Add driver to extra-disks supported * Add documentation for vfkit driver * vfkit: Add usual integration tests * Update site/content/en/docs/drivers/vfkit.md Co-authored-by: Steven Powell <[email protected]> --------- Co-authored-by: Nir Soffer <[email protected]> Co-authored-by: Medya Ghazizadeh <[email protected]> Co-authored-by: Steven Powell <[email protected]>
- Loading branch information
1 parent
613a681
commit 5295883
Showing
13 changed files
with
729 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2024 The Kubernetes Authors All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
||
# This script runs the integration tests on an OSX machine for the Hyperkit Driver | ||
|
||
# The script expects the following env variables: | ||
# MINIKUBE_LOCATION: GIT_COMMIT from upstream build. | ||
# COMMIT: Actual commit ID from upstream build | ||
# EXTRA_BUILD_ARGS (optional): Extra args to be passed into the minikube integrations tests | ||
# access_token: The GitHub API access token. Injected by the Jenkins credential provider. | ||
|
||
|
||
set -ex | ||
|
||
ARCH="arm64" | ||
OS="darwin" | ||
DRIVER="vfkit" | ||
JOB_NAME="VFkit_macOS" | ||
EXTRA_TEST_ARGS="" | ||
EXTERNAL="yes" | ||
|
||
brew tap cfergeau/crc | ||
brew install vfkit | ||
|
||
source common.sh |
Oops, something went wrong.