How to install Kubernetes on Windows Server 2019? - kubernetes

A few weeks ago the Windows Server 2019 was announced as Preview with native Kubernetes Support.
Is there any documentation how to activate or install Kubernetes?
I already set up a virtual server (with Desktop Feature) on my local Hyper-V, but I can not find any hint to test the preview features of Kubernetes on Windows Server 2019.
Or do I misunderstand the current Preview notes and Kubernetes is only announced but not available yet?

Kubernetes and its Windows cni plugins are in beta at the time of writing and insider build 1803 doesn't have any features/role for it (neither does dockeree though).
There are installation instructions here.
I've not found any information on what precisely is new in Server 2019 for Kubernetes...
Would be great to have powershell Install-Module/Install-Package for installation and a Windows Admin Center plugins for administering a cluster.

Related

How to deploy msi into Kubernetes in GCP

I'm new to cloud computing, could anyone please tell is there a way to deploy msi to Kubernetes in GCP
Google Cloud Kubernetes is based upon Linux. MSI (Microsoft Installer) is an application installer for Windows desktop and server operating systems.
You cannot install a Windows application on Kubernetes in Google Cloud.
There are implementations of Kubernetes on Windows and Windows containers for Kubernetes by other vendors, but neither support MSI application installation.

How to get VS build agent capabilities without installing the full Visual Studio application?

I've installed the latest VS Build Tools (2022), but my on-prem build agent isn't picking up the VisualStudio-related capabilities. I've been under the impression that we no longer need to install the full application in order to get these capabilities.
An example from this blog post:
I've added all workloads to my offline layout, and I've included them in my installation.
I know this is possible, because earlier I accidentally included Python and VS 2019 Build Tools in my Node.js installation configuration. The VS-related capabilities were found by the agent then.
But I'm trying to get 2022, so I uninstalled 2019.
How can I get the 2022 VS-related capabilities to be installed and detected by my build agent, without installing the full Visual Studio product?
You need to upgrade the agent to a recent enough version. You can download the agent from the azure-pipelines-agent repository's releases page. Or manually specify the capabilities.
You may need to set a special environment flag on the agent to prevent it from automatically being downgraded to whatever version shipped with your version if Azure DevOps Server or Team Foundation Server.
And then you'll also need to install the latest version of the vsbuild/msbuild and vstest tasks
Required agent version
You will need to install the most recent agent from the azure-pipelines-agent repository for it to auto-detect Visual Studio 2022, or alternatively add the capabilities to the agent manually.
You may need to force Azure DevOps Server to not downgrade back to its preferred agent version. You can do so by setting the following environment variable at the system level on your server before launching the agent:
AZP_AGENT_DOWNGRADE_DISABLED=true
These tricks will work for most tasks in the azure-pipelines-tasks repository, as long as it doesn't depend on a UI extension or service connection type that isn't available in your version of Azure DevOps Server.
https://jessehouwing.net/adding-visual-studio-2022-to-azure-devops-server-2020/

Debugging a Service Fabric application against a remote on-premises cluster using VS 2019

The development machine does not have enough capacity to host and run the Service Fabric cluster on the same machine where VS 2019 installed. So, a possible workaround would be having the cluster created on the local network (not Azure) and debug it remotely. Is it a feasible scenario, and if so how we can configure VS 2019 to remotely debug the application?
We have a doc for remote debugging a SF application using VS
https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-debugging-your-application#debug-a-remote-service-fabric-application
It doesn't appear it has been updated for VS 2019 though so some steps might be a bit different. But it is possible and should give you a place to start.

How to run eclipse on AWS

I have successfuly run rStudio on Amazon Web Services and it is extremely useful.
I want to run eclipse on AWS as well. When I type this in to google most tutorials are about the eclipse plugin. That's not what I want. I want to run eclipse on AWS.
I tried setting up an instance on EC2 which allowed me to run windows server 2012 but I couldn't install anything because of various internet explorer configuration issues and anyway I hat windows. I also tried a remote linux installation but its not really what I want. I want to run eclipse so that I can access it from a public DNS in the same way that I have managed to do with rStudio. Is this possible. Are there other (even non-AWS) ways?
I presume that by "AWS" you are actually referring to Amazon EC2 virtual machines.
Installing software on an Amazon EC2 instance is no different to installing on any other computer -- it's the same copy of Microsoft Windows you would use elsewhere.
The difficulties you mention of running Internet Explorer on Windows 2012 is entirely part of Microsoft's (rather strange) security settings that discourage using Internet Explorer as a system administrator, in order to combat security weaknesses that people try to exploit. Windows 2012 will no longer be supported by Microsoft in 2018.
I recommend using Windows 2016, which does not seem to impose such restrictions. It's also a newer, supported operating system that matches Windows 10.
Then, just install the software as normal and things will work a lot better for you.
Update:
You're right -- IE has problems on Windows 2016 but they are different to what is happening on Windows 2012 (last time I looked).
To get around the silly Microsoft IE security:
Run Server Manager
Go to Local Server
Click IE Enhanced Security Configuration ("On")
Turn both settings off
Internet Explorer then works and you can install Eclipse.

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.