apache / openwhisk-runtime-dotnet

Apache OpenWhisk Runtime .Net supports Apache OpenWhisk functions written in .Net languages
https://openwhisk.apache.org/
Apache License 2.0
35 stars 28 forks source link

Anyone tried .NET8.0 #81

Open GeorgeS2019 opened 4 months ago

shawnallen85 commented 1 month ago

@GeorgeS2019 I have a PR if you want to take a look at it.

GeorgeS2019 commented 1 month ago

[WIP] Using Podman for deploying OpenWhisk and using OpenWhisk-runtime-Dotnet

How to Replace Docker with Podman

[Standalone] wsl works with podman

To modify the OpenWhisk configuration to use Podman instead of Docker, you'll need to adjust the container runtime settings. Here are the detailed steps:

  1. Install Podman:

    • Ensure Podman is installed on your system. You can follow the installation instructions on the Podman website.
  2. Update OpenWhisk Configuration:

    • OpenWhisk uses a configuration file to manage its settings. You will need to modify this file to specify Podman as the container runtime.
    • Locate the application.conf file in your OpenWhisk deployment. This file is typically found in the whisk directory.
    • Update the container factory settings to use Podman. For example:
      whisk {
      containerFactory {
       impl = "whisk.core.containerpool.docker.DockerContainerFactory"
       docker {
         runCmd = "podman run"
         inspectCmd = "podman inspect"
         rmCmd = "podman rm"
         psCmd = "podman ps"
       }
      }
      }
  3. Restart OpenWhisk:

    • After updating the configuration, restart your OpenWhisk services to apply the changes. This can typically be done using the deployment scripts or commands specific to your setup.
  4. Verify the Configuration:

    • Ensure that OpenWhisk is now using Podman by checking the logs and running a few test actions. You can use the OpenWhisk CLI to invoke actions and verify that they are being managed by Podman.
GeorgeS2019 commented 1 month ago

[WIP] Support Aspire UIs for managing OpenWhisk with podman as container

https://github.com/dotnet/aspire/discussions/4920