Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2bf28ee95 | ||
|
|
ae6ea842f1 | ||
|
|
2402f7258a | ||
|
|
45d3a14195 | ||
|
|
9b38fd3b00 | ||
|
|
1faa3a5f45 | ||
|
|
cccd90c9ff |
+578
-245
File diff suppressed because it is too large
Load Diff
+11
-2
@@ -62,13 +62,22 @@ metadata:
|
|||||||
namespace: default
|
namespace: default
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||||
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- http:
|
- http:
|
||||||
paths:
|
paths:
|
||||||
- path: /apis
|
- path: /(apis.*)
|
||||||
pathType: Prefix
|
pathType: ImplementationSpecific
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kubernetes
|
||||||
|
port:
|
||||||
|
number: 443
|
||||||
|
- path: /(api.*)
|
||||||
|
pathType: ImplementationSpecific
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: kubernetes
|
name: kubernetes
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: DaemonSet
|
||||||
|
metadata:
|
||||||
|
name: sync-daemon
|
||||||
|
namespace: kube-system
|
||||||
|
labels:
|
||||||
|
app: sync-daemon
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: sync-daemon
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: sync-daemon
|
||||||
|
spec:
|
||||||
|
hostNetwork: true
|
||||||
|
initContainers:
|
||||||
|
- name: fix-perms
|
||||||
|
image: alpine:latest
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
runAsUser: 0
|
||||||
|
command: ["/bin/sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
echo "Fixing permissions on /home/ubuntu/vmware-vix-disklib-distrib..."
|
||||||
|
chown -R 1000:1000 /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
chmod 755 /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
volumeMounts:
|
||||||
|
- name: vmwarelib
|
||||||
|
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
containers:
|
||||||
|
- name: sync-container
|
||||||
|
image: alpine:latest
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
|
ports:
|
||||||
|
- containerPort: 873
|
||||||
|
volumeMounts:
|
||||||
|
- name: pf9-env
|
||||||
|
mountPath: /etc/pf9
|
||||||
|
readOnly: true
|
||||||
|
- name: vmwarelib
|
||||||
|
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
command: ["/bin/sh", "-c"]
|
||||||
|
args:
|
||||||
|
- |
|
||||||
|
apk add --no-cache rsync coreutils grep
|
||||||
|
IS_MASTER=$(grep -E '^export IS_MASTER=' /etc/pf9/k3s.env | cut -d'=' -f2)
|
||||||
|
MASTER_IP=$(grep -E '^export MASTER_IP=' /etc/pf9/k3s.env | cut -d'=' -f2)
|
||||||
|
if [ "$IS_MASTER" = "true" ]; then
|
||||||
|
echo "Master node detected. IP: $MASTER_IP"
|
||||||
|
echo "Starting rsync daemon..."
|
||||||
|
rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach
|
||||||
|
if ps aux | grep rsync | grep -v grep; then
|
||||||
|
echo "rsync daemon is running."
|
||||||
|
else
|
||||||
|
echo "Failed to start rsync daemon."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Worker node detected. Syncing from Master..."
|
||||||
|
while true; do
|
||||||
|
mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/
|
||||||
|
echo "Syncing from rsync://${MASTER_IP}"
|
||||||
|
rsync -avz rsync://${MASTER_IP}/vmwarelib/ /home/ubuntu/vmware-vix-disklib-distrib/
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "Sync completed successfully."
|
||||||
|
else
|
||||||
|
echo "Sync failed. Retrying in 60 seconds..."
|
||||||
|
fi
|
||||||
|
sleep 20
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
volumes:
|
||||||
|
- name: pf9-env
|
||||||
|
hostPath:
|
||||||
|
path: /etc/pf9
|
||||||
|
type: Directory
|
||||||
|
- name: vmwarelib
|
||||||
|
hostPath:
|
||||||
|
path: /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
- name: env
|
||||||
|
hostPath:
|
||||||
|
type: Directory
|
||||||
|
path: /etc/pf9/env
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# This file is used to set environment variables to be injected into v2v-helper
|
||||||
|
# User can populate this file via cloud-init
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
export IS_MASTER=true
|
||||||
|
export MASTER_IP=
|
||||||
|
export K3S_TOKEN=
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# Rsync Daemon Configuration
|
||||||
|
uid = root
|
||||||
|
gid = root
|
||||||
|
use chroot = no
|
||||||
|
read only = no
|
||||||
|
max connections = 5
|
||||||
|
log file = /var/log/rsync.log
|
||||||
|
timeout = 300
|
||||||
|
|
||||||
|
[vmwarelib]
|
||||||
|
path = /home/ubuntu/vmware-vix-disklib-distrib
|
||||||
|
comment = VMware VIX Disk Library
|
||||||
|
read only = no
|
||||||
|
write only = no
|
||||||
|
list = yes
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# v0.1.10
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.10`
|
||||||
|
- **Published:** 2025-05-07T17:34:01Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.10
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* added os icons in vms list table in Migrations by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/431
|
||||||
|
* Backend change to block selection of vms without appropriate flavors in openstack by @spai-p9 in https://github.com/platform9/vjailbreak/pull/424
|
||||||
|
* Backend:Retrieve correct network names from backing Network references instead of device summary by @spai-p9 in https://github.com/platform9/vjailbreak/pull/432
|
||||||
|
* Backend: Improve the error handling and event reporting on these failures. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/411
|
||||||
|
* Backend: Preserve the job logs. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/435
|
||||||
|
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.9...v0.1.10
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# v0.1.4
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.4`
|
||||||
|
- **Published:** 2025-02-21T13:51:39Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.4
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Fix GH workflow runs on release event by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/147
|
||||||
|
* workflow dispatch manual by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/148
|
||||||
|
* Update README.md by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/149
|
||||||
|
* Update model.ts by @markp93 in https://github.com/platform9/vjailbreak/pull/152
|
||||||
|
* Added delete migration functionality to the migration table by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/155
|
||||||
|
* Adding workers nodes to the vjailbreak by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/161
|
||||||
|
* update package.json by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/172
|
||||||
|
* Update issue templates by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/158
|
||||||
|
* Update bug_report.yaml by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/175
|
||||||
|
* Migration data copy progress % and migration phases by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/167
|
||||||
|
* Nit: consistent referring to company VMware by @ericwb in https://github.com/platform9/vjailbreak/pull/164
|
||||||
|
* Update README.md by @markp93 in https://github.com/platform9/vjailbreak/pull/170
|
||||||
|
* release version v0.1.4 (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/196
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
* @markp93 made their first contribution in https://github.com/platform9/vjailbreak/pull/152
|
||||||
|
* @ericwb made their first contribution in https://github.com/platform9/vjailbreak/pull/164
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.3...v0.1.4
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# v0.1.5
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.5`
|
||||||
|
- **Published:** 2025-03-04T18:18:51Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.5
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Accept vmware and openstack creds via secert by @spai-p9 in https://github.com/platform9/vjailbreak/pull/228
|
||||||
|
* Create and Reuse existing open stack and vmware creds with other mino… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/237
|
||||||
|
* Support OS installed on LV by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/227
|
||||||
|
* Adding templates for github wiki by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/226
|
||||||
|
* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/239
|
||||||
|
* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/240
|
||||||
|
* update image tag to v0.1.5 by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/242
|
||||||
|
* Base documentation update for vJailbreak by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/243
|
||||||
|
* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/249
|
||||||
|
* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/250
|
||||||
|
* Ingress changes to call k8s apis by @spai-p9 in https://github.com/platform9/vjailbreak/pull/252
|
||||||
|
* Reformatted readme by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/206
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
* @damian-pf9 made their first contribution in https://github.com/platform9/vjailbreak/pull/206
|
||||||
|
* @bhavin192 made their first contribution
|
||||||
|
* @anmolsachan made their first contribution
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.4...v0.1.5
|
||||||
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# v0.1.6
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.6`
|
||||||
|
- **Published:** 2025-03-17T09:51:00Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.6
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Update the correct gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/265
|
||||||
|
* Update the correct icon for gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/266
|
||||||
|
* Update the correct version for gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/267
|
||||||
|
* ( release ) UI improvements and Backend fixes. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/281
|
||||||
|
* Update release notes for v0.1.6 by @github-actions in https://github.com/platform9/vjailbreak/pull/282
|
||||||
|
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.5...v0.1.6
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# v0.1.7
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.7`
|
||||||
|
- **Published:** 2025-03-26T09:01:10Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.7
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Update video link to latest by @anmolsachan in https://github.com/platform9/vjailbreak/pull/290
|
||||||
|
* fix readme for openstackcreds and vmware creds by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/288
|
||||||
|
* ( release ) Change base image to ubuntu base image, reduced image size. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/286
|
||||||
|
* Ignore Failed phase on retry by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/289
|
||||||
|
* api cosmetic fixes by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/274
|
||||||
|
* Support rollback for failed VM by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/300
|
||||||
|
* check VM status before marking migration as complete by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/295
|
||||||
|
* UI: Api cosmetic changes UI by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/297
|
||||||
|
* UI: Fix active migration by @spai-p9 in https://github.com/platform9/vjailbreak/pull/304
|
||||||
|
* fix mocks, unit tests by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/308
|
||||||
|
* block openstackcreds deletion for master creds by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/303
|
||||||
|
* UI: Implement a new credential addition workflow, and remove the creds addition from MigrationForm and Scaleup drawer by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/298
|
||||||
|
* Easy debug config by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/287
|
||||||
|
* resolved lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/311
|
||||||
|
* 270 identically named source destination credentials arent displayed properly by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/312
|
||||||
|
* Actions enhancement: Build and push on every PR raised to main or release branch. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/313
|
||||||
|
* Heavily re-organized docs pages by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/309
|
||||||
|
* Update the docs github page by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/314
|
||||||
|
* Sync VDDK across agents without any manual intervention by @spai-p9 in https://github.com/platform9/vjailbreak/pull/296
|
||||||
|
* Fix versions and github actions by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/316
|
||||||
|
* Fixed regression while updating cosmetic api changes, virtualmac… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/317
|
||||||
|
* 0.1.7 release fixes by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/318
|
||||||
|
* Build: Fix CGO Linking for libnbd Library in Build Process (release) by @spai-p9 in https://github.com/platform9/vjailbreak/pull/315
|
||||||
|
* fix migration status with random pod ref name by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/320
|
||||||
|
* UI: Disable scale down of a node when active migration is going on by @spai-p9 in https://github.com/platform9/vjailbreak/pull/319
|
||||||
|
* release: Fix github action when PR raised from release branch by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/323
|
||||||
|
* update astro action to use v4 by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/324
|
||||||
|
* Add optional dependency by @spai-p9 in https://github.com/platform9/vjailbreak/pull/325
|
||||||
|
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.6...v0.1.7
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# v0.1.8
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.8`
|
||||||
|
- **Published:** 2025-04-10T06:48:23Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.8
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Release v0.1.7 by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/322
|
||||||
|
* Update release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/326
|
||||||
|
* Updating the video by @roopakparikh in https://github.com/platform9/vjailbreak/pull/342
|
||||||
|
* Update the readme to point to the 'Getting Started' by @roopakparikh in https://github.com/platform9/vjailbreak/pull/349
|
||||||
|
* release v0.1.8 by @spai-p9 in https://github.com/platform9/vjailbreak/pull/354
|
||||||
|
* Update release notes for v0.1.8 by @github-actions in https://github.com/platform9/vjailbreak/pull/358
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
* @roopakparikh made their first contribution in https://github.com/platform9/vjailbreak/pull/342
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.7...v0.1.8
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# v0.1.9
|
||||||
|
|
||||||
|
- **Tag:** `v0.1.9`
|
||||||
|
- **Published:** 2025-04-25T06:14:53Z
|
||||||
|
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.9
|
||||||
|
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
## What's Changed
|
||||||
|
* Backend: Add check if datacenter exists by @spai-p9 in https://github.com/platform9/vjailbreak/pull/368
|
||||||
|
* Proxy env injection via configmap by @spai-p9 in https://github.com/platform9/vjailbreak/pull/364
|
||||||
|
* removed creds from logs and Made changes to match OS_INSECURE value t… by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/379
|
||||||
|
* vddk files check before migration ( release ) by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/375
|
||||||
|
* Damian doc updates by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/377
|
||||||
|
* Doc: Inject any environment variables required by user into v2v-helper pod. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/381
|
||||||
|
* Backend: Change ownership of /home/ubuntu/vmware-vix-disklib-distrib to ubuntu:ubuntu via init container. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/378
|
||||||
|
* ensure correct permissions on shared vmwarelib directory for rsync ac… by @spai-p9 in https://github.com/platform9/vjailbreak/pull/383
|
||||||
|
* Scaling doc update by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/391
|
||||||
|
* Backend: Remove logs in vmwaremachines by @spai-p9 in https://github.com/platform9/vjailbreak/pull/390
|
||||||
|
|
||||||
|
## New Contributors
|
||||||
|
* @sarika-p9 made their first contribution in https://github.com/platform9/vjailbreak/pull/379
|
||||||
|
|
||||||
|
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.8...v0.1.9
|
||||||
Reference in New Issue
Block a user