Skip to content

Commit

Permalink
Bump kubevirtci
Browse files Browse the repository at this point in the history
This updated version allows external IPv6 connectivity from k8s-1.18
cluster.

Signed-off-by: Petr Horacek <[email protected]>
  • Loading branch information
phoracek committed Aug 18, 2020
1 parent 442a4c8 commit b1b4256
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cluster-up-sha.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2c1c787152569aa0a543d6710da178c051c34a40
10f64444b69573f1a5380670a1be4e98cc33f7f2
2 changes: 1 addition & 1 deletion cluster-up/cluster/images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare -A IMAGES
IMAGES[gocli]="gocli@sha256:0cec3163e5f8b050f129fa795b76c20cb1eb27c91564c63663160b095064a1f9"
if [ -z $KUBEVIRTCI_PROVISION_CHECK ]; then
IMAGES[k8s-fedora-1.17.0]="k8s-fedora-1.17.0@sha256:aebf67b8b1b499c721f4d98a7ab9542c680553a14cbc144d1fa701fe611f3c0d"
IMAGES[k8s-1.18]="k8s-1.18@sha256:47731d8b9bee32bbb69aa142f11b395fa9d70c20f318d33473ef2ebb650c08dd"
IMAGES[k8s-1.18]="k8s-1.18@sha256:f8bc8616139463a7e98330484f6c3748fe10c6ff5f5be614a373fd69b60a957c"
IMAGES[k8s-1.17]="k8s-1.17@sha256:49de8023fdce76dcf6f3685b4cedc3c84f38c90d58ddf3daf08078f3405e51df"
IMAGES[k8s-1.16]="k8s-1.16@sha256:1e153fb62c9a30ce6bc6ddc1af21bb28a56b780ec93ab15e113d729bf664469a"
IMAGES[k8s-1.15]="k8s-1.15@sha256:c58cb9d79968590f24e070bc2517088d44fa2f83ba73e989a7e0f690ad08460b"
Expand Down
24 changes: 24 additions & 0 deletions cluster-up/cluster/k8s-1.18/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,27 @@ volume contains corrupt data, it can be deleted with
```bash
docker volume rm kubevirt_registry
```

## Enabling IPv6 connectivity

In order to be able to reach from the cluster to the host's IPv6 network, IPv6
has to be enabled on your Docker. Add following to your
`/etc/docker/daemon.json` and restart docker service:

```json
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
```

```bash
systemctl restart docker
```

With an IPv6-connected host, you may want the pods to be able to reach the rest
of the IPv6 world, too. In order to allow that, enable IPv6 NAT on your host:

```bash
ip6tables -t nat -A POSTROUTING -s 2001:db8:1::/64 -j MASQUERADE
```
4 changes: 2 additions & 2 deletions cluster-up/cluster/kind/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ function _kubectl() {

function down() {
_fetch_kind
if [ -z $($KIND get clusters | grep ${CLUSTER_NAME}) ]; then
if [ -z "$($KIND get clusters | grep ${CLUSTER_NAME})" ]; then
return
fi
$KIND delete cluster --name=${CLUSTER_NAME}
rm ${KUBEVIRTCI_CONFIG_PATH}/$KUBEVIRT_PROVIDER/kind.yaml
rm -f ${KUBEVIRTCI_CONFIG_PATH}/$KUBEVIRT_PROVIDER/kind.yaml
}
2 changes: 1 addition & 1 deletion cluster-up/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3ae577f8d1ec1ed251ece613612a85df6d238d8e
12b5cdabfec1da7285c59724248d44b01de3693e
2 changes: 1 addition & 1 deletion hack/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cdi_namespace=cdi
image_pull_policy=${IMAGE_PULL_POLICY:-IfNotPresent}
verbosity=${VERBOSITY:-2}
package_name=${PACKAGE_NAME:-kubevirt-dev}
kubevirtci_git_hash="3ae577f8d1ec1ed251ece613612a85df6d238d8e"
kubevirtci_git_hash="12b5cdabfec1da7285c59724248d44b01de3693e"

# try to derive csv_version from docker tag. But it must start with x.y.z, without leading v
default_csv_version="${docker_tag/latest/0.0.0}"
Expand Down

0 comments on commit b1b4256

Please sign in to comment.