Are you over 18 and want to see adult content?
More Annotations
A complete backup of www.veinsensor.pl
Are you over 18 and want to see adult content?
A complete backup of 131458934.keywordblocks.com
Are you over 18 and want to see adult content?
A complete backup of markkavanagh.com
Are you over 18 and want to see adult content?
A complete backup of azscers.000webhostapp.com
Are you over 18 and want to see adult content?
A complete backup of abc12.onesignal.com
Are you over 18 and want to see adult content?
A complete backup of sp-active.adsrvr.org
Are you over 18 and want to see adult content?
A complete backup of services.runescape.com-api.top
Are you over 18 and want to see adult content?
A complete backup of cb1.dev.rtb.owneriq.net
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of https://familyevents.com
Are you over 18 and want to see adult content?
A complete backup of https://gamemods.com.br
Are you over 18 and want to see adult content?
A complete backup of https://aaenmaas.nl
Are you over 18 and want to see adult content?
A complete backup of https://rangitane.org.nz
Are you over 18 and want to see adult content?
A complete backup of https://blogville.us
Are you over 18 and want to see adult content?
A complete backup of https://relex.ru
Are you over 18 and want to see adult content?
A complete backup of https://headon.com.au
Are you over 18 and want to see adult content?
A complete backup of https://crowdsurfwork.com
Are you over 18 and want to see adult content?
A complete backup of https://bodfeld-apotheke.de
Are you over 18 and want to see adult content?
A complete backup of https://neoline.ru
Are you over 18 and want to see adult content?
Text
having is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. MICROSOFT AZURE DEVOPS AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MICROSOFT AZURE DEVOPS Often you may require a unique custom build/release agent with a specific set of tools. A good example is a dynamic Ansible Agent that can manage post deployment configuration. This ensures configuration drift is minimised. Secondly this part of a release is not too critical, so we can afford to spend a bit of time TROUBLESHOOTING AZURE EVENT HUBS AND AZURE STREAMING Troubleshooting Azure Event Hubs and Azure Streaming Analytics. March 29, 2020. /. Romiko Derbynew. When you are dealing with millions of events per day (Json format). You need a debugging tool to deal with events that do no behave as expected. Recently we had an issue where Azure Streaming analytics was in a degraded state. T-SQL UPPERCASE FIRST LETTER OF WORD T-SQL UpperCase first letter of word. July 27, 2017. July 27, 2017 /. Romiko Derbynew. I am amazed by the complex solutions out on the internet to upper case the first letter of a word in SQL. Here is a way I think is nice and simple. 1. ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS ASP.NET MVC Rendering Enum DropDownLists, Radio Buttons and ListBoxes. February 23, 2012. March 14, 2012 /. Romiko Derbynew. Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), or POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for examRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Microsoft.XLANGs.Pipeline.SendPipelineInputMessages. Basically, what you need to realize is that when you call a Send Pipeline it needs to know the 3 things: 1. The type of pipeline to call. 2. The SendPipelineInputMessages. 3. The Output variable that the pipeline uses to assign it’s output message. QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that the webtests weretaking a
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. WORKING WITH TIME ZONES IN ASP.NET MVC You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. So what we going do is.DisplayFor template
MICROSOFT AZURE DEVOPS AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that the webtests weretaking a
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. WORKING WITH TIME ZONES IN ASP.NET MVC You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. So what we going do is.DisplayFor template
MICROSOFT AZURE DEVOPS AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MICROSOFT AZURE DEVOPS Often you may require a unique custom build/release agent with a specific set of tools. A good example is a dynamic Ansible Agent that can manage post deployment configuration. This ensures configuration drift is minimised. Secondly this part of a release is not too critical, so we can afford to spend a bit of time REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), or POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for exam LINQ TO SQL ANTI-PATTERNS–DEALING WITH NULLABLE TYPES Hi Guys, This blog will demonstrate some bad habits in LinqToSql and how to deal with nullable types that provide clean code without null checks all over and improved performance on the projections. In one of my posts I recommended and demonstrated value of using NHProf, well the same goes for Linq to SQL. You OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had a lot less capabilities. Implicit Grant Implicit Grant flow leverages a redirect with the access token in the url. Ifsomeone
ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. Get the expression and and get the type If the Model has data, then compile the expression to get the value If BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Hi Folks, No, I have not forgotten to post the blog about web services part 2 and MSBuild part 2, I need to find sometime to do it, I hate to rush it, you know Introduction After toiling with Inline pipelines to achieve low latency objectives, I thought it might be a good idea toRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
T-SQL UPPERCASE FIRST LETTER OF WORD I am amazed by the complex solutions out on the internet to upper case the first letter of a word in SQL. Here is a way I think is nice andsimple.
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. KUBERNETES – PROMETHEUS – USE AN EXISTING PERSISTENT What usually happens is that you will initially install the chart and by default your kubernetes PV will have a default policy of DELETE. This means if you uninstall the chart, the Persistent Volume in the cloud (Azure, AWS, GCP etc) will also be deleted. Not a great outcome if you want historic metrics. What you want is a PV that has a reclaim QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. MICROSOFT AZURE DEVOPS AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. KUBERNETES – PROMETHEUS – USE AN EXISTING PERSISTENT What usually happens is that you will initially install the chart and by default your kubernetes PV will have a default policy of DELETE. This means if you uninstall the chart, the Persistent Volume in the cloud (Azure, AWS, GCP etc) will also be deleted. Not a great outcome if you want historic metrics. What you want is a PV that has a reclaim QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. MICROSOFT AZURE DEVOPS AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MICROSOFT AZURE DEVOPS Often you may require a unique custom build/release agent with a specific set of tools. A good example is a dynamic Ansible Agent that can manage post deployment configuration. This ensures configuration drift is minimised. Secondly this part of a release is not too critical, so we can afford to spend a bit of time TROUBLESHOOTING AZURE EVENT HUBS AND AZURE STREAMING Troubleshooting Azure Event Hubs and Azure Streaming Analytics. March 29, 2020. /. Romiko Derbynew. When you are dealing with millions of events per day (Json format). You need a debugging tool to deal with events that do no behave as expected. Recently we had an issue where Azure Streaming analytics was in a degraded state. T-SQL UPPERCASE FIRST LETTER OF WORD T-SQL UpperCase first letter of word. July 27, 2017. July 27, 2017 /. Romiko Derbynew. I am amazed by the complex solutions out on the internet to upper case the first letter of a word in SQL. Here is a way I think is nice and simple. 1. ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS ASP.NET MVC Rendering Enum DropDownLists, Radio Buttons and ListBoxes. February 23, 2012. March 14, 2012 /. Romiko Derbynew. Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), orRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for exam BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Microsoft.XLANGs.Pipeline.SendPipelineInputMessages. Basically, what you need to realize is that when you call a Send Pipeline it needs to know the 3 things: 1. The type of pipeline to call. 2. The SendPipelineInputMessages. 3. The Output variable that the pipeline uses to assign it’s output message.ROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that the webtests weretaking a
QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. WORKING WITH TIME ZONES IN ASP.NET MVC You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. So what we going do is.DisplayFor template
ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY Romiko Derbynew’s Blog. Kubernetes – Prometheus – use an existing persistent volume claim; Using Kubernetes to measure homepagespeed index
SLOW HTTPWEBREQUEST.GETRESPONSE() POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
BIZTALK FILE RECEIVE LOCATIONS: EXHAUSTED NETWORK Hi Folks, I was away on holiday in South Africa and on my return, a colleague of mine mentioned that the BizTalk receive locations were unexpectedly shutting down. It would always be a random receive location. We had just reached 50 receive locations and growing. In the Event Log BizTalk would complain: Event Type: ErrorROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that the webtests weretaking a
QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. WORKING WITH TIME ZONES IN ASP.NET MVC You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. So what we going do is.DisplayFor template
ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY Romiko Derbynew’s Blog. Kubernetes – Prometheus – use an existing persistent volume claim; Using Kubernetes to measure homepagespeed index
SLOW HTTPWEBREQUEST.GETRESPONSE() POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
BIZTALK FILE RECEIVE LOCATIONS: EXHAUSTED NETWORK Hi Folks, I was away on holiday in South Africa and on my return, a colleague of mine mentioned that the BizTalk receive locations were unexpectedly shutting down. It would always be a random receive location. We had just reached 50 receive locations and growing. In the Event Log BizTalk would complain: Event Type: ErrorROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for exam AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICES This post will demonstrate how to deploy a AKS cluster using Advanced Networking. We will then deploy an Application Gateway Ingress Controller. Essentially this will install a dedicated ingress POD that fully manages the Application gateway. This means all entries in the Application gateway are 100% managed by AKS. If you manually add anentry
REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), orRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
T-SQL UPPERCASE FIRST LETTER OF WORD I am amazed by the complex solutions out on the internet to upper case the first letter of a word in SQL. Here is a way I think is nice andsimple.
XSD CODE GENERATION XSD2CODE VS XSD.EXE Hi Folks, A quick post for those of you who need to generate code based on complex and rather large XSD schemas. I found this tool veryhandy: It
CALCULATE WIND DIRECTION AND WIND SPEED FROM WIND VECTORS Wind Vectors have a U (Eastward) and V (Northward) Component. Below is the code in C# to calculate the resultant wind Test Code BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Hi Folks, No, I have not forgotten to post the blog about web services part 2 and MSBuild part 2, I need to find sometime to do it, I hate to rush it, you know Introduction After toiling with Inline pipelines to achieve low latency objectives, I thought it might be a good idea toROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS ASP.NET MVC Rendering Enum DropDownLists, Radio Buttons and ListBoxes. February 23, 2012. March 14, 2012 /. Romiko Derbynew. Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. SLOW HTTPWEBREQUEST.GETRESPONSE() POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
BIZTALK FILE RECEIVE LOCATIONS: EXHAUSTED NETWORK Hi Folks, I was away on holiday in South Africa and on my return, a colleague of mine mentioned that the BizTalk receive locations were unexpectedly shutting down. It would always be a random receive location. We had just reached 50 receive locations and growing. In the Event Log BizTalk would complain: Event Type: ErrorROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS ASP.NET MVC Rendering Enum DropDownLists, Radio Buttons and ListBoxes. February 23, 2012. March 14, 2012 /. Romiko Derbynew. Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. SLOW HTTPWEBREQUEST.GETRESPONSE() POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
BIZTALK FILE RECEIVE LOCATIONS: EXHAUSTED NETWORK Hi Folks, I was away on holiday in South Africa and on my return, a colleague of mine mentioned that the BizTalk receive locations were unexpectedly shutting down. It would always be a random receive location. We had just reached 50 receive locations and growing. In the Event Log BizTalk would complain: Event Type: ErrorROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. MICROSOFT AZURE DEVOPS Often you may require a unique custom build/release agent with a specific set of tools. A good example is a dynamic Ansible Agent that can manage post deployment configuration. This ensures configuration drift is minimised. Secondly this part of a release is not too critical, so we can afford to spend a bit of time AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICES This post will demonstrate how to deploy a AKS cluster using Advanced Networking. We will then deploy an Application Gateway Ingress Controller. Essentially this will install a dedicated ingress POD that fully manages the Application gateway. This means all entries in the Application gateway are 100% managed by AKS. If you manually add anentry
POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for exam REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), orRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
XSD CODE GENERATION XSD2CODE VS XSD.EXE It has allot more customisation than the xsd.exe tool from Visual Studio. Xsd2Code can be customised to use Lists or Arrays and supports large schemas with allot of Import statements, which you do not need to include int he command line, very handy! Wish microsoft would jack up their xsd.exe gen tool. Here is a sample command line for a schema CALCULATE WIND DIRECTION AND WIND SPEED FROM WIND VECTORS Calculate Wind Direction and Wind Speed from Wind Vectors. April 21, 2017. April 21, 2017 /. Romiko Derbynew. Wind Vectors have a U (Eastward) and V (Northward) Component. Below is the code in C# to calculate the resultant wind. 1. 2. 3. BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Microsoft.XLANGs.Pipeline.SendPipelineInputMessages. Basically, what you need to realize is that when you call a Send Pipeline it needs to know the 3 things: 1. The type of pipeline to call. 2. The SendPipelineInputMessages. 3. The Output variable that the pipeline uses to assign it’s output message. KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MICROSOFT AZURE DEVOPS MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
KUBERNETES | ROMIKO DERBYNEW This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a visual guide to Kelsey Hightower GIT project called Kubernetes The Hard Way.It can be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. QUERY AZURE APPINSIGHTS WITH POWERSHELL In order to query AppInsights using powershell, you will need your AppInsights AppId and APIKey. The important consideration is to ensure your JSON is valid, so always run it through a parser and use the correct escape characters for both JSON and PowerShell. MICROSOFT AZURE DEVOPS MEMORY DUMP ANALYSIS–W3WP IIS PROCESS Memory Dump Analysis–W3WP IIS Process. May 7, 2011. May 10, 2011 /. Romiko Derbynew. At a customer I had prepared some Visual Studio 2010 WebTests which were calling their Java based website hosted on IBM Websphere, there is an IFrame on the Java page that points to an IIS hosted Asp.net 2.0 web site. When running load tests I noticed that WORKING WITH TIME ZONES IN ASP.NET MVC Working with time zones in ASP.NET MVC. March 12, 2012. March 12, 2012 /. Romiko Derbynew. You would like a dropdown list of time zones that a user can select from and perhaps use it for a user profile or multi tenant profile. Our second objective is that we do not want to manage this reference data, it should come from the system. AZURE STREAMING ANALYTICS After investigating an issue with Azure Streamiung Analytics, we discovered it cannot deserialise JSON that have the same property names but differ in case e.g. ARM – MODULAR TEMPLATES – REFERENCE RESOURCES ALREADY ARM – Modular Templates – Reference resources already created. December 5, 2018. December 5, 2018 /. Romiko Derbynew. Hi, I noticed the Microsoft documentation related to the following function is a little bit vague. reference (resourceName or resourceIdentifier, , ) The second issue is see a lot of peoplehaving is
AUTOMATE THE DEPLOYMENT OF AZURE KUBERNETES SERVICESLEVERAGE AKS WITH ADVANCED NETWORKING (CNI).SEE MORE ON ROMIKODERBYNEW.COM OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATIONSEE MORE ONROMIKODERBYNEW.COM
ROMIKO DERBYNEW
Patrick Debois from Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007.. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes, Azure Devops Pipelines, Jenkins, Grafana etc – then you probably reckon that you are heavy into Devops. MICROSOFT AZURE DEVOPS Often you may require a unique custom build/release agent with a specific set of tools. A good example is a dynamic Ansible Agent that can manage post deployment configuration. This ensures configuration drift is minimised. Secondly this part of a release is not too critical, so we can afford to spend a bit of time OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant. A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had ASP.NET MVC RENDERING ENUM DROPDOWNLISTS, RADIO BUTTONS ASP.NET MVC Rendering Enum DropDownLists, Radio Buttons and ListBoxes. February 23, 2012. March 14, 2012 /. Romiko Derbynew. Hi Folks, Sometimes you will want to display Enums for your lists. This can easily be done with some HTML extensions and then evaluating the member expression. It is a two step process. REVERSE BIAS IN SOLAR CELLS Solar Cell Basics A photo cell (solar cell) is a p-n junction. A photo cell convert’s light energy into electrical energy and the photons is the current source. When photons incident the silicon, it either travels through the material if its energy is lower than the band gap energy of the silicon semiconductor (transmission), or T-SQL UPPERCASE FIRST LETTER OF WORD T-SQL UpperCase first letter of word. July 27, 2017. July 27, 2017 /. Romiko Derbynew. I am amazed by the complex solutions out on the internet to upper case the first letter of a word in SQL. Here is a way I think is nice and simple. 1. POWERSHELL: CALLING STATIC METHODS, OBJECT INSTANTIATION Hi Folks, In this discussion, we will look at how we can call static methods with PowerShell. Call Static Methods Allot of the System namespaces are already loaded in PowerShell. So for examRENDER XML AS HTML
Hi Folks, I had to make a report on a website, where users could see data being sent into the Enterprise Service Bus. So basically all requests sent to web services is stored as XML in the SQL database. So, I created a GridView with a link to display the XML data ifneeded. However
BIZTALK: EXECUTING INLINE SEND PIPELINES IN AN Microsoft.XLANGs.Pipeline.SendPipelineInputMessages. Basically, what you need to realize is that when you call a Send Pipeline it needs to know the 3 things: 1. The type of pipeline to call. 2. The SendPipelineInputMessages. 3. The Output variable that the pipeline uses to assign it’s output message. SLOW HTTPWEBREQUEST.GETRESPONSE() Slow HttpWebRequest.GetResponse () January 17, 2012. January 17, 2012 /. Romiko Derbynew. In the development of the Neo4jClient, we noticed that all DB queries to Neo4j were taking roughly 150ms longer than on my local development machine. after using Fiddler and ApacheBench, it was clear the performance issue was inside the .Net Code.ROMIKO DERBYNEW
FOOTSTEPS IN THE SAND, THE SEASHORE MIND… Menu Skip to content* Home
* About Me
Search
Search for:
DEBUGGING AZURE EVENT HUBS AND STREAM ANALYTICS JOBS March 29, 2020March 30, 2020/ Romiko Derbynew
/ Leave a comment
When you are dealing with millions of events per day (Json format). You need a debugging tool to deal with events that do no behave asexpected.
Recently we had an issue where an Azure Streaming analytics job was in a degraded state. A colleague eventually found the issue to be the output of the Azure Streaming Analytics Job. The error message was very misleading. Source 'EventHub' had 76 occurrences of kind 'InputDeserializerError.TypeConversionError' between processing times '2020-03-24T00:31:36.1109029Z' and '2020-03-24T00:36:35.9676583Z'. Could not deserialize the input event(s) from resource 'Partition: , Offset: , SequenceNumber: ' as Json. Some possible reasons: 1) Malformed events 2) Input source configured with incorrect serialization format\r\n" The source of the issue was CosmosDB, we need to increase the RU’s. However the error seemed to indicate a serialization issue. We developed a tool that could subscribe to events at exactly the same time of the error, using the sequence number and partition. We also wanted to be able to use the tool for a large number of events +- 1 Million per hour. Please click link to the EventHub .Net client.This tool is
optimised to use as little memory as possible and leverage asynchronous file writes for the an optimal event subscription experience (Console app of course). Have purposely avoided the newton soft library for the final file write to improve the performance. The output will be a json array of events. The next time you need to be able to subscribe to event hubs to diagnose an issue with a particular event, I would recommend using this tool to get the events you are interested in analysing.Thank you.
TROUBLESHOOTING AZURE EVENT HUBS AND AZURE STREAMING ANALYTICSMarch 29, 2020
/ Romiko Derbynew
/ Leave a comment
When you are dealing with millions of events per day (Json format). You need a debugging tool to deal with events that do no behave asexpected.
Recently we had an issue where Azure Streaming analytics was in a degraded state. A colleague eventually found the issue to be the output of the Azure Streaming Analytics Job. The error message was very misleading. Source 'EventHub' had 76 occurrences of kind 'InputDeserializerError.TypeConversionError' between processing times '2020-03-24T00:31:36.1109029Z' and '2020-03-24T00:36:35.9676583Z'. Could not deserialize the input event(s) from resource 'Partition: , Offset: , SequenceNumber: ' as Json. Some possible reasons: 1) Malformed events 2) Input source configured with incorrect serialization format\r\n" The source of the issue was CosmosDB, we need to increase the RU’s. However the error seemed to indicate a serialization issue. We developed a tool that could subscribe to events at exactly the same time of the error, using the sequence number and partition. We also wanted to be able to use the tool for a large number of events +- 1 Million per hour. Please click link to the EventHub .Net client.This tool is
optimised to use as little memory as possible and leverage asynchronous file writes for the an optimal event subscription experience (Console app of course). Have purposely avoided the newton soft library for the final file write to improve the performance. The output will be a json array of events.using System;
using System.IO;
using System.Text;
using System.Threading; using System.Threading.Tasks; using Azure.Messaging.EventHubs.Consumer; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; namespace CheckMalformedEvents{
class GetMalformedEvents{
private static string partitionId; private static IConfigurationRoot configuration; private static string connectionString; private static string consumergroup; private static EventHubConsumerClient eventHubClient; private static EventPosition startingPosition; private static DateTimeOffset processingEnqueueEndTimeUTC; static void Main(string args){
Init();
ShowIntro();
try
{
GetEvents(eventHubClient, startingPosition, processingEnqueueEndTimeUTC).Wait();}
catch (AggregateException e){
Console.WriteLine($"{e.Message}");}
catch (Exception e){
Console.WriteLine($"{e.Message}");}
}
private static void Init(){
var builder = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); configuration = builder.Build(); connectionString = configuration.GetConnectionString("eventhub"); consumergroup = configuration.GetConnectionString("consumergroup"); eventHubClient = new EventHubConsumerClient(consumergroup, connectionString); partitionId = configuration; if (long.TryParse(configuration, out long sequenceNumber) == false) throw new ArgumentException("Invalid SequenceNumber"); processingEnqueueEndTimeUTC = DateTimeOffset.Parse(configuration); startingPosition = EventPosition.FromSequenceNumber(sequenceNumber);}
private static void ShowIntro(){
Console.WriteLine("This tool is used to troubleshoot malformed messages in an Azure EventHub"); Console.WriteLine("Sample Error Message to troubleshoot - First get the errors from the Streaming Analytics Jobs Input blade.\r\n");}
private static async Task{
var cancellationSource = new CancellationTokenSource(); if (int.TryParse(configuration, out int TerminateAfterSeconds) == false) throw new ArgumentException("Invalid TerminateAfterSeconds"); cancellationSource.CancelAfter(TimeSpan.FromSeconds(TerminateAfterSeconds)); string path = Path.Combine(Directory.GetCurrentDirectory(), $"{Path.GetRandomFileName()}.json");int count = 0;
byte encodedText;
using FileStream sourceStream = new FileStream(path, FileMode.Append, FileAccess.Write, FileShare.Write, bufferSize: 4096, useAsync: true);{
encodedText = Encoding.Unicode.GetBytes("{\r\n\"events\": \r\n}" + Environment.NewLine); await sourceStream.WriteAsync(encodedText, 0, encodedText.Length); return encodedText;}
private static void IsEventValidJson(int count, PartitionEvent receivedEvent, string data, string partition, long offset, long sequence){
dynamic message = JsonConvert.DeserializeObject(data); message.AzureEventHubsPartition = partition; message.AzureEventHubsOffset = offset; message.AzureEventHubsSequence = sequence; message.AzureEnqueuedTime = receivedEvent.Data.EnqueuedTime.ToString("o");if (count == 0)
Console.WriteLine($"First Message EnqueueTime: {message.AzureEnqueuedTime}, Offset: {message.AzureEventHubsOffset}, Sequence: {message.AzureEventHubsSequence}");}
}
}
The next time you need to be able to subscribe to event hubs to diagnose an issue with a particular event, I would recommend using this tool to get the events you are interested in analysing.Thank you.
WHAT IS DEVOPS – PART 1 February 19, 2020February 19, 2020/
Romiko Derbynew /
Leave a comment
Patrick Debois from
Belgium is the actual culprit to blame for the term Devops, he wanted more synergy between developers and operations back in 2007. Fast-forward a few years and now we have “Devops” everywhere we go. If you using the coolest tools in town such as Kubernetes , Azure Devops Pipelines, Jenkins
, Grafana etc – then you probably reckon that you are heavy into Devops. This can not be further from the truth. The fact is that Devops is more about a set of PATTERNS AND PRACTICES within a CULTURE that nurtures SHARED responsibilities across all teams during the software development life-cycle. Put it this way, if you only have 1 dude in your team that is “doing Devops”, then you may want to consider if you are really implementing Devops or one of it’s anti-patterns . Ultimately you need to invest in everyone within the SDLC teams to get on board with the culturalshift.
If we cannot get the majority of engineers involved in the SDLC to share responsibilities, then we have failed at our objectives regarding Devops, even if we using the latest cool tools from Prometheus to AKS/GKE. In a recent project that I was engaged in there was only 1 devops dude, when he fell ill nobody from any of the other engineering teams could perform his duties. Despite the fact that confluence has numerous playbooks and “How To’s”. Why? It comes down to people, process & culture. All of which can be remedied with strong technical leadership and encouraging your engineers to work with the process and tools in their daily routine. Hence why I encourage developers that are hosting their code on Kubernetes to use Minikube on their laptops.
If there is any advice that I can provide teams that want to implement Devops – Focus on People then Process and finally the Tools. In order to setup the transition for success – we will discuss in the next part of this series the pillars of Devops. INSTALLING KUBERNETES – THE HARD WAY – VISUAL GUIDE February 14, 2020February 19, 2020/ Romiko Derbynew
/ Leave a comment
This is a visual guide to compliment the process of setting up your own Kubernetes Cluster on Google Cloud. This is a VISUAL GUIDE to Kelsey Hightower GIT project called Kubernetes The Hard Way. It can
be challenging to remember all the steps a long the way, I found having a visual guide like this valuable to refreshing my memory. PROVISION THE NETWORK IN GOOGLE CLOUDVPC
Provision Network
Firewall Rules
External IP Address
PROVISION CONTROLLERS AND WORKERS – COMPUTE INSTANCES Controller and Worker Instances Workers will have pod CIDR10.200.0.0/24
10.200.1.0/24
10.200.2.0/24
PROVISION A CA AND TLS CERTIFICATES CERTIFICATE AUTHORITY CLIENT & SERVER CERTIFICATES KUBELET CLIENT CERTIFICATES CONTROLLER MANAGER CLIENT CERTIFICATES KUBE PROXY CLIENT CERTIFICATES SCHEDULER CLIENT CERTIFICATES KUBERNETES API SERVER CERTIFICATEReference
https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/04-certificate-authority.md SERVICE ACCOUNT KEY PAIR CERTIFICATE DISTRIBUTION – COMPUTE INSTANCES GENERATING KUBERNETES CONFIGURATION FILES FOR AUTHENTICATION GENERATING THE DATA ENCRYPTION CONFIG AND KEY BOOTSTRAPPING ETCD CLUSTER > Use TMUX set synchronize-panes on to run on multiple instances at > same time. Saves time! Notice where are using TMUX in a Windows Ubuntu Linux Subsystem and running commands in parallel to save a lot oftime.
The only manual command is actually ssh into each controller, once in, we activate tmux synchronize feature. So what you type in one panel will duplicate to all others. BOOTSTRAPPING THE CONTROL PANE (SERVICES) BOOTSTRAPPING THE CONTROL PANE (LB + HEALTH) REQUIRED NGINX AS GOOGLE HEALTH CHECKS DOES NOT SUPPORT HTTPS BOOTSTRAPPING THE CONTROL PANE (CLUSTER ROLES) BOOTSTRAPPING THE WORKER NODES CONFIGURE KUBECTL REMOTE ACCESS PROVISIONING NETWORK ROUTESDNS CLUSTER ADD-ON
First Pod deployed to cluster – using CoreDNSSMOKE TEST
Once you have completed the install of your kubernetes cluster, ensure you tear it down after some time to ensure you do not get billed for the 6 compute instances, load balancer and public statis ip address. A big thank you to Kelsey for setting up a really comprehensiveinstruction guide.
MINIKUBE + CLOUDCODE + VSCODE – WINDDEVELOPMENT ENVIRONMENT February 4, 2020February 19, 2020/ Romiko Derbynew
/ Leave a comment
As a developer you can deploy your docker containers to a local Kubernetes cluster on your laptop using minikube. You
can then use Google Cloud Code extension for Visual Studio Code. You can then make real time changes to your code and the app will deploy in the background automatically. * Install kubectl – https://kubernetes.io/docs/tasks/tools/install-kubectl/ * Install minikube – https://kubernetes.io/docs/tasks/tools/install-minikube/ * For Windows users, I recommend the Chocolaty approach * Configure Google Cloud Codeto use
minikube.
* Deploy your application to your local minikube cluster in Visual Studio Code * Ensure you add your container registry in the .vscode\launch.json file – See Appendix Ensure you running Visual Studio Code as Administrator. Once deployed, you can make changes to your code and it will automatically be deployed to the cluster. QUICK START – CREATE MINIKUBE CLUSTER IN WINDOWS (HYPER-V) AND DEPLOY A SIMPLE WEB SERVER.1
2
3
4
5
6
minikube start --vm-driver=hyperv kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 kubectl expose deployment hello-minikube --type=NodePort --port=8080kubectl get pod
minikube service hello-minikube --urlminikube dashboard
Grab the output from minikube service hello-minikube –url and browse your web app/service.APPENDIX
Starting the Cluster and deploying a default container.VS Code Deployment
* Setup your Container Registry in the .vscode\launch.json * Click Cloud Code on the bottom tray * Click “Run on Kubernetes” * Open a separate command prompt as administrator.vscode\launch.json
{
"version": "0.2.0","configurations":
}
1
minikube dashboard
We can see our new service is being deployed by VSCode Cloud Code extension. Whenever we make changes to the code, it will automaticallydeploy.
1
minikube service nodejs-hello-world-external --url The above command will give us the url to browse the web app. If I now change the text for Hello, world! It will automatically deploy. Just refresh the browser Here in the status bar we can see deployments as we update code.DEBUGGING
Once you have deployed your app to Minikube, you can then kick off debugging. This is pretty awesome. Basically your development environment is now a full Kubernetes stack with attached debugging proving a seamless experience. Check out https://cloud.google.com/code/docs/vscode/debug#nodejs formore information.
You will notice in the launch.json file we setup the debugger port etc. Below I am using port 9229. So all I need to do is start the appwith
CMD
or in the launch.json set the “args”: . Only supported in launch request type. Also ensure the Pod Selector is correct. You can use the pod name or label. You can confirm the pod name using the minikube dashboard. http://127.0.0.1:61668/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/#/pod?namespace=default{
"version": "0.2.0","configurations":
}
Now we can do the following * Click Run on Kubernetes* Set a Break Point
* Click Debug on KubernetesTIPS
* Run command prompt, powershell and vscode as Administrator * Use Choco for Windows installs * If you going to reboot/sleep/shutdown your machine. Please run:minikube stop
If you do not, you risk corrupting hyper-v and you will get all sortsof issues.
AZUREAD IDENTITY – IMPLICIT GRANT BETWEEN A SPA AND API GATEWAY December 13, 2019February 19, 2020/ Romiko Derbynew
/ Leave a comment
OVERVIEW
This article will discuss a minimum complex design if you have several SPA Apps or other Apps that call a global API . This design is future proof for when you later need to introduce an API gateway, since an API gateway uses a similar concept of 1 access token for all API’s. If you have a new in house client app that requires AAD integration for AUTHENTICATION and Authorization and your apps are all exposed within your organisation network only. Anyone in the organisation can create apps, however it is important to adhere to some conventions, expecially if you want to reduce the costs around onboarding new apps and the administrative overhead. If you can affort it, I would recommend https://www.okta.com/ , currently AAD still has a far higher OPEX cost associated with the day to day operations regarding Identity Management versus Azure AD. So lets get started with the Implicit Grant Flow for SPA Apps. Hopefully Microsoft will support the Code Authorization with PKCEfor SPA’s soon.
DIAGRAM SHOWING THE IMPLCITI GRANT FLOW IN AN AAD ENVIRONMENTDESIGN
* App registrations need to be created per environment (Dev, QA, UAT,Prod).
* All physical API’s you host are linked to 1 App Registration inAAD (Same Audience)
* All Clients have their own App registration using the API Audience * API exposes a default scope – Later when you implement an API gateway SCOPE logic can reside on the gateway. This keeps the designfuture proof.
This is for SPA apps that use Implicit Grant Flow. AAD currently only supports this flow for SPA apps; otherwise Code Authorization Flow with PKCE is superior,
which OKTA supports
* Users are added to Azure AD Groups * 1 Global API App Registration per environment (Global API) * Application Roles are ONLY created in the Global API APpregistration
* AD Groups are assigned to Application Roles DIAGRAM ILLUSTRATION THE AAD RELATIONSHIP IN THIS DESIGN. WE ONLY SUPPORT 1 AUDIENCE (THE GLOBAL API). Diagram illustrating the AAD implementation Stategy regarding Users, Groups, Apps and Application Roles (API) IMPLICIT GRANT SPA ->GLOBAL API Prerquisite – You already have a Global API App Registration that exposes an API in AAD. * Go to the Azure Portal * Click “App Registrations”Click “New Registration” * Provide a name that adheres to the convention – DEPARTMENTSPA
* Once the app is created * Go to the Branding Blade and ensure the Domain is verified and select your domaiun name. * Add any custom branding e.g. LogoClick Authentication Blade * Enable Implicit Grant Flow by ticking – ID Token, Access Token * Record the APP ID by clicking Overview and copying the Application (client) ID
> If you do not want a consent dialog to show when the user uses the > app. You need to add your shiny new app to the Global API app as a > trusted application. Each environment has a GLOBAL API e.g. > Department>
> Click “Expose an API>
> ”Click “Add a client Application” There is another method to add API permissions via the SPA App instead of trusted clients, however this required GLOBAL TENANT ADMIN GRANTS. * Add the API’s in the API Permissions blade then * Click the GRANT/REVOKE ADMIN CONSENT FOR XYZ COMPANY LIMITED button, and then select YES when you are asked if you want to grant consent for the requested permissions for all account in the tenant. You need to contact an Azure AD tenant admin to do this. You are now ready to use your new APP for Authentication.Update your code base to use a supported OAuth2.0 and OpenID library e.g. MSAL.JS https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-v2-librariesEnsure you are compliant e.g. Tokens are being verified * All Access Tokens provided by the Global API are valid for 1 hour. You will need to refresh the token for a new one. The library will dothis for you.
* Ensure all Tokens are Verified on the SPA side (ID Token and AccessToken)
* NEVER send the ID Token to the API. Only the Access Token (Bearer) * AVOID storing the access token in an insecure storage location GLOBAL API MANIFEST (GLOBAL API APP REGISTRATION) * Create your Global API * Ensure the Branding is correct * Expose an API e.g. default * Add Trusted Client Apps like the SPA above * Edit the Manfiest to include any Application or User Roles. Application Roles are great for service to service communication which is not covered in this article. Here is where you define roles in the app manifest on the Global APIApp.
"appRoles": [
{
"allowedMemberTypes": , "description": "Standard users of MyApp1 SPA.", "displayName": "MyApp1-Payroll", "id": "12343b9d-2e21-4ac3-b3cd-f0227588fc03","isEnabled": true,
"lang": null,
"origin": "Application", "value": "MyApp1-Payroll"},
...
Your API will implement RBAC based on the App Roles defined in the Global API Manifest. In AAD Portal, add additional App Roles public class ManagerController : Controller{
}
public class AdministrationController : Controller{
}
public class HomeController : Controller{
}
//Policy based
public class AlcoholPurchaseController : Controller{
public IActionResult Index() => View();}
Ensure you are using Microsoft Identity V2! This design will provide the least amount of administrative overhead for apps that need to be publish internally within the organisation and provides a decent level of security coverage. CREATING A CLOUD ARCHITECTURE ROADMAP October 23, 2019February 19, 2020/ Romiko Derbynew
/ Leave a comment
OVERVIEW
When a product has been proved to be a success and has just come out of a MVP (Minimal Viable Product) or MMP (Minimal Marketable Product) state, usually a lot of corners would have been cut in order to get a product out and act on the valuable feedback. So inevitably there will be technical debt to take care of. What is important is having a TECHNICAL VISION THAT WILL REDUCE COSTS AND PROVIDE VALUE/IMPACT/scaleable/resilient/reliable which can then be communicated to all stakeholders. A lot of cost savings can be made when scaling out by putting together a Cloud Architecture Roadmap. The roadmap can then be communicate with your stakeholders, development teams and most importantly finance. It will provide a high level “map” of where you are now and where you want to be at some point in the future. A roadmap is every changing, just like when my wife and I go travelling around the world. We will have a roadmap of where want to go for a year but are open to making changes half way through the trip e.g. An earthquake hits a country we planned to visit etc. The same is true in IT, sometimes budgets are cut or a budget surplus needs to be consumed, such events can affect your roadmap. It is something that you want to REVIEW ON A REGULAR SCHEDULE. Most importantly you want to communicate the roadmap and get FEEDBACK fromothers.
Feedback from other engineers and stakeholders is crucial – they may spot something that you did not or provide some better alternativesolutions.
DECOMPOSITION
The first stage is to decompose your ideas. Below is a list that helps get me started in the right direction. This is by no means an exhausted list, it will differ based on your industry.COMPONENT
DESCRIPTION
EXAMPLE
Application Run-time Where apps are hostedAzure Kubernetes
Persistent Storage
Non-Volatile Data
File Store
Block Store
Object Store
CDN
Message
Database
Cache
Backup/Recovery
Backup/Redundant SolutionsManaged Services
Azure OMS
Recovery Vaults
Volume Images
GEO Redundancy
Data/IOT
Connected Devices / SensorsStreaming Analytics
Event Hubs
AI/Machine Learning
Gateway
How services are accessed Azure Front Door, NGIX, Application Gateway, WAF, Kubernetes IngressControllers
Hybrid Connectivity
On-Premise Access
Cross Cloud
Express Route
Jumpboxes
VPN
Citrix
Source Control
Where code lives
Build – CI/CD
Github, Bitbucket
Azure Devops, Octopus Deploy, Jenkins Certificate ManagementSSL Certificates
Azure Key Vault
SSL Offloading strategiesSecret Management
Store sensitive configuration Puppet (Hiera), Azure Keyvault, Lastpass, 1Password Mobile Device ManagementGoogle Play
AppStore
G-Suite Enterprise MDM etc Once you have an idea of all your components. The next step is to breakdown your road-map into milestones that will ultimately assist in reaching your final/target state. Which of course will not be final in a few years time or even months!SAMPLE ROADMAP
Below is a link to a google slide presentation that you can use foryour roadmap.
https://docs.google.com/presentation/d/1Hvw46vcWJyEW5b7o4Xet7jrrZ17Q0PVzQxJBzzmcn2U/edit?usp=sharing ARCHITECTURE DECISIONS – KEEP A RECORD September 24, 2019February 19, 2020/ Romiko Derbynew
/ Leave a comment
There are several decision we make every day some conscious and many sub conscious. We have a bit more control over the conscious decisions we make in the work place from an Architecture perspective. If you are into Development, Devops, Site reliability, Technical Product Owner, Architect or event a contract/consultant; you will be contributing to significant decision regarding engineering. * What Database Technology should we use? * What Search Technology will we use that can scale and do we leverage eventual consistency? * What Container Orchestration or Micro-Service platform shall weuse?
When making a decision in 2016, the decision may have been perfectly valid for the technology choices for that time. Fast forward to 2019 and if faced with the exact same decision your solution may beentirely different.
This is absolutely normal and this why it is important to have a “journal” where you outline the key reasons/rationale for a significant architecture decision. It lays the foundation to effectively communicate with stakeholders and to “sell’ your decisions to others; even better to collaborate with others in a manner that is constructive to evaluating feedback and adjusting key decisions. I keep a journal of decisions and use a powershell inspired naming convention of Verb-Noun. Secondly I will look at what is trending in the marketplace to use as a guide post. So for a logging/Tracking/Metrics stack, I might start off with referencematerials.
https://12factor.net/logs – Generalized Concepts around the stack https://docs.microsoft.com/en-us/azure/architecture/patterns/ – More specific towards the technology we will use This allows me to keep on track with what the industry is doing and forces me to keep up to date with best practices. Below is sample Decision Record that I use. I hope you may find it useful. I often use them when on-boarding consultants/contractors or new members of the team. It is a great way for them to gain insights into the past and where we going. In the next blog post, I will discuss formulating an Architecture Roadmap and how to effectively communicate your vision with key stakeholders. Until then, happy decisions and do not be surprised when you sometimes convince yourself out of a bad decision that you made Now…How do I tell my wife we should do this at home when buying thenext sofa?
TITLE (VERB-DESCRIPTION-# E.G. CHOOSE-METRICSTRACINGLOGGINGSTACK)STATUS
CONTEXT
CONSTRAINTS
DECISION
CONSEQUENCES
OAUTH 2.0 – AUTHORIZATION CODE WITH PKCE VS IMPLICIT GRANT September 20, 2019February 19, 2020/ Romiko Derbynew
/ 1 Comment
A lot of organisations are still using the Implicit Flow for authorization when their client applications are browser based e.g. ReactJS/NodeJS. The problem with this workflow is that it was designed when browsers had a lot less capabilities.IMPLICIT GRANT
Implicit Grant flow leverages a redirect with the access token in theurl.
If someone gains access to your browser history and your token has not yet expired. They can then gain full access to your resources. As we can see above, this is in the url on a redirect. So a simple script can find these tokens in your browser history. Step 6 below in the Implicit grant is where the issue occurs and the token is recordedin your history.
If your clients are using modern browsers that support CORS via javascript. Then the solution is to use a flow where step 6 is not an HTTP Get Redirect (302). Ideally we want an http post. AUTHORIZATION WORKFLOW WITH PKCE Proof Key for Code Exchange – The PKCE extension prevents an attack where the authorization code is intercepted and exchanged for an access token by a malicious client, by providing the authorization server with a way to verify the same client instance that exchanges the authorization code is the same one that initiated the flow. Secondly instead of an HTTP GET, an HTTP POST is used to send the token over the wire. Thus the exchange is not recorded in the browser history at all. The token is sent as a payload in the HTTP data section and not the URL. Notice below the token is requested via an HTTP POST (ClientID, (v),(a) on step 8.
* The user clicks LOGIN within the native/mobile application. * Auth0’s SDK creates a cryptographically-random code_verifier and from this generatesa code_challenge.
* Auth0’s SDK redirects the user to the Auth0 Authorization Server (/AUTHORIZE endpoint)
along with the code_challenge. * Your Auth0 Authorization Server redirects the user to the login and authorization prompt. * The user authenticates using one of the configured login options and may see a consent page listing the permissions Auth0 will give to the mobile application. * Your Auth0 Authorization Server stores the code_challenge and redirects the user back to the application with an authorization code. * Auth0’s SDK sends this code and the code_verifier (created in step 2) to the Auth0 Authorization Server (/OAUTH/TOKEN endpoint).
* Your Auth0 Authorization Server verifies the code_challenge and code_verifier. * Your Auth0 Authorization Server responds with an ID Token and Access Token (and optionally, a Refresh Token). * Your application can use the Access Token to call an API to access information about the user. * The API responds with requested data. So… I should just use Authorization Workflow with PKCE? Not so fast. If you have a large customer base that are using older browsers that do not support CORS via javascript, you might be stuck with implicitgrant.
Another consideration is that the token endpoint on your Authorization Server of choice MUST support CORS for the trick to come together; not every major vendor supports it yet. However, if you can influence you customers and client browsers to use later versions and security is a big item on your list. This might be the best case to put forward an upgrade plan.In Summary
* Does your Authorization Server supprot CORS? * Can your clients use modern browsers that support CORS? If the answer is yes to both, then there is no need to use Implicit Grant with OAuth 2.0 OKTA ands Auth0 are some of the ID providers that support PKCE in SPA clients. Note: Microsoft Identity V2.0 does not currently support Auth Code Workflow with SPA. This may change in the future as it is a new product and MS are investing inV2.
AUTOMATE YOUR AZURE KUBERNETES UPGRADES – AKS September 12, 2019February 19, 2020/ Romiko Derbynew
/ Leave a comment
Recently a security patch by Microsoft has been released. We wanted to ensure we can have a predictable upgrade path. Below is a Bash script that leverages the AzureCLI to control theuprgrade process.
It will:
* Detect upgradable versions * Automatically selects the latest upgradable versionTest on Ubuntu 18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env bash
set -e
echo
"------------------------------------------------------------------------------------------------------------------" echo "When you upgrade an AKS cluster, Kubernetes minor versionscannot be skipped."
echo "For example, upgrades between 1.12.x -> 1.13.x or 1.13.x -> 1.14.x are allowed, however 1.12.x -> 1.14.x is not." echo "To upgrade, from 1.12.x -> 1.14.x, first upgrade from 1.12.x -> 1.13.x, then upgrade from 1.13.x -> 1.14.x."echo
"------------------------------------------------------------------------------------------------------------------"while !
do
echo "Please specifiy environment ?"read -r env
done
case $env in
dv)
az account set --subscription 'RangerRom DEV' subscriptionid=$(az account show --subscription 'RangerRom DEV' --query id | sed 's/\"//g');;
sb)
az account set --subscription 'RangerRom SANDBOX' subscriptionid=$(az account show --subscription 'RangerRom SANDBOX' --query id | sed 's/\"//g');;
ut)
az account set --subscription 'RangerRom TEST' subscriptionid=$(az account show --subscription 'RangerRom TEST' --query id | sed 's/\"//g');;
pd)
az account set --subscription 'RangerRom PROD' subscriptionid=$(az account show --subscription 'RangerRom PROD' --query id | sed 's/\"//g');;
*)
echo "environment not found"exit
;;
esac
env="dccau${env}"
az aks get-credentials --resource-group "${env}-k8s-rg" --name "${env}-k8s-cluster" --overwrite-existing echo "Getting the upgrade versions available for a managed AKS: ${env}-k8s-cluster." az aks get-upgrades --resource-group "${env}-k8s-rg" --name "${env}-k8s-cluster" --output table echo "Detecting the next minor version to upgrade to." versionToUpgradeTo=$(az aks get-upgrades --resource-group "${env}-k8s-rg" --name "${env}-k8s-cluster" | grep "kubernetesVersion" | cut -d'"' -f4 | sort | tail -n1) echo "Upgrading to version $versionToUpgradeTo" az aks upgrade --resource-group "${env}-k8s-rg" --name "${env}-k8s-cluster" --kubernetes-version $versionToUpgradeTo echo "Upgrade complete. Please run this again if you need to upgrade to the next minor version."POSTS NAVIGATION
← Older posts
Older posts
Search for:
CATEGORIES
* .Net Development
* Adventure
* Architecture/Technology* AWS
* DevOps
* Puppet
* Science
* Security
* Windows Azure
ROMIKO DERBYNEW’S BLOG * Debugging Azure Event Hubs and Stream Analytics Jobs * Troubleshooting Azure Event Hubs and Azure Streaming Analytics * What is Devops – Part 1 * Installing Kubernetes – The Hard Way – Visual Guide * Minikube + CloudCode + VSCode – WindDevelopment Environment * AzureAD Identity – Implicit Grant between a SPA and API Gateway * Creating a Cloud Architecture Roadmap * Architecture Decisions – Keep a record * OAuth 2.0 – Authorization Code with PKCE vs Implicit Grant * Automate your Azure Kubernetes Upgrades – AKS Blog at WordPress.com. Do Not Sell My Personal InformationPost to
Cancel
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: CookiePolicy
* Follow
*
* Romiko Derbynew
* Customize
* Follow
* Sign up
* Log in
* Report this content * Manage subscriptions* Collapse this bar
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0