<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SteveSims2</title>
    <description>The latest articles on DEV Community by SteveSims2 (@stevesims2).</description>
    <link>https://dev.to/stevesims2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F635410%2F6e6b0880-a656-4ba0-9369-c22ff2a32e85.png</url>
      <title>DEV Community: SteveSims2</title>
      <link>https://dev.to/stevesims2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stevesims2"/>
    <language>en</language>
    <item>
      <title>Azure Devops 2019.1 Build Agent running on a pod in my Kubernetes cluster</title>
      <dc:creator>SteveSims2</dc:creator>
      <pubDate>Sun, 23 May 2021 20:13:12 +0000</pubDate>
      <link>https://dev.to/stevesims2/azure-devops-2019-1-build-agent-running-on-a-pod-in-my-kubernetes-cluster-4m8c</link>
      <guid>https://dev.to/stevesims2/azure-devops-2019-1-build-agent-running-on-a-pod-in-my-kubernetes-cluster-4m8c</guid>
      <description>&lt;p&gt;As a "toy" I decided to try and revive an old version of Microsoft's &lt;code&gt;Azure Pipelines Agent&lt;/code&gt; on an image from before they made that Azure &lt;code&gt;Services&lt;/code&gt; Only.   However, I updated the agent on the &lt;code&gt;ubuntu-16.04-tfs-2018-u2&lt;/code&gt; image to a later version of the linux agent.  (2.140.2)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://hub.docker.com/_/microsoft-azure-pipelines-vsts-agent"&gt;https://hub.docker.com/_/microsoft-azure-pipelines-vsts-agent&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I had to also update the Team Explorer Everywhere (TEE/TEE-cli) that was embedded in that to the latest version. And upgrade java to version 11.   But once that was done, it works well.  Its a tad on the large size for an image.  (1gb), but it seems ok on its memory and CPU usage.  See the kubebox graph at the bottom.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6A9JjHB4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fgt1dihnj25xcbuj117.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6A9JjHB4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9fgt1dihnj25xcbuj117.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YpsIVY9W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oi11k14r0b98shxaxg85.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YpsIVY9W--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oi11k14r0b98shxaxg85.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Does anyone think this could be more than just a toy ?  I'm a novice at most Kubernetes stuff compared to the folks here, but I wanted to share this.&lt;/p&gt;

</description>
      <category>vsts</category>
      <category>kubernetes</category>
      <category>azuredevops</category>
      <category>devops</category>
    </item>
    <item>
      <title>Step through debugging of code running in Kubernetes using VS2019 SSH attach (Part 2)</title>
      <dc:creator>SteveSims2</dc:creator>
      <pubDate>Fri, 21 May 2021 23:07:30 +0000</pubDate>
      <link>https://dev.to/stevesims2/step-through-debugging-of-code-running-in-kubernetes-using-vs2019-ssh-attach-part-2-2f59</link>
      <guid>https://dev.to/stevesims2/step-through-debugging-of-code-running-in-kubernetes-using-vs2019-ssh-attach-part-2-2f59</guid>
      <description>&lt;h1&gt;
  
  
  Get your desktop ready for debugging
&lt;/h1&gt;

&lt;p&gt;Ok now, open Visual Studio 2019, and get the sources that match the code running on your pod. Compile them. Set the project for your app as the Startup Project. Choose Debug -&amp;gt; Attach to Process.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Jg5IysWS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nj1fgxhmsjoagj0gro12.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Jg5IysWS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nj1fgxhmsjoagj0gro12.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Choose &lt;code&gt;SSH&lt;/code&gt;&lt;br&gt;
Click the &lt;code&gt;Refresh Button&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--23gCi9Mh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/492mkeynpmb10adf1d8d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--23gCi9Mh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/492mkeynpmb10adf1d8d.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Fill out the fields in the dialog with the master node name, the port of the SSH service, the root account and the password that you assigned to the root account. Press &lt;code&gt;Connect&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KdwubcLD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2yqpc042wahusk37cskc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KdwubcLD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2yqpc042wahusk37cskc.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Choose the &lt;code&gt;dotnet&lt;/code&gt; process and click &lt;code&gt;Attach&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HqZt6n7a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wgplucq3g7n1ke9xnb5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HqZt6n7a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wgplucq3g7n1ke9xnb5d.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Check &lt;code&gt;Managed (.Net Core for Unix)&lt;/code&gt; and press &lt;code&gt;OK&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Set a breakpoint in the run loop of the code, and wait. When that line executes the code will break:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vbgjEh0l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szk7e6ezv23x14de1o0r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vbgjEh0l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/szk7e6ezv23x14de1o0r.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
From this point you can step, hover over variables, or anything you might do when debugging locally.&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>dotnet</category>
    </item>
    <item>
      <title>Step through debugging of code running in Kubernetes using VS2019 SSH attach (Part 1)</title>
      <dc:creator>SteveSims2</dc:creator>
      <pubDate>Fri, 21 May 2021 21:39:46 +0000</pubDate>
      <link>https://dev.to/stevesims2/step-through-debugging-of-code-running-in-kubernetes-using-vs2019-ssh-attach-46p9</link>
      <guid>https://dev.to/stevesims2/step-through-debugging-of-code-running-in-kubernetes-using-vs2019-ssh-attach-46p9</guid>
      <description>&lt;h1&gt;
  
  
  Ensure Upgrade
&lt;/h1&gt;

&lt;p&gt;I think the very first step that you need to do is ensure that your Visual Studio 2019 installation is upgraded to the latest version. Mine is Microsoft Visual Studio Enterprise 2019 Version 16.9.6. If it is not at least that version go through the update process to get it updated.&lt;/p&gt;

&lt;h1&gt;
  
  
  Setting Up
&lt;/h1&gt;

&lt;p&gt;In this example I chose to one of our service to debug. Of course the next step is to do an installation in your namespace which includes this pod. Open the dashboard and toggle to your namespace and then deployments. Edit the deployment for it and add the following lines:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--y0UY0qJz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcf24mkkwrsi2fnoo8yv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--y0UY0qJz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zcf24mkkwrsi2fnoo8yv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Doing this will override the default entry point of the pod, so the actual service would have to be started manually.  But since the loop will run indefinitely, you can remote in again and again without Kubernetes taking it down when your app is terminated.  (You might want to make a test change and copy in new test code and restart it.)&lt;/p&gt;

&lt;p&gt;Incidentally if your deployment has a probes section, you might want to remove those for the duration of the debugging session. Since the service is not running, as this is, none of the Kubernetes probes can be responded to. Therefore, the pod will be flagged as "sick", it will not be considered READY, and it will not pass STARTUP, LIVELINESS, or READINESS probes. This would be okay if you remote in and start the service manually within a minute or two. But if you want a more carefree experience, the solution for this is simple. Simply delete the probes section from the deployment yaml.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--m-bLNbDO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j16g5yymu7irxvxnh573.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--m-bLNbDO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j16g5yymu7irxvxnh573.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One more consideration is that if your service specifies a securityContext, you might run into issues installing ssh or other utilities. Consider removing this section from the deployment temporarily as well.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wU6-XJFH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uys5unovy9to3qhpe7yk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wU6-XJFH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uys5unovy9to3qhpe7yk.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Install Utilities (SSH)
&lt;/h1&gt;

&lt;p&gt;Using the dashboard, remote into the pod. Use the following commands to install OpenSSH.&lt;/p&gt;

&lt;p&gt;Alpine&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apk update
apk add openssh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ubuntu&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;apt-get update
apt-get install openssh-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the rest of my post I'll be writing from the perspective of a pod based on an Alpine image.&lt;/p&gt;

&lt;p&gt;You need to setup SSH and get the daemon running. There are two things to do here. First open a new text file in the root of the pod by typing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vi key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The editor will open in its terminal full screen mode. Press the i key to enable input. Copy the following script and paste it into the window:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#!/bin/sh

if [ ! -f "/etc/ssh/ssh_host_rsa_key" ]; then
        # generate fresh rsa key
        ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
fi
if [ ! -f "/etc/ssh/ssh_host_dsa_key" ]; then
        # generate fresh dsa key
        ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
fi

#prepare run dir
if [ ! -d "/var/run/sshd" ]; then
  mkdir -p /var/run/sshd
fi

exec "$@"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Press ESC to leave input mode, and then press &lt;code&gt;:wq&lt;/code&gt;, to write and quit.&lt;/p&gt;

&lt;p&gt;Set the permissions of the newly created file to enable execution, and then execute it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chmod 777 key
./key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create the RSA key needed for OpenSSL to work.&lt;/p&gt;

&lt;p&gt;Next modify the sshd config file to allow root login. Type the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vi /etc/ssh/sshd_config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the arrow keys, i command and ESC to find and edit this file and make the changes to the lines circled in this screenshot:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--JABPu9n6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cowmi7iubh1jglffh0e4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JABPu9n6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cowmi7iubh1jglffh0e4.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
As before, press ESC and then &lt;code&gt;:wq&lt;/code&gt; to save and exit the file.&lt;/p&gt;

&lt;p&gt;You now need to give the root account a password. Type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;passwd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And it will prompt you twice for a new password. If it warns you that the password you entered was too short thats ok, it saves it anyway.&lt;/p&gt;

&lt;p&gt;Now you need to start the SSHD daemon. Type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/usr/sbin/sshd
ps -A
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify that sshd appears in the process list.&lt;/p&gt;

&lt;p&gt;At this point, start the application code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd /&amp;lt;yourappfolder&amp;gt;
dotnet &amp;lt;YourApp.WebAPI&amp;gt;.dll
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It won't return to the prompt so you will need to refresh the browser window to get a new shell, if you even need one.&lt;/p&gt;

&lt;p&gt;At this point, sshd is running, as well as the application. sshd is listening on pod port 22 which is the default. How can we get access to that port from the desktop where Visual Studio is running?&lt;/p&gt;

&lt;p&gt;In order to do that, we need to create a service that exposes a NodePort and forwards traffic from that port to a port on the master node of the cluster.&lt;/p&gt;

&lt;p&gt;I created a yaml template for such a service. I'll paste mine and describe which fields you will need to change for your installation. Here is mine.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kind: Service
apiVersion: v1
metadata:
  name: mm-app-ssh-service
  namespace: steve-sims
spec:
  ports:
    - name: ssh
      protocol: TCP
      port: 22
      targetPort: 22
  selector:
    app.kubernetes.io/instance: &amp;lt;instancename&amp;gt;
    app.kubernetes.io/name: &amp;lt;name&amp;gt;
    pod-template-hash: &amp;lt;hash&amp;gt;
  type: NodePort
  sessionAffinity: None
  externalTrafficPolicy: Cluster
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The two (or three) fields that you will need to change are in the selector section, as well as the namespace at the top.&lt;/p&gt;

&lt;p&gt;Open the dashboard and go to pods and click on the pod link for the pod that is running your application. Locate this section:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iZ47vbaj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkki8zkv18chsikci3ug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iZ47vbaj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkki8zkv18chsikci3ug.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
The fields I have circled are the ones that you need to replace in your service.yaml shown above.&lt;/p&gt;

&lt;p&gt;You can create the service using the + sign in the upper right part of the dashboard. Or alternatively, you can save it to a file on your disk, and do a&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl apply -f &amp;lt;filename&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;either way.&lt;/p&gt;

&lt;p&gt;To find the port that was exposed for your ssh instance, from your desktop type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;kubectl get svc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--90lKEwi---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rg8uvg9qvmodvedyl3pv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--90lKEwi---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rg8uvg9qvmodvedyl3pv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Note that, for me, the port was forwarded to port 31295 of my master node machine.&lt;/p&gt;

&lt;p&gt;Test your ssh instance from a command prompt window on your desktop. Type:&lt;/p&gt;

&lt;p&gt;ssh  -p 31295 -l root&lt;br&gt;
except replace the machine name with the master node name of your cluster, and the port number from the one assigned for your service. Here you can see my session where I am testing it:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Mh1GJGRc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7z6owwgwjjdf0627dr6d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Mh1GJGRc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7z6owwgwjjdf0627dr6d.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Get your desktop ready for debugging
&lt;/h1&gt;

&lt;p&gt;Ok now, open Visual Studio 2019, and get the sources that match the code running on your pod. Compile them. Set the project for your app as the Startup Project. Choose Debug -&amp;gt; Attach to Process.&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>dotnet</category>
    </item>
  </channel>
</rss>
