Build Kubernetes from Source on a Windows machine - kubernetes

Is it possible to build Kubernetes from source code on a windows machine?
As per development environment setup mentioned in https://github.com/kubernetes/community/blob/master/contributors/devel/development.md only supported OSs are Linux and MAC
Running build/run.sh shows below:
Unsupported host OS. Must be Linux or Mac OS X.

The simple answer is yes. Kubernetes source is in Go and there is Go compiler for Windows.
Another question would be, is it possible to be built easily? And that would be a 'no' (as of this writing) since you have already seen by running build/run.sh. So it's not supported by K8s officially.

Related

develop vscode extension on remote host

I am trying to create an extension. The catch is that I am doing this on a server to which I am connected with the ssh extension.
I am using yo for the boilerplate and I follow the basic steps here to create a hello world project.
When I launch the debugger with F5, a new VS Code instance on the remote server is launched, but the extension is not installed in that instance. I am also not able to execute the command.
As side-information, this is a raspberry Pi, so its 32 bit arm.
So the question is, is this generally possible to develop extensions on a Remote Host and if so, could the issue be related to the architecture of the Pi?
I could probably delete this question, but I will answer instead, maybe one day someone has the same problem.
When running yo code, the generated manifest will mark the extension as compatible with the latest VS Code engine. This may or may not be the version that is actually installed on your system.
"engines": {
"vscode": "^1.56"
}
For this example, the version is 1.56. When I check for the installed version I see its 1.55.2 though.
$ code -v
1.55.2
3c4e3df9e89829dce27b7b5c24508306b151f30d
arm
When setting the engine in the manifest to at max the version in your system, it works as described in my question above.
Logically, if the version is too high, the extension won't be installed in any workspace.
I found this page also helpful, for the topic in general -> https://code.visualstudio.com/api/advanced-topics/remote-extensions

Docker microsoft/nanoserver won't start

I have a problem with Docker running the nanoserver.
My environment: I Installed docker on a Win10 (developer build from microsoft) Virtual Machine (cause host is still Win7 with no default Docker support because of Hyper-V). I installed docker on the virgin image so no 3rd-party programs can cause the error. I also have already checked if Hyper-V is enabled.
But I think this Screenshot says everything:
Also Googled the problem, but everything i found wasn't in a Docker context.
FYI: I want to use the Docker container for running a network rendering slave which should only see one cpu core (for licensing reasons), maybe someone has another option for this.
so you are trying to run Docker on Windows 10 which is a VM on Windows 7? I suppose this is not possible. You are trying to run a virtualization platform inside a virtualized Host (your Windows 10 machine). This nested virtualization is not supported by Windows 7 afaik.
Nested virtualization is supported on Windows 10 Build 10565 and later (this must be your virtualization host).
Have you tried to create and run a Hyper-V VM inside that Windows 10 VM? this will also fail.

Service Fabric with Java on Windows

Is it possible to create the SF using java on a windows environment? What happens with the cluster provisioned on Azure? Does it contain the JVM? I've been trying to create a SF using eclipse in my windows environment where I also have VS 2015 and both SF SDKs but it does work.
Any suggestion?
Thanks
SF Windows environment doesnt support Java based Sateless/Stateful , Reliable Actor services. It is supported only in Linux (ubuntu 16.0 LTS)
But you could run it as Guest executable on Windows.

How to host the OpenStreetMap Locally

I want to host the OSM (OpenStreetMap) locally. I need the basic idea what are required for hosting the OSM and how the task can be done in a step wise manner. I have to host it in Windows7 environment.
Any kind of help will be useful.
switch2osm contains detailed instructions and requirements for setting up a OSM server. If you have a Windows system then better set up a Linux VM inside it.
A bit too old but I will just put it here for someone who is searching for the same thing.
An exact instance of OpenStreetMap can be hosted locally by following the installation guide of OpenStreetMap.
Quoting from the Link:
"These instructions are designed for setting up The Rails Port for development and testing. If you want to deploy the software for your own project, then see the notes at the end.
You can install the software directly on your machine, which is the traditional and probably best-supported approach. However, there is an alternative which may be easier: Vagrant. This installs the software into a virtual machine, which makes it easier to get a consistent development environment and may avoid installation difficulties. For Vagrant instructions, see VAGRANT.md.
These instructions are based on Ubuntu 12.04 LTS, which is the platform used by the OSMF servers. The instructions also work, with only minor amendments, for all other current Ubuntu releases, Fedora and MacOSX
We don't recommend attempting to develop or deploy this software on Windows. If you need to use Windows, then try developing this software using Ubuntu in a virtual machine, or use Vagrant."

How do i create a VM Ware Image of an AIX LPAR?

I want to clone a AIX LPAR and was wondering if the physical machine could be converted into a VM Image?
I have used the VMWare Converter to create a VM Image of a physical windows box and the documentation states that you can do that for Linux Boxes too.
http://www.vmware.com/products/converter/
I don't see information on AIX or the other UNIXes.
If creating an VM Image of an existing physical AIX box is not feasible is there any easy way to clone the AIX image to another AIX machine.
The primary intent is to avoid re-creating the setup that is already performed for the current AIX box and we want a duplicate environment with the same setup.
VMware supports x86 (and x86_64) architectures for host and guest only. IBM AIX runs on the Power architecture, and VMWare does not do architecture emulation, so what you want does not exist.
If you want to back up/clone your AIX instance to another machine, look for information regarding mksysb and AIX Sysback.
You might want to take a look at the following, but there are no guarantees, and I'm fairly certain running AIX on anything but a Power architecture is still not a reality at this time:
Qemu
PearPC
Based on further reading, i understand that VMWare does not support AIX. The guest OS can primarily be Windows, various distros of LINUX and Mac-OSX. I also see Solaris as a supported guest OS, but i don't see AIX. So i don't think this is possible.
I would have to look at the Virtualization features supported from IBM for this activity.
Thanks,
Manglu