Git Product home page Git Product logo

shifter's Introduction

Shifter - Openshift to Kubernetes Migration Accelerator

Bump & Tag New Release

Shifter is a tool which accelerates the migration from OpenShift 3.x / 4.x by translating the applications for Kubernetes, GKE & Anthos and supports migrating to Service Mesh with ASM + Istio Support.

shifter logo

Capabilities

  • Convert existing manifest files from OpenShift to Kubernetes.
  • Convert or extract manifest files from a running OpenShift cluster.
  • Run locally via a CLI tool or deploy a web-based user interface.
  • Convert OpenShift routes/networking to Google ILB/ELB or Istio/ASM virtual services + gateway creation.
  • Convert OpenShift templates to helm charts.
  • Convert ImageStreams to Images + Modify on the fly the Container Registry source.
  • Use GCS Buckets as the source/destination.

Issues and Feature Requests

If you have issues or would like to see some functionality added please raise a issue via Github Issues: https://github.com/google/shifter/issues

For issues please indicate:

  1. Your operating system and version.
  2. Your OpenShift cluster version.
  3. Attach a copy of the manifest (if possible).
  4. Attach a copy of the log output (if possible).
  5. Detail the issue or feature in as much detail as possible.

Contributing & Development

If you have improvements or fixes, we would love to have your contributions. Please read CONTRIBUTING.md for more information on the process we would like contributors to follow.

For development see DEVELOPMENT.md for details on pre-requisites and style guides.

Components

Shifter can either be ran via the command line or via a web ui front end.

Shifter Core (CLI & API Server)

Provides the backend service required by the front-end application and also provides the CLI tooling if the front-end web interface is not required.

Documentation

Read the detailed documentation at shifter/README.md

Demo

shifter demo 1

Shifter UI

Provides a front-end application written in Vue that connects to the Shfiter API's, for more information see shifter-ui/readme.md

Releases

Run Shifter

Run The Latest Shifter Version Locally with the UI

  1. Get the Source & Run Latest Docker Release
git clone https://github.com/google/shifter 
cd shifter
docker-compose -f docker-compose.yml up
  1. Open a browser and go to http://localhost:9090

Run The Latest Shifter Version Locally wth the CLI

  1. Run the Latest Docker Release (With List Action)
export CLUSTER_ENDPOINT="https://console.okd.<CLUSTER_DOMAIN>:8443"
export BEARER_TOKEN="<BEARER_TOKEN>"

docker run \
images.shifter.cloud/shifter:latest \
./shifter cluster -e $OKD_ENDPOINT -t $OKD_TOKEN list --all-namespaces
  1. Run the Latest Docker Release (With an Export Action)
export CLUSTER_ENDPOINT="https://console.okd.<CLUSTER_DOMAIN>:8443"
export BEARER_TOKEN="<BEARER_TOKEN>"

docker run \
-v 'pwd':/output \
images.shifter.cloud/shifter:latest \
./shifter cluster -e $CLUSTER_ENDPOINT -t $BEARER_TOKEN export --all-namespaces /output

Stargazers over time

Stargazers over time

shifter's People

Contributors

aymond avatar dependabot[bot] avatar garybowers avatar jhaavinash01 avatar konradschieban avatar mamgainparas avatar parasmamgain avatar shawnho1018 avatar timbohiatt avatar timhiatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shifter's Issues

strategy parameters not available after converting the file via shifter

I`m facing an issue at the time of converting template to helm .

Issue: shifter is not taking care the "strategy" .

I`m sharing the strategy parameters from source-file and output-file

strategy parameters from source file:

strategy:
activeDeadlineSeconds:
resources: {}
rollingParams:
intervalSeconds:
maxSurge: %
maxUnavailable: %
timeoutSeconds:
updatePeriodSeconds:
type:

strategy parameters from output file:

strategy: {}

Please help to fix this issue or suggest for taking care it.

--
Regards,
Himanshu Gaur

BUG: RSA PRIVATE KEY was publicly exposed

Hi team, Hope you are doing well :)

I have found a bug in your repository: https://github.com/google/shifter/blob/173d6574b6010af21910f0f7ca9c43879b8720d0/okd-cluster/4.x/02-appdeployment/bank-of-anthos/kubernetes-manifests/jwt/jwt-secret.yaml

As it was ENCODED here in the form of
jwtRS256.key: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS3dJQkFBS0NBZ0VBNEd2Wk5Ta2o1aWlXYjJEWk0yZkN4NWJHR1lnd2FLNFNNc3l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uTJiEjG41fgivOU8SGEyzVOmmM4o=
-----END RSA PRIVATE KEY-----

Impact:

RSA private key is used to generate digital signatures, and the RSA public key is used to verify digital signatures. The RSA public key is also used for key encryption of DES or AES DATA keys and the RSA private key for key recovery.

Shifter UI Colours incorrect in Chrome on Gnome GTK

Using the latest (as of issue) Google Chrome on linux gives incorrect colour profile, colours work as expected in Firefox

Screenshot from 2022-09-01 08-14-57

Linux build tested: Arch with Linux kernel 5.19.5
Gnome 42.4
Window Server : X11
Chrome version: 104.0.5112.101

Rename label deploymentconfig to deployment

Though this is unnecessary and may not be relevant but if we see a label with a key deploymentconfig, would it make sense to rename the key to deployment?

Please feel free to close this without if you think this is not relevant at all.

BUG: Sensitive JDBC data was exposed publicly

Hi team, Hope u doing well :)

I have found a bug or we can say it's an issue that sensitive data was exposed publicly which causes a high advantage to an attacker.

Because JDBC is an application programming interface (API) for the programming language Java, which defines how a client may access a database. It is a Java-based data access technology used for Java database connectivity. It is part of the Java Standard Edition platform, from Oracle Corporation.

For an attacker, it becomes easier to access the database belonging to this repository

gg__

terminal stuck after executing the command sh build-deploy-local.sh

shifter1

terminal stuck after executing the command sh build-deploy-local.sh

logs:

,[re(s,{to:"/"},{default:De(()=>[uf]),:1}),re(s,{to:"/about"},{default:De(()=>[ff]),:1}),af])])]),re(of)],64)}}}),pf=wu({history:jc("/"),routes:[{path:"/",name:"home",component:hf},{path:"/about",name:"about",component:()=>Bn(()=>import("./AboutView.8e100392.js"),["assets/AboutView.8e100392.js","assets/AboutView.ab071ea6.css"])},{path:"/status/healthz",name:"healthz",component:()=>Bn(()=>import("./HealthzView.39e8f622.js"),["assets/HealthzView.39e8f622.js","assets/HealthzView.dedbb70f.css","assets/index.15c82977.js"])},{path:"/status/settingz",name:"settingz",component:()=>Bn(()=>import("./SettingzView.47290ae2.js"),["assets/SettingzView.47290ae2.js","assets/SettingzView.64984f6c.css","assets/index.15c82977.js"])}]});const mf="http://localhost:9091/api/v1";var gf={SHIFTER_SERVER_ENDPOINT:mf};const Gt=hc(Ru),_f=gc();Gt.config.globalProperties.$shifterConfig={API_BASE_URL:gf.SHIFTER_SERVER_ENDPOINT};Gt.use(_f);Gt.use(pf);Gt.mount("#app");const Ef=Gt.config.globalProperties.$shifterConfig;export{wr as D,In as _,ue as a,vf as b,at as c,bf as d,bo as e,re as f,Uu as g,Ce as h,yf as m,We as o,Ef as s,Qo as t,xt as u,De as w};
shifter_server_development | [GIN] 2022/06/06 - 17:46:58 | 404 | 3.75µs | 172.19.0.1 | GET "/"
shifter_server_development | [GIN] 2022/06/06 - 17:47:13 | 404 | 1.389µs | 172.19.0.1 | GET "/"
shifter_server_development | [GIN] 2022/06/06 - 17:47:59 | 404 | 6.4µs | 172.19.0.1 | GET "/"

Error during conversion (from cli) when the output format of helm is chosen

Issue - When shifter was run from the cli (command and output below), with the '-o helm' argument, it panics with an exit code 2.

Environment details -

OS - Amazon Linux 2, go version go1.19.9 linux/amd64

Running shifter locally via cli

Input manifest - ./_test/yaml/multidoc/os-nginx.yaml

I am using the latest release of shifter.

=================== Output log below ==============================

[root@ip-10-2-3-65 shifter]# go run shifter convert --output-format helm -i yaml ./_test/yaml/multidoc/os-nginx.yaml ./out/
2023/07/28 16:50:19


/ // / () / /_ _____
__ / __ / / // __/ _ / /
/ / / / / / __/ // __/ /
/
/
/ /
/// _/___//


2023/07/28 16:50:19 💡| INFO | Converting yaml ./_test/yaml/multidoc/os-nginx.yaml to helm ./out/
2023/07/28 16:50:19 🗨️ | DEBUG | Reading file information from: ./_test/yaml/multidoc/os-nginx.yaml
2023/07/28 16:50:19 💡| INFO | Reading all source files
2023/07/28 16:50:19 🗨️ | DEBUG | Reading file - ./_test/yaml/multidoc/os-nginx.yaml
2023/07/28 16:50:19 🗨️ | DEBUG | File contents loaded into Buffer.
2023/07/28 16:50:19 🗨️ | DEBUG | Converting DeploymentConfig
panic: reflect: Call with too few input arguments

goroutine 1 [running]:
reflect.Value.call({0x1a2b0c0?, 0x2d76b88?, 0x0?}, {0x1c30b10, 0x4}, {0xc0005c6ae0, 0x2, 0x1f530c8?})
/usr/lib/golang/src/reflect/value.go:427 +0x1b5a
reflect.Value.Call({0x1a2b0c0?, 0x2d76b88?, 0x2d45a80?}, {0xc0005c6ae0?, 0x0?, 0x19296e0?})
/usr/lib/golang/src/reflect/value.go:368 +0xbc
shifter/generator.NewGenerator({0x7ffc2624677b, 0x4}, {0xc00053fbc8, 0x2, 0x0?})
/root/shifter/shifter/generator/generator.go:37 +0x20f
shifter/ops.(*Converter).ConvertFiles(0xc000495860)
/root/shifter/shifter/ops/convert.go:141 +0x1d1
shifter/cmd.glob..func5(0x2d27e60?, {0xc00040a9c0, 0x2, 0x6?})
/root/shifter/shifter/cmd/convert.go:79 +0x3ac
github.com/spf13/cobra.(*Command).execute(0x2d27e60, {0xc00040a960, 0x6, 0x6})
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:876 +0x67b
github.com/spf13/cobra.(*Command).ExecuteC(0x2d280e0)
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:918
shifter/cmd.Execute()
/root/shifter/shifter/cmd/root.go:46 +0x25
main.main()
/root/shifter/shifter/shifter.go:20 +0x17
exit status 2
[root@ip-10-2-3-65 shifter]#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.