question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install IoT Edge in pre existing namespace

See original GitHub issue

There is a use case to install IoT Edge in a pre-existing namespace. Basically, we want to create a kubernetes namespace and assign a namespace to a particular node in a multi-node edge cluster and also assign other fencing to the namespace like roles and permission so that we can install any third party MS IoT Edge compatible applications on the namespace without worrying about it interfering with our critical services running on Edge. Edge in our case is a multinode Edge, you can say slimmed-down server nodes.

Raising the issue here as advised on https://github.com/MicrosoftDocs/azure-docs/issues/34589

Expected Behavior

Should be able to install IoT Edge in a namespace that is provided

Current Behavior

helm install --name k8s-edge3 --set “deviceConnectionString=HostName=alexcpn-iot-hub.azure-devices.net;DeviceId=ndac-app-fake;SharedAccessKey=…” edgek8s/edge-kubernetes --namespace msiot-alexcpn-iot-hub-xx-app-fake Error: release k8s-edge3 failed: namespaces “msiot-alexcpn-iot-hub-xxx-app-fake” already exists

Steps to Reproduce

1.Create a namespace in your kubernetes edge cluster 2…Create an iot hub in MS Azure 3. Create and assing an device to the hub. Get the connection string of the device 4. Install the Iot-hub in your Edge while specifying the namespace you want it to be installed on

edge-agent logs Error: release k8s-edge3 failed: namespaces "msiot-alexcpn-iot-hub-xxx-app-fake" already exists ``` <Paste here> ```
edge-hub logs
<Paste here>

Additional Information

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
veyallacommented, Oct 21, 2019

@alexcpn We’re preparing a public preview refresh of Kubernetes support in Nov which should address your requirements.

Could you please reach out to me at veyalla@microsoft.com? I’d like to understand a bit more about your use case and plans around leveraging this support.

1reaction
veyallacommented, Jul 18, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Develop IoT Edge modules using Visual Studio Code
This tutorial walks through setting up your development machine and cloud resources to develop IoT Edge modules.
Read more >
Create and provision an IoT Edge device on Linux using ...
This article provides end-to-end instructions for registering and provisioning a Linux IoT Edge device, which includes installing IoT Edge.
Read more >
Deploy Azure IoT Edge on Kubernetes (preview)
This example demostrates how you can use Kubernetes resources in an IoT Edge workload deployment manifest. It requires a Kubernetes cluster with Helm ......
Read more >
Deploy Azure IoT Edge on Kubernetes (preview)
This example demostrates how you can use Kubernetes configmaps, in an IoT Edge deployment. It requires a Kubernetes cluster with Helm initailized and...
Read more >
In Visual studio 2017,Unable to build IoT edge module ...
In Visual studio 2017,Unable to build IoT edge module when i referencing .net core based class library in iotedge project. #1846 · Comments....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found