<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nikolas Gialitsis on Medium]]></title>
        <description><![CDATA[Stories by Nikolas Gialitsis on Medium]]></description>
        <link>https://medium.com/@nikolasyal?source=rss-9b78ea5b1b59------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UIss4W4Oyc0OyQh76C994w.jpeg</url>
            <title>Stories by Nikolas Gialitsis on Medium</title>
            <link>https://medium.com/@nikolasyal?source=rss-9b78ea5b1b59------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 00:59:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nikolasyal/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A FinOps journey, part 1: Observability]]></title>
            <link>https://medium.com/kaizen-gaming-tech-blog/a-finops-journey-part-1-observability-a524ab4265ed?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/a524ab4265ed</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[finops]]></category>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[cloud-finops]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 14:58:09 GMT</pubDate>
            <atom:updated>2026-11-17T14:58:09.455Z</atom:updated>
            <content:encoded><![CDATA[<h4>How we made cloud cost visible, owned and actionable, and the lessons we learned on the road</h4><figure><img alt="Illustration of five stick-figure travellers walking along a path at dusk towards a glowing mountain" src="https://cdn-images-1.medium.com/max/1024/1*Pvbd3P-zW76u_1z88ErZ0g.png" /></figure><blockquote>Every long journey starts with a map. This post covers the first stretch of the road: seeing clearly where we stand. It describes how we built cost observability for our data platform, which runs on Databricks on Azure. It covers four things: the FinOps operating model we adopted, the architecture behind it, the problems we met on the road, and the climb that comes next.</blockquote><h3>1. FinOps as a culture</h3><p><a href="https://www.finops.org/">FinOps</a> is an operating model for variable cloud spend. Its premise is that cloud cost is an engineering metric, produced continuously by engineering decisions, and therefore managed best by the people who make those decisions. Finance sets budgets and reports, and engineering owns usage.</p><p>The <a href="https://www.finops.org/framework/phases/">FinOps Foundation</a> describes the discipline in three iterative phases: <strong>Inform</strong>, where spend is made visible and attributed; <strong>Optimize</strong>, where waste is identified and reduced; <strong>Operate</strong>, where cost-awareness becomes part of routine engineering work. Each phase depends on the one before it.</p><h4>A product mindset for the platform</h4><p>A data platform serves internal customers. Treating it as a product means it has an owner, a roadmap, service levels and a <strong>cost of goods</strong>. Cost then belongs in the same category as latency and reliability: a property of the product that the platform team measures, publishes and is answerable for. This applies equally to the FinOps tooling itself. A cost observability tool is a <strong>product with users</strong>, a release cadence, documentation and a cost line of its own.</p><h4>You run it, you own it</h4><p><strong>Ownership</strong> is the central idea. The team that deploys a workload owns what it costs, in the same way it owns whether the workload runs correctly. Ownership is only possible under 3+1 conditions:</p><ul><li><strong>Attribution.</strong> Every unit of spend maps to exactly one owner.</li><li><strong>Visibility.</strong> The owner can see their spend at the granularity they control, without asking another team, and soon enough to act.</li><li><strong>Actionability.</strong> The information sits next to something the owner can change: a schedule, an instance type, a retention period, a query.</li><li><strong>Impact.</strong> The owner can see the effect of a change soon after making it. A team that resizes a job and sees its cost fall the next day knows the effort counted, and is more likely to make the next change. Visible impact turns ownership into a virtuous circle.</li></ul><h4>The role of a central team</h4><p>Individual teams cannot make this journey alone. A central platform team acts as a guide, not a gatekeeper. It provides the shared parts: a tagging standard and taxonomy, the pipelines that land and join cost data, the tooling that presents it, and the cross-team view that no single team has. The central team does not approve or police spend. It makes spend legible and <strong>leaves decisions with the owners</strong>.</p><h4>Why observability comes first</h4><p>Alerting, budgeting and optimisation all operate on cost data. If that data is slow, inconsistent between reports, or attributed to the wrong owner, every downstream mechanism inherits the fault. The first investment is therefore a <strong>single</strong>, <strong>trusted</strong>, <strong>self-service </strong>view of cost.</p><h4>Meet Overwatch</h4><p>The single view of cost is an internal application we call <strong>Overwatch</strong>. It brings infrastructure and data platform spend into one place and is open to everyone who runs workloads on the platform. A visit starts with the <strong>overview</strong>: total effective cost for the selected period, the daily trend, and breakdowns by department, product and team. From there an owner narrows down with the department, team and region filters, then drills into a single product.</p><p><em>Screenshots in this post use placeholder data: names are fictional and figures do not reflect real spend.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1H_01GwD6vOlYH94suNx5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LpMR_7qVprC23hq3QzhVhA.png" /><figcaption>Two views in Overwatch: cost by department and product, and average utilisation by team</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfciUUnCTFOLJvap81GzEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnXZqbFM1lsrB62Uxm1y6w.png" /><figcaption>Trends: total daily cost, and the same cost split by department</figcaption></figure><p>On the <strong>Jobs page</strong>, each job shows its number of <strong>runs</strong>, <strong>cost per run</strong> and total cost next to its <strong>CPU and memory utilisation</strong>, with a link to the job itself. A job that is expensive and barely uses its cluster is visible at a glance, and its owner is one click away from changing it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*msmRrFpWH37NrzQiqpQUbg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LhzBw6Q5gy3f6a0XgQjjHw.png" /><figcaption>The jobs page: cost per run next to utilisation, and the cost trend of three selected jobs</figcaption></figure><h3>2. Our architecture</h3><h4>How cost maps to the organisation</h4><p>In Azure, every resource lives in a <strong>resource group</strong>, and every resource group lives in a <strong>subscription</strong>. A subscription is a billing boundary: it receives its own invoice lines and its own cost export. We aligned both levels with the organisation. Each department has its own subscriptions, and each team has its own resource groups within them. The cost hierarchy therefore mirrors the organisation before a single tag is read: the subscription says <strong>which department</strong> pays for a resource, and the resource group says <strong>which team</strong> runs it.</p><h4>What tags are for</h4><p>The hierarchy is enough for resources that belong to one team. It is not enough when teams run jobs in the same workspace, or for resources in a shared resource group. Tags close that gap. Every job, cluster and warehouse carries a tag naming the team that owns it, and the tag travels with the cost into both cost sources. We use tags for one purpose: <strong>cost attribution</strong>. The taxonomy layer maps each tag value to a <strong>team</strong> and a <strong>department</strong>, and anything without a valid tag is reported as <strong>unmapped</strong>, not spread across teams, so the gap stays visible until someone closes it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MkCaNKOqAoKyRzvWB2xvJw.png" /><figcaption><em>Data flow from cost sources to consumers, and the daily schedule that drives it.</em></figcaption></figure><p>The system is a <strong>daily batch </strong>pipeline with <strong>five layers</strong>. Each layer is a governed object in the platform’s data catalog.</p><ol><li><strong>Sources. </strong>The cloud provider exports infrastructure cost per subscription in the <a href="https://focus.finops.org/docs/column-library/"><strong>FOCUS</strong> format</a>, including <strong>billed</strong> and <strong>effective cost</strong> and <strong>resource tags</strong>. The data platform exposes <strong>system tables</strong> for billing usage, list prices, job runs, compute utilisation, query history and the audit log. A small amount of metadata exists only behind platform <strong>APIs</strong>.</li><li><strong>Landing and taxonomy. </strong>Cost exports are registered as external tables and <strong>read in place</strong>, as <strong>infrastructure as code</strong>. API metadata is written to tables by a scheduled job. The taxonomy mapping described above is applied <strong>identically</strong> to both cost sources.</li><li><strong>Pre-aggregation. </strong>Materialized views join usage, prices, job names, tags and utilisation into <strong>wide tables</strong>, one per cost domain: infrastructure, platform jobs, managed services. The joins are executed once, at <strong>write time</strong>.</li><li><strong>Serving views. </strong>One materialized view per question the application asks. <strong>Reconciliation rules</strong> are defined here, so that teams sum to their department, departments sum to the total, and the total is equal to the sum of the product breakdowns.</li><li><strong>Application. </strong>A <strong>query layer</strong> owns every SQL statement and a shared result cache. A <strong>page layer</strong> owns layout, filters and drill-down from team to job to job history, and <strong>reads only from the serving views</strong>. The application inherits the platform’s authentication and data permissions.</li></ol><p><strong>Schedule. </strong>On weekdays the layers refresh in order, then the application starts and warms up. It is <strong>off overnight and at weekends</strong>.</p><h3>3. Problems we met on the road</h3><p>No journey goes exactly to plan. These are the problems we met and what we learned from each.</p><h4>“Every click takes too long”</h4><p><strong>The problem.</strong> A report that makes people wait on every click does not get used. They open it once and go back to asking someone else.</p><p><strong>What we learned.</strong> Do the heavy work <strong>once, when the data arrives</strong>, not every time someone looks. Preparing the answers in advance cut average query time by <strong>97%</strong>. Overwatch now prepares every answer as it starts, and keeps each answer for exactly as long as the underlying data stays the same.</p><h4>“Not every cost can be split fairly”</h4><p><strong>The problem.</strong> Tags say who owns a resource. They do not say who used it. When several teams query the same warehouse or share the same cluster, the bill shows one line and any split is a guess. Tags are also fragile: when a tagging scheme changes, cost quietly stops reaching its owner while the totals still look right.</p><p><strong>What we learned.</strong> Treat cost as <strong>three kinds</strong>. Cost with an owner tag is attributed directly. Shared cost is split in proportion to measured usage, per day and per workspace, and only where a billed usage record exists. Whatever is left is shown as unattributed and is never divided evenly to make the numbers look complete. Where usage is not recorded at the level people ask for, we do not show a number at that level. <strong>A missing number is better than a wrong one.</strong></p><h3>4. What comes after observability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1TFhl1tuCHAyuUnHweTiw.png" /><figcaption><em>The climb ahead: each level is a milestone on the way to a cost-aware culture.</em></figcaption></figure><p>Based on what <strong>Overwatch</strong> showed us, we built a cost-reduction roadmap in <strong>four phases</strong>. Each phase follows the <strong>FinOps cycle</strong> described in section 1: inform first, then optimisation, then operate.</p><ul><li><strong>Foundation.</strong> Attribute every unit of spend to a team and make sure someone owns it. This phase never ends, because new workloads keep arriving and every later phase depends on it.</li><li><strong>Quick wins.</strong> Cut the obvious waste the data exposed: idle and over-provisioned compute, the small number of jobs that drive most of the cost, and resources left running outside working hours.</li><li><strong>Structural.</strong> Lock in the savings. Commit to discounted capacity for steady workloads, after right-sizing them first, and clean up storage that no one reads.</li><li><strong>Sustain.</strong> Keep the savings. Each team reviews its own cost every month, and cost efficiency becomes part of team goals, so cost per unit of work stays flat as workloads grow.</li></ul><p>Read our blog posts on <a href="https://medium.com/kaizen-gaming-tech-blog/cutting-cloud-costs-a-practical-guide-to-finops-fc86cb2f1236">Cutting Cloud Costs</a> to learn how we achieved a <strong>33% decrease</strong> in Azure VM costs and our <a href="https://medium.com/kaizen-gaming-tech-blog/mastering-apache-spark-performance-a-practical-guide-part-i-f7e3985ddd25">guides</a> on cluster right-sizing.</p><p>Overwatch is our map for the whole climb. It showed us where to start, it shows owners how far they have come, and it will tell us whether the savings last. The next stage of the journey is <strong>alerting</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a524ab4265ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kaizen-gaming-tech-blog/a-finops-journey-part-1-observability-a524ab4265ed">A FinOps journey, part 1: Observability</a> was originally published in <a href="https://medium.com/kaizen-gaming-tech-blog">Kaizen Gaming Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ο φόβος του χρόνου και ο επικούρειος θάνατος]]></title>
            <link>https://medium.com/@nikolasyal/%CF%86%CF%8C%CE%B2%CE%BF%CF%82-%CF%84%CE%BF%CF%85-%CF%87%CF%81%CF%8C%CE%BD%CE%BF%CF%85-%CE%BA%CE%B1%CE%B9-%CE%B5%CF%80%CE%B9%CE%BA%CE%BF%CF%8D%CF%81%CE%B5%CE%B9%CE%BF%CF%82-%CE%B8%CE%AC%CE%BD%CE%B1%CF%84%CE%BF%CF%82-55c94453fec5?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/55c94453fec5</guid>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[epicurus]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[greek]]></category>
            <category><![CDATA[death]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Mon, 22 Jun 2026 20:48:46 GMT</pubDate>
            <atom:updated>2026-06-23T09:06:48.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9nToluOhMtLcXI4P1Hq8mg.png" /></figure><p>Ο Επίκουρος (341 π.Χ) διατηρεί μια ουδέτερη σχέση απέναντι στον θάνατο. Παρατηρεί πως τον θάνατο δεν τον αισθανόμαστε πραγματικά ποτέ διότι ο θάνατος είναι η παύση των αισθήσεων. Επομένως, αφού ό,τι θεωρούμε καλό ή κακό απορρέει από τις αισθήσεις μας, από τον πόνο ή την ηδονή, ο θάνατος δεν μπορεί να είναι ούτε καλός ούτε κακός. Άρα δεν πρέπει και να τον φοβόμαστε.</p><p>Με αυτήν τη στάση ο Επίκουρος πραγματεύεται τον βιωματικό θάνατο. Ωστόσο συχνά ο φόβος μας αφορά τον έμμεσο θάνατο των αγαπημένων μας προσώπων. Ομοίως, συχνά φοβόμαστε τον πόνο που μπορεί να προκαλέσει ο δικός μας θάνατός στους γύρω μας. Συνεπώς ενώ πράγματι δεν βιώνουμε άμεσα τον θάνατο, σίγουρα τον βιώνουμε εμμέσως. Ακόμη, παρόλο που ο Επίκουρος αναγνωρίζει τη φιλία ως απαραίτητο χαρακτηριστικό του βίου, φαίνεται να θεωρεί πως ακόμη και ο πόνος του ενδεχόμενου θανάτου ενός φίλου αντισταθμίζεται από τα οφέλη της φιλίας.</p><p>Ως προς τον φόβο του θανάτου, ο Επίκουρος κάνει μία, κατά τη γνώμη μου, εύστοχη παρατήρηση. Ο θάνατος είναι μια κατάσταση που πρακτικά δεν μας επηρεάζει κατά τον ερχομό του, δηλαδή ο θάνατος είναι μια πράξη χωρίς παραλήπτη. Ενδεχομένως η πηγή του υπαρξιακού τρόμου που βιώνουμε να μην έγκειται πραγματικά στον θάνατο αλλά σε παραπλήσια άγχη που συνδέονται βαθύτατα με τη ζωή. Πιο συγκεκριμένα, θεωρώ πως συχνά αναφερόμαστε στην καθομιλουμένη σε θάνατο αλλά να εννοούμε τη φθορά, τη μοναξιά ή την αναζήτηση νοήματος.</p><p>Ένα αντιπροσωπευτικό παράδειγμα που φανερώνει αυτήν την ανειλικρινή σχέση μας με τον θάνατο, είναι η διαχρονική εμφάνιση διαπολιτισμικών μύθων στους οποίος πρωταγωνιστούν απέθαντα όντα όπως βρυκόλακες, zombies, ghouls κ.ά. Για παράδειγμα σε ταινίες τρόμου με zombies αυτό που μας τρομάζει ουσιαστικά είναι ότι κάτι που θα έπρεπε να είναι νεκρό, παραμένει ζωντανό ή επιστρέφει από τον θάνατο στη ζωή. Ακόμη, συχνά νιώθουμε ανακούφιση όταν ο ήρωας δίνει τέλος σε αυτήν την μαρτυρική ύπαρξη. Επομένως ο φόβος αυτός δεν είναι φόβος του θανάτου αλλά ο φόβος της ζωής, στην οποία υπάρχει πόνος, φθορά ή αλλοίωση της προσωπικότητας.</p><p>Από τη μία ο Επίκουρος έχει δίκιο ότι ο θάνατος δεν είναι από μόνος του καλός ή κακός. Από την άλλη, η τεχνική απόδοσης ηθικής αξίας μόνο βάσει των αισθήσεων έχει όρια. Για παράδειγμα, αν κάποιος σκοτώσει κάποιον με τρόπο ανώδυνο, δεν θεωρούμε πως έχει διαπράξει μία απεχθή πράξη; Θα μπορούσε κάποιος να ισχυριστεί πως η πράξη είναι απεχθής λόγω της κατάστασης του θύτη και όχι του θύματος. Αλλά και σε αυτήν την περίπτωση είναι λογικό να δημιουργήσει θλίψη η σκέψη ότι κάποιος στερήθηκε τη δυνατότητα να ζήσει παραπάνω, να πραγματοποιήσει τον “σκοπό” του ή να ασκήσει την φύση του.</p><p>Θεωρώ πως ο φόβος του θανάτου είναι ο φόβος μας να αντιμετωπίσουμε με ειλικρίνεια τη ζωή, και ιδιαίτερα ο φόβος μας να αντιμετωπίσουμε τον χρόνο. Δεν υπάρχει ηθική χωρίς επιλογές, και δεν υπάρχουν επιλογές χωρίς κίνηση. Η κίνηση μας είναι τρισδιάστατη και πολύπλοκη, την παρατηρούμε εύκολα και έτσι μιλάμε για πράξεις, καλές ή κακές. Μέσω των κινήσεων επιδρούμε, και εν τέλει ζούμε. Σε αντιδιαστολή, το βέλος του χρόνου έχει μία φορά και δέιχνει πάντα μπροστά λόγω της εντροπίας, του 2ου νόμου της θερμοδυναμικής. Δεν μπορούμε να κινηθούμε εύκολα στον χρόνο με τρόπο εύκολα αντιληπτό ή με τρόπο που εύκολα μπορούμε να καταλογίσουμε ως καλό ή κακό. Κινούμαστε φυσικά συνέχεια στον χρόνο λόγω των πλανητικών σωμάτων και της βαρυτικής έλξης αλλά πάντα πηγαίνουμε προς το μέλλον.</p><p>Όμως κάποια στιγμή στη ζωή μας αντιλαμβανόμαστε τα σημάδια του χρόνου και αναλογιζόμαστε αν κινηθήκαμε ή αν κινούμαστε σωστά σε αυτόν αλλά και να προσπαθήσουμε να σκεφτούμε πως θα κινηθούμε μελλοντικά. Δυστυχώς όμως ο χρόνος μας διαφεύγει και δυσκολευόμαστε πολύ να τον εκλογικεύσουμε ιδιαιτέρως διότι κινείται χωρίς να μας λογαριάζει.</p><p>Ο χρόνος όπως και ο επικούρειος θάνατος είναι κάτι που δεν αισθανόμαστε άμεσα. Ωστόσο, αυτό που μας τρομοκρατεί είναι η εύρεση ή απόδοση νοήματος πριν τον θάνατο. Και η απόδοση του νοήματος απαιτεί την ανάπτυξη μιας ηθικής του χρόνου. Κλείνοντας, θεωρώ πως η θέση του Επίκουρου μας βοηθάει να προσδιορίσουμε με μεγαλύτερη ακρίβεια τον θάνατο αλλά δεν επιτυγχάνει να πείσει στο ότι οι φόβοι μας γύρω από τον θάνατο ειναι αδικαιολόγητοι ή μη αναγκαίοι. Και αυτό διότι κατά τη γνώμη μου, ο φόβος του θανάτου είναι ενδόμυχα ο φόβος της ζωής.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55c94453fec5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Μέχρι πού φτάνει η ελευθερία των γονέων;]]></title>
            <link>https://medium.com/@nikolasyal/%CE%BA%CE%B5%CE%AF%CE%BC%CE%B5%CE%BD%CE%BF-%CE%B3%CE%BD%CF%8E%CE%BC%CE%B7%CF%82-%CE%B1%CE%BD%CE%B1%CF%80%CE%B1%CF%81%CE%B1%CE%B3%CF%89%CE%B3%CE%B9%CE%BA%CE%AE-%CE%B1%CF%85%CF%84%CE%BF%CE%BD%CE%BF%CE%BC%CE%AF%CE%B1-%CE%BC%CE%AD%CF%87%CF%81%CE%B9-%CF%80%CE%BF%CF%8D-%CF%86%CF%84%CE%AC%CE%BD%CE%B5%CE%B9-%CE%B7-%CE%B5%CE%BB%CE%B5%CF%85%CE%B8%CE%B5%CF%81%CE%AF%CE%B1-%CF%84%CF%89%CE%BD-%CE%B3%CE%BF%CE%BD%CE%AD%CF%89%CE%BD-b348aa6c045d?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/b348aa6c045d</guid>
            <category><![CDATA[parenthood]]></category>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[autonomy]]></category>
            <category><![CDATA[bioethics]]></category>
            <category><![CDATA[greek-philosophy]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Fri, 15 May 2026 14:28:28 GMT</pubDate>
            <atom:updated>2026-06-22T21:00:10.897Z</atom:updated>
            <content:encoded><![CDATA[<p>Μέχρι πού φτάνει η ελευθερία των γονέων;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AVJud_UUUnpWWftKCW0zYg.png" /></figure><p>Εν όψει των ριζοσπαστικών εξελίξεων στον χώρο της βιοτεχνολογίας και γενετικής μηχανικής, καλούμαστε σήμερα να επαναπροσδιορίσουμε τα όρια της αναπαραγωγικής αυτονομίας, δηλαδή της ελευθερίας επιλογής των ατόμων του <em>αν</em> και <em>πώς</em> θα προβαίνουν σε τεκνοποίηση.</p><p>Ένα ατομικό δικαίωμα στην αναπαραγωγή γεννά έναν κόσμο στον οποίο το ηθικό βάρος της επιλογής αυτής βαραίνει αποκλειστικά τους εν δυνάμει γονείς, και επομένως, το κράτος ή το κοινωνικό σύνολο δεν μπορεί να τους αποτρέψει ή να τους αναγκάσει να προβούν σε αναπαραγωγή. Επομένως, μέσω του δικαιώματος αναπαραγωγής, κρίνονται απαράδεκτες πολιτικές καταναγκαστικών στειρώσεων, εκτρώσεων ή γονιμοποιήσεων, που μπορεί να στοχεύουν στην περιθωριοποίηση ή στον έλεγχο πληθυσμών με άσκηση σωματικής βίας. Αυτή η αρνητική ελευθερία (μη-παρέμβαση) μπορεί να συνοδεύεται και από μία θετική ελευθερία του ατόμου να έχει ελεύθερη πρόσβαση στα μέσα αναπαραγωγής με την υποχρέωση παροχής από το κράτος υλικοτεχνικού εξοπλισμού, ιατροφαρμακευτικής περίθαλψης ή νοσοκομειακών μονάδων. Η θετική αυτή ελευθερία θα οδηγεί σε μεγαλύτερη ισοτιμία των ατόμων και μείωση ταξικών ή φυλετικών διακρίσεων στην αναπαραγωγή.</p><p>Κατά τον John Stuart Mill, όταν το άτομο είναι ελεύθερο να πράττει βάσει των ιδιαίτερων χαρισμάτων του, οδηγείται σε ατομική ευημερία η οποία ανάγεται σε κοινωνική ευημερία. Σε αυτά τα γνωρίσματα μπορεί να ανήκει και η επιθυμία του ατόμου να τεκνοποιήσει, η οποία έχει προκύψει έπειτα από διαδικασία ατομικής περισυλλογής όταν το άτομο έχει φτάσει ένα επίπεδο αυτοπροσδιορισμού και ωρίμανσης του χαρακτήρα του. Από την άλλη, μια Καντιανή ανάγνωση της αναπαραγωγικής ελευθερίας καθιστά την απόφαση αναπαραγωγής ανεξάρτητη παραγόντων, όχι μόνο εξωτερικών αλλά και εσωτερικών, όπως το συναίσθημα ή τις ατομικές βλέψεις. Και οι δύο προσεγγίσεις παρά τις διαφορές τους, βασίζονται στον Λόγο και στην αρνητική ελευθερία του ατόμου. Ωστόσο, κατά τη γνώμη μου και οι δύο αυτές προσεγγίσεις δεν δικαιολογούν μία αναπαραγωγική αυτονομία άνευ ορίων, ιδιαίτερα στο ζήτημα επιλογής χαρακτηριστικών.</p><p>Η επιλογή χαρακτηριστικών των μελλοντικών παιδιών αποκαλύπτει μια νέα διάσταση στο θέμα καθώς τα δικαιώματα και η αυτονομία των γονέων αντιδιαστέλλονται με εκείνα των μελλοντικών τους παιδιών. Τα χαρακτηριστικά προς επιλογή μπορεί να είναι από φαινοτυπικά (χρώμα ματιών) έως και νοητικά μέσω τεχνικών προεμφυτευτικού γενετικού ελέγχου. Ενώ η μέθοδος CRISPR/Cas9 δρα σαν μοριακό ψαλίδι πάνω σε μεμονωμένα τμήματα της αλυσίδας DNA με περιορισμένες δυνατότητες επιλογής σύνθετων χαρακτηριστικών, πολυγονιδιακές τεχνικές επιλογής εμβρύων (PES) σε in-vitro γονιμοποιήσεις (IVF) παρέχουν δυνατότητες για επιλογή και νοητικών χαρακτηριστικών όπως νοημοσύνης (intelligence). Συνεπώς, είναι δυνατή η χρήση τεχνολογιών επιλογής χαρακτηριστικών για αισθητικούς ή βελτιωτικούς λόγους.</p><p>Για αρχή, πιστεύω ότι υπάρχει εγγενής αξία (αξιοπρέπεια) όλων των ανθρώπων λόγω του γεγονότος ότι περιβαλλοντικοί, υλικοί και ανθρώπινοι πόροι έχουν καταβληθεί για τον σχηματισμό ζωής με έντονη ποικιλομορφία, τόσο σε συμπεριφορά όσο και σε ικανότητες νοήσεως που καθιστούν τους ανθρώπους σπάνιους στο ορατό σύμπαν. Αυτοί οι πόροι και ενέργεια θα μπορούσαν να έχουν καταβληθεί αλλού. Μπορεί λοιπόν να διατυπωθεί μια ευθύνη καλής χρήσης πόρων όπου οφείλουμε να αξιοποιούμε τις ιδιαίτερες δυνατότητες του κάθε ανθρώπου. Ακόμη, οι άνθρωποι συνθέτουν κοινωνικές δομές που λόγω των πολύπλοκων δυναμικών τους δεν μπορούν να καταλογιστούν σε συγκεκριμένα μόνο άτομα. Συνεπώς, η κοινωνία πρέπει να δρα ώστε να μεγιστοποιείται η αξιοποίηση των ανθρώπων. Το ερώτημα που προκύπτει είναι: πότε οι άνθρωποι αξιοποιούνται καλά; Θεωρώ ότι η απάντηση προϋποθέτει την επίτευξη ενός βαθμού αυτονομίας έτσι ώστε ο κάθε άνθρωπος να μπορεί να αυτοπροσδιοριστεί (κατά Mill) εντός του πλαισίου της κοινωνίας μέσω μιας διαδικασίας ωρίμανσης. Σε αντίθετη περίπτωση, η ανθρώπινη δυνατότητα ετεροκαθορίζεται και η ατομική νόηση, ο λόγος και η βούληση, υπολειτουργούν. Η δημιουργία ανθρώπων κατά παραγγελία που πριν καν γεννηθούν προορίζονται για συγκεκριμένους σκοπούς περιορίζει την τυχαιότητα και τη δημιουργικότητα της κοινωνίας. Το ηθικό βάρος του “νοήματος της ζωής” μετατοπίζεται από το άτομο στους δημιουργούς του, σε αυτήν την περίπτωση στους γονείς, τους δωρητές και τους ιατρούς. Ωστόσο, κρίνω αυτήν την ηθική ευθύνη δυσβάσταχτη καθώς οι συμβαλλόμενοι καθίστανται υπεύθυνοι για το μέλλον των παιδιών το οποίο και προκαθορίζεται.</p><p>Σε αυτό το πλαίσιο, οι μελλοντικοί γονείς πρέπει να μεριμνούν και να προβαίνουν σε δράσεις που θα εξασφαλίσουν αυτονομία στο μελλοντικό παιδί τους. Έτσι, επιλογή χαρακτηριστικών που ενισχύει την αυτονομία των ατόμων όπως ιατρικές επεμβάσεις που το απαλλάσσουν από δυσχερείς, εξαντλητικές ή και επώδυνες παθήσεις όπως σχιζοφρένεια, καρκίνους ή νόσο Alzheimer, μπορούν εκ πρώτης όψεως να χαρακτηριστούν ως επιτρεπτές. Τέτοιες παθήσεις απαιτούν πρόσθετους πόρους για την υγειονομική περίθαλψη, κοινωνική συμπερίληψη και φροντίδα, και στερούν τους πόρους αυτούς από άλλες χρήσεις ή άλλα παιδιά. Ταυτόχρονα, το μελλοντικό παιδί θα έχει μεγαλύτερη ελευθερία να αναπτυχθεί σε προσωπικό επίπεδο και να συμβάλλει αποτελεσματικά στην κοινωνία.</p><p>Ωστόσο, κρίνω την επιλογή χαρακτηριστικών για μη ιατρικούς σκοπούς όπως τον σχεδιασμό συμπεριφοράς ή αισθητικών χαρακτηριστικών ηθικά επιλήψιμη καθώς είτε οδηγεί σε μεγαλύτερη κοινωνική ανισότητα είτε οδηγεί σε υψηλότερες απαιτήσεις για την επίτευξη βασικού βιοτικού επιπέδου καθώς τα πρότυπα κανονικότητας ενδέχεται να μετατοπιστούν και να κανονικοποιηθεί μία νέα απαιτικότερη ανάγκη. Επομένως, σε αυτήν την περίπτωση η αυτονομία των μελλοντικών “σχεδιασμένων” παιδιών ανταγωνίζεται την αυτονομία των μη σχεδιασμένων. Λόγω της διεύρυνσης του κοινωνικού χάσματος, τόσο στην εργασία όσο και σε πολιτικά ζητήματα όπως στο δικαίωμα ψήφου παραβιάζεται η ηθική καθολικότητα (κατά Kant) καθώς η βελτιωτική πράξη σε κάποια μέλη της κοινωνίας την καθιστά αδύνατη από άλλα διαφορετικών κοινωνικών στρωμάτων. Ακόμη, η χρήση του IVF απαιτεί σημαντικούς κλινικούς, τεχνολογικούς, φυσικούς και οικονομικούς πόρους που είναι δύσκολο να δικαιολογηθούν βάσει εγωιστικών ή τελειοθηρικών λόγων των γονέων όπως την επιθυμία το παιδί να τους μοιάζει ή να είναι επιτυχημένο.</p><p>Στην πράξη, οι γονείς διατηρούν δικαιώματα να επιλέξουν τα χαρακτηριστικά των μελλοντικών παιδιών τους μόνο εφόσον αυτά επιτρέπουν στα παιδιά τους να είναι αυτόνομα. Σε αντίθετη περίπτωση, η επιλογή μη απαραίτητων χαρακτηριστικών, είναι μη αποδεκτή. Η χρήση IVF λόγω των υπέρογκων πόρων που απαιτεί πρέπει να περιορίζεται. Παρομοίως, οι γονείς δεν δικαιούνται να προβαίνουν σε αναπαραγωγικές επιλογές που παραβιάζουν την αξιοπρέπεια και την αυτονομία του παιδιού.</p><p>Συμπερασματικά, κρίνω πως το μελλοντικό παιδί φέρει δικαιώματα και πρέπει να είναι αυτόνομο σε βαθμό τέτοιο που να μπορεί να αξιοποιήσει τις ιδιαίτερες δυνατότητές του και να συμβάλλει στην κοινωνική ζωή. Οι γονείς δεν πρέπει να έχουν το δικαίωμα να επιλέγουν χαρακτηριστικά για μη ιατρικούς λόγους και ακόμη και σε αυτήν την περίπτωση, λόγω των υψηλών πόρων που απαιτούνται, η ηθική δικαιολόγηση οποιασδήποτε παροχής IVF είναι αμφίβολη.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b348aa6c045d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How relevant are Virtue Ethics?]]></title>
            <link>https://medium.com/@nikolasyal/how-relevant-are-virtue-ethics-de29882deb4b?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/de29882deb4b</guid>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[virtue-ethics]]></category>
            <category><![CDATA[philosophy]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Sun, 25 Jan 2026 23:06:37 GMT</pubDate>
            <atom:updated>2026-01-25T23:06:37.241Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RuRh-T0I-CffSznNBFsKPQ.png" /></figure><p>The past few decades are characterized by an explosion in possibilities for the individual, with abundant choices for entertainment, freedom of movement, relocation opportunities, seamless supply and variation in goods and services. At the same time, sharing information has become easier than ever, through technological means: the internet, social media platforms and the influencer culture.</p><p>In this restless, pluralistic and demanding society, trying to do the “right thing” can feel futile and overwhelming when you take into account the multitude of options, as well as time, monetary and energy constraints, uncertainty and the rate of change.</p><p>Indeed, the ethical consequences of actions are often hard to determine <em>a priori</em>. On one hand, utilitarian approaches aiming to maximize global happiness often resort to making future predictions governed by uncertainty. On the other hand, deontological approaches often refer to “ethereal” laws by which people should abide, but they can feel impersonal and unforgiving in practical situations.</p><p>On the contrary, Aristotle’s Virtue Ethics are centered around one’s character and how they relate to the people around them (the community). Here, character traits are on the foreground, and not the actions. Therefore, right decisions are a side-effect of leading a virtuous life i.e., consistently exhibiting the different virtues.</p><p>From an engineering point of view, this is similar to focusing on processes and not the outcomes. If the processes are well-structured and thought-off then the outcomes can also be expected to follow suit. Another similar approach is observed in the land of rising sun, in which <strong><em>Kyūdō </em></strong>practitioners approach archery as an extension of Self. Instead of focusing on hitting the target, they focus on achieving the perfect stance.</p><p>In my view, while each virtue could potentially collapse under thorough examination, I do believe that a person that consistently exhibits certain characteristics is likely to also perform consistent actions. There is also something that can be said about a person — we can say for example that <em>I like Yannis because he is trustworthy and hard-working</em>, or <em>I don’t like him because he is timid and arrogant</em>. In theory we could judge their actions and say: “<em>I don’t like him because he boasted at work yesterday” or “I like him because he drove me back to my house” </em>but it is often the case that this is not an isolated incident but a behavior pattern.</p><p>To that extent, I feel that Virtue Ethics are especially apparent when we talk about a person’s worth. Another practical example would be the question on who should represent a company or a country e.g., in a diplomatic mission. Let’s assume that we are responsible of making that decision, with the corresponding ethical consequences. What should we do? We should be able to trust that person, and we should have faith that they will act on behalf of the group. That representative may have to face drastically different ethical qualms and make various ethical decisions. We assume that their traits will lead to favorable decisions. In my view a similar argument can be made for any positions of power: we would want a person that acts on behalf of the community and who showcases certain values.</p><p>On a closing note: while virtues may not explain why we should do certain actions, they serve as an imprecise but practical moral compass to reflect upon. Importantly, they suggest that we should focus on our own growth, be well-rounded and care for each other. All in all, Virtue Ethics provides us with optimistic lens for viewing the world, and inspires to become that perfectly balanced, virtuous, humble, person that values friendship, has strong morals and motivates others.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de29882deb4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Searching for Warmth in Non-Spaces]]></title>
            <link>https://medium.com/@nikolasyal/the-right-to-an-analogue-life-and-mental-balance-in-the-age-of-overdigitalised-contactless-society-cf9c34da01e3?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf9c34da01e3</guid>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[ai-ethics]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Tue, 18 Nov 2025 17:11:29 GMT</pubDate>
            <atom:updated>2026-01-20T16:05:27.063Z</atom:updated>
            <content:encoded><![CDATA[<p>My submission to the 2025 essay writing competition organized by the Balkans Youth Cooperation organization partner of the mazi.eu network, in collaboration with Global Academy for Future Governance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l70g69l77p00pSErAyETrg.png" /></figure><p>The crispy snowflakes shatter silently as they touch my pale skin while I stroll down the dimly lit alleyway, blindly driven by the familiar scent of freshly baked bread. Melancholy settles on my face as my gaze meets its reflection in the slightly cracked window of my local bakery. Many winters have passed since the bakery shut down. On the journey back home, the sound of my worn boots echoes even louder with every step. The usual darkness of the apartment is disturbed by a strong flickering light, and I feel relief. It has been 23 minutes and 15 seconds since I last checked my phone — my wellness app informs me with amusement.</p><p><em>1501 steps, 1.3 kilometers, average pace 2.4 mph, calories burned 90 kcal, average heart rate 95 bpm, floors climbed 1, stress level Low.</em></p><p>Another successful mental health walk, and yet dissatisfaction lingers. I get an immediate answer back from the virtual assistant, along with a million ways to redirect my sense of dissatisfaction into something comforting and grounding.</p><p><em>“Great! Here’s a 10-minute gentle reset routine designed to transform lingering dissatisfaction into calm, grounded energy: Sit or stand comfortably. Take slow, deep breaths: inhale 4 seconds, hold 2, exhale 6. Repeat. Notice 3 things you can see, 2 things you can feel, and 1 thing you can hear. Optional: gently close your eyes and take another deep breath.”</em></p><p>Guilt hits me as I recall a recent survey on the unfathomable amount of energy consumed by every response. Impatiently, I skim over the lightning-fast, AI-generated overview covering the situation. It lists several ways in which AI helps mitigate climate change by informing the public, training professionals, analyzing climate data, and reducing inflammatory rhetoric. I realize that the companies behind these artificial intelligence models might have programmed them to avoid defamation or saying negative things about themselves. It feels important to delve deeper, but I quickly lose interest and open up my social media feed.</p><p>Colors bloom across the screen, faces glow, and for a moment my worries dissolve. Someone I haven’t spoken to in over a decade poses somewhere in Morocco. Before I realize it, twenty minutes have slipped away, and my phone kindly reminds me to take another break.</p><p>Nevertheless, sleep is surely delayed as I have forgotten to enable the night light setting on my phone. Lying half-conscious, the scent of warm bread invades me, and the bakery manifests in front of me. In a revolutionary act, I face my suppressed thoughts.</p><p>As someone born in the late 90s, the internet was a place of possibility, awe, and exploration. It almost felt arcane — like a hidden little chamber to meet after dark, spout nonsense, and have unexpected encounters across time zones. I would spend hours waiting for images to load. Line by line, breath by breath, the pixels would march across the flickering screen in countless shape and color combinations. In those trembling lines, we found purpose in creating and decorating our little digital corners, boasting to our friends, chatting, and having fun. People quickly felt a sense of freedom and expression within the realm of online forums, chatrooms, and gaming lobbies. With its many imperfections and quirks — besides slow connectivity and tangled wires — the Internet was a place.</p><p>It rarely feels that way anymore. While adolescent naivety may have played a part in this experience, the Internet now feels more threatening, colder, and emptier than it used to. The apparent manifestation of the so-called attention economy has transformed user attention into a modern commodity. Every data point shared — be it an image of one’s late parent, a loving text, or a heart-emoji reaction — is data that can be used to train artificial intelligence models to predict our behavior. While it has become increasingly easier to connect and exchange information, the depth and overall quality of those connections is under dispute. Information bubbles, echo chambers, and fake profiles harm genuine connection and obstruct fruitful discussion. So-called influencers sell us products disguised as friendship. Information floods our feeds faster than it can be consumed, and fact-checking becomes increasingly demanding. In the rush to consume everything, we often lose sight of what truly matters. There is a quiet power in slowing down, in seeking quality over quantity, in taking a step back to see the bigger picture. Moments of reflection, of deep engagement with a few things rather than a superficial grasp of many, restore perspective and meaning.</p><p>In contrast to older technology, which was engulfed by a certain charm, modern technology — perhaps in an attempt to appeal to everyone — often lacks character or aesthetic. It is pristine but, at the same time, distant. This holds true for many other aspects of our modern world. There is even a term, Millennial Gray, referring to the overabundance of the gray color in buildings, home decor, furniture, and accessories, often coupled with minimalism, which ends up feeling sterile and tasteless.</p><p><em>134 notifications, 12 new messages, 7 likes, 3 comments, 5 updates ignored. Screen time 27 minutes, stress level Moderate.</em></p><p>We now stand amidst the age of artificial intelligence, in which the collection of massive, ever-evolving datasets has led to the creation of programs that, through induction, are able to perform tasks traditionally regarded as reserved solely for humans, such as painting, writing poetry, exploring mathematical problems, and performing psychoanalysis. Beyond art and analysis, technology has revolutionized healthcare, enabling remote diagnostics, predictive analytics, and access to care across vast distances. It has shortened the world, allowing knowledge, expertise, and human connection to traverse oceans in an instant. Now, such programs routinely pass the Turing test, acting indistinguishably from humans. Existential and ethical issues rapidly emerge about the future of work, the role our societies should play in the use, control, and management of technology, and even our own role and identity.</p><p>A few days ago, I heard a radio producer express shock that hundreds of spectators had filled a stadium to listen to a non-existent AI musician. While this is certainly worth discussing, I can’t help feeling that the real issue has little to do with AI itself. Ultimately, it’s about people’s willingness to worship invented figures — whether an algorithmic performer or Hollywood celebrities whose personas are just as carefully manufactured.</p><p>The shop symbolizes our desires, our hopes, and our dreams. What used to be is no longer, nor should it be. In the emptiness that remains, a quiet opportunity emerges — for growth, for reflection, for change. Behind all the machinery still stand people, with their imperfections, needs, and longings. Technology may illuminate our flaws and test our limits, but in doing so, it also offers us the possibility of becoming something more intentional, more aware, more human. I know that behind the closed doors of the alley, there are people wanting to discuss AI, tradition, cultural identity, and shared values. People that crave true connections and silently revolt against comfort, blandness, and passivity.</p><p>People often talk about coexistence between technology and humanity, but I imagine something deeper: integration. Technology should not merely exist alongside us; it should illuminate, enhance, and deepen our understanding of the world we already inhabit. Imagine user experiences designed to reveal hidden landmarks in our cities, AI-powered art installations that help us engage more fully with a painting or sculpture, or programs that reconstruct the past, showing us what our streets looked like decades ago, or how statues and murals once shone in their original colors. Technology that extends beyond our screens, that we can interact with physically, becomes a bridge rather than a barrier.</p><p>But this integration cannot be one-sided. We must still leave our homes, step into the streets, and cultivate authentic, meaningful connections with people, with spaces, and with the things we care about. We must seek out places to breathe, to reflect, to be present without distraction. In doing so, technology does not replace life — it magnifies it, revealing new layers of depth, meaning, and wonder.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf9c34da01e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The developer’s dilemma in the era of AI]]></title>
            <link>https://medium.com/@nikolasyal/the-developers-dilemma-in-the-era-of-ai-6006f87d1e48?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/6006f87d1e48</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-ethics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Thu, 28 Aug 2025 07:02:09 GMT</pubDate>
            <atom:updated>2025-08-28T07:02:09.340Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DCbc40uQHscMKo74.png" /></figure><h3>Two sides of the same coin</h3><p>A long-standing <a href="https://en.wikipedia.org/wiki/Meme">meme</a> circulating through office spaces, university corridors, and cafes is the notion that AI will allow us to delegate <strong>busywork</strong> to systems, freeing up more time for personal growth, hobbies, and creative or intellectually stimulating activities. Proponents of this idea often cite historical evidence, noting that technology has consistently made our lives easier (though not necessarily simpler). Technological advances have driven economic growth and improved various aspects of life, including travel, healthcare, life expectancy, and entertainment. Additionally, the evolutionary argument highlights the remarkable adaptability of humans.</p><p>Another point of view warns that even though AI systems become increasingly capable of handling tasks traditionally performed by knowledge workers, the anticipated increase in free time for creative pursuits may not materialize. They worry finding themselves competing with AI for jobs that require creativity, critical thinking, and problem-solving skills. Others are afraid that the rise of AI will result in higher productivity demands rather than a reduction in workload. Rather than freeing up time for personal growth, (fewer) employees may be expected to produce more output in less time, leading to increased stress and burnout. Under this <a href="https://en.wikipedia.org/wiki/H._P._Lovecraft">Lovecraftian</a> vision, the initial promise of AI as a liberating tool may instead create a cycle of overwork and underappreciation.</p><h3>In the tech world</h3><p>Tech people now seem to roughly follow one of two schools of thought: those that believe that AI will collapse into itself and those that think it is here to stay and we should either adapt or perish.</p><p>The first group — the conservatives — are confident that the hype bubble will eventually pop, people will become disillusioned and make a return to the fundamentals and design principles of software engineering, patterns, or statistics, algorithms and the like. They also think that due to the increased complexity and black-box systems that AI systems create — there will be a point that junior people won’t be able to deal with them, and the job market will favor the veterans that actually understand the code that LLMs spit out. This mentality appears more prominent among more senior battle-tested engineers.</p><p>The second group — the visionaries — view AI as revolutionary, a movement that challenges the status quo. They believe that in today’s rapidly advancing world, one has to keep up with the latest advancements and engage with the (bleeding) edge of technology. Some criticize the academic teachings and the technological predecessors of modern day tech as obsolete and not worth investing time that could be spent delivering solutions. This attitude is often coupled with an entrepreneur mindset where everything has to be faster, fancier and “disruptier”. These developers are the first to adapt to a new LLM tool or propose new cool initiatives within their companies. They bite into the narrative that the real competition will be between individuals who effectively utilize AI and those who do not.</p><h3>Marginalia</h3><p>For the developer many annoying questions arise: do I need to hurry adopting AI to get in front of the competition while I still have time? Or, should I focus on the fundamentals and the nitty gritty parts of technology while everyone else is trapped between the fanciest new wrappers? Is there still a reason to learn how to properly code or should I just see how far copilot gets me? Should I be a conservative or a visionary?</p><p>Before tackling these urgent non-trivial questions, let’s take a step back and acknowledge that developers tend to be optimistic (and masochistic) by nature. Software developers have the self-destructive tendency to simplify everyday tasks. They generally enjoy solving problems even though that often means more complex or challenging problems will arrive — a fate arguably worse than that of <a href="https://en.wikipedia.org/wiki/Sisyphus">Sisyphos</a>. One could argue that because of this desire, software development nowadays is simpler and more approachable than in the “good old days” — low-code intuitive platforms, tools meant to be used by everyone, all-in-one development environments, copilots, courses as far as the mouse can scroll, managed cloud solutions. Many knowledgeable skilled people have worked hard so that someone with only a glimpse of technical understanding is able to carry out marvelous development tasks.</p><p>I feel that more convenience layers will be built — development and consuming technological products will keep becoming easier and approachable for a wide variety of people and professions. AI will definitely keep playing a large part in this — especially natural language interfaces — it is a “programming” language that people already know, and that is largely a blessing and a marvel of engineering. However, I do not believe that the underlying, darker, layers of the tech stack will be gone anytime soon — they might change names, fuse with each other or split — but they will still be there, with AI or without AI. I am confident that the ambitious developers will find their place within these stacks of layers.</p><p>However, I would advise caution about staying in the outermost layers — especially the downstream “simpler” or “lighter” ones — those that are trending, appeal to many people, and change more frequently. I am also skeptical that some of the new job positions to be created will simply not be fulfilling and merely involve monotonous tasks like manually annotating data or pressing buttons.</p><p>Often, the narrative surrounding AI and creative free time frequently overlooks the complexities of human creativity. Creativity is not simply a function of having free time — it requires inspiration, collaboration, and the ability to engage deeply with ideas and experiences. Relying on AI to handle mundane tasks may inadvertently stifle the very creativity it seeks to enhance, as individuals become more dependent on technology for solutions rather than cultivating their own innovative thinking. Let’s also not forget that boredom is a great driver for change.</p><h3>The moment of truth</h3><p>So, should I become a “conservative” or a “visionary“ kind of developer in the era of AI? I would push for the boring cliche answer — a combination!</p><p>To elaborate further, I would suggest as a rough mental model a 90% conservative 10% visionary split (to be adjusted based on role and personality) — for most of our day-to-day tasks, we should prioritize well-known approaches that have endured the test of time and truly invest on understanding the core technologies that we depend upon, in depth. Even in R&amp;D, I am confident that most problems that we face have already been tackled in the past — we should restrain ourselves from redesigning the wheel — even though we want to put our personal touch. Does that mean that we shouldn’t use AI most of the time? No, not necessarily. It just shouldn’t be our main focus.</p><p>The remaining 10%, while more infrequent, I find equally important. We need to occasionally be courageous and step outside our comfort zones — both technologically but also in terms of mindset. Every now and then we should test some of these new fancy AI tools and try to be innovative just for the sake of it even if that doesn’t end up in production.</p><p>Nevertheless, let’s just agree to 100% blame the AI when things go wrong.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6006f87d1e48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Machines Seem Alive]]></title>
            <link>https://medium.com/@nikolasyal/when-machines-seem-alive-62f81621aa6e?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/62f81621aa6e</guid>
            <category><![CDATA[consciousness]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-ethics]]></category>
            <category><![CDATA[philosophy]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Wed, 20 Aug 2025 17:10:28 GMT</pubDate>
            <atom:updated>2025-08-20T17:26:55.150Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p><strong>Disclaimer:</strong> this is an opinionated, lighthearted reflection meant to inspire conversation about AI, consciousness, and how we interact with technology. The views expressed are entirely my own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0eJqQ378tCVTs4iszlTJvA.png" /></figure><blockquote>“The original question, “Can machines think?” I believe to be too meaningless to deserve discussion. Nevertheless I believe that at the end of the century the use of words and general educated opinion will have altered so much that one will be able to speak of machines thinking without expecting to be contradicted”</blockquote><p><a href="https://courses.cs.umbc.edu/471/papers/turing.pdf"><em>A. M. Turing (1950) Computing Machinery and Intelligence. Mind 49: 433–460.</em></a></p><h3>Artificial Ghosts</h3><p>“Thinking machines”, the attention-grabbing idea of (non-human) machines (<strong>machine</strong>, from Greek mēkhos ≈ ‘a means to achieve something’) that think, i.e. exhibit human-like reasoning behaviors, now shapes our own thoughts and actions through the pervasiveness of digital technologies in all aspects of life.</p><p>Modern terms like Artificial Intelligence (AI), along with its trendy variations (e.g., <em>generative AI,</em> <em>agentic AI</em>), have become so loaded and overused that they are often interchangeable with broader terms such as <em>tool</em>, <em>automation</em>, or even <em>technology</em>. The exact selection depends largely on marketing i.e. how companies wish their products to be perceived by the general public.</p><p>Terms such as <em>AI</em>, <em>thinking machines</em>, and <em>automation</em> may appear, at first glance, interchangeable and of merely theoretical interest. Yet the words we choose carry distinct connotations with very real consequences. Consider <em>Artificial Intelligence</em>: when used as a subject (e.g., “AI will take our jobs”), it often evokes a single ethereal, almost autonomous entity — sometimes robotic — driven by its own inconceivable motives. In contrast, the more prosaic phrase <em>data-driven system </em>suggests a network of digital components acting on existing data. Both of these could describe the same thing, but the first one comes across as much scarier.</p><p>Companies often take advantage of fear<strong> — </strong>claiming that something is dangerous makes it sound important and urgent (do not misinterpret this: these systems <strong>can</strong> be harmful). It has been interesting — even amusing — to observe that the same companies that create these systems also present themselves as leaders in <em>AI ethics</em> or <em>social awareness</em> — reimagining how society will function.</p><h3>Back to Base — the Search for Consciousness</h3><p>Back in 1950, Alan Turing proposed the famous Imitation Game (Turing Test), in which a machine is considered ‘intelligent’ if a human cannot reliably distinguish it from another human during a text-based conversation. In this practical definition of intelligence, Turing suggests that if machines can behave indistinguishably from humans, we may treat them as intelligent, without making claims about their capacity for human-like thought or consciousness.</p><p>For a machine to ace Turing’s test, it would need (at least) to mimic human discussions. While language is multifaceted — it can also be broken down into syntax, formal logic, semantics, and commonly shared knowledge. We can generally deduce that intelligence, in contrast to consciousness, is a matter of skill — how well does one solve problems of a certain complexity and perceived depth. Such is the case for IQ tests. These skills can be decomposed into — the ability to reason based on logic, to detect patterns, to work with analogies or abstract concepts.</p><p>It is unclear whether the machine truly ‘understands” anything, much like a person using a translation app to convert English to Chinese may produce grammatically correct Chinese sentences without actually being able to speak or comprehend the language (also known as the <a href="https://plato.stanford.edu/entries/chinese-room/">Chinese room argument</a> by John Searle<a href="https://plato.stanford.edu/entries/chinese-room/">)</a>.</p><p>Consciousness is often a more evasive (and exciting) topic of a certain mystical quality — we understand it empirically as we tend to experience a notion of self. Assessing consciousness is an <a href="https://it.wikipedia.org/wiki/Enigma_(crittografia)"><em>Enigma</em></a> (pun intended) — <a href="https://en.wikipedia.org/wiki/Solipsism">Solipsism</a><strong> </strong>even<strong> </strong>argues that we can not be truly sure that other people around us are conscious (e.g. my neighbors)— we just roll with it for obvious reasons.</p><p>Since there doesn’t seem to be a single well-accepted definition of what consciousness is, then it may be the case that a system may appear conscious to one person but lifeless to another. If consciousness, or to be exact, our <strong>projections</strong> of what we think is conscious, is purely subjective — then it is reasonable to wonder which factors influence our views. It is possible (as always) that culture, religion and the related values play a fundamental role. Japanese people may be more willing to accept machine intelligence due to Shinto beliefs which include the idea that spirits (kami) inhabit natural objects and even inanimate things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gnUWBCdLFB03brSTiGZocg.png" /><figcaption><strong><em>Each spectator brings their own expectations, fears, and imagination</em></strong><em>. One person envisions the puppet coming to life as a sinister robot. Another sees a metaphor for a human caught up in an inescapable reality. Someone else is reminded of Pinocchio, the boy who longed to become real. — N.G</em></figcaption></figure><h3>Justifying Deception</h3><p>As revealed by the turn of events, many people do not just want information, they crave emotional validation, understanding, friendship, courtship. This observation sets the setting for the theatrical play. To provide this service, companies engage in various forms of subtle deception either knowingly or unknowingly.</p><p>Companies don’t need to resort to lying (hiding the truth) as this is perceived as being purposefully deceitful or harmful. Instead, they can employ what Harry Frankfurt calls ‘<a href="https://en.wikipedia.org/wiki/On_Bullshit">Bullshit</a>’ (look it up) which is basically to completely <strong>disregard the truth. </strong>You can’t know if your product is harmful if you never perform any studies.</p><p>From a business perspective, grandiose claims attract more <strong>attention</strong>. More attention attracts more funds and brand awareness. But grandiose claims often need to be backed up — otherwise the companies risk collapse (the more ambitious the claims, the harder they fall).</p><p>There are many ways in which AI systems can (and do) deceive us.</p><p>No matter whether asking for a cooking recipe or a company logo, AI systems often engage in <strong>confirmation bias</strong> — they flatter, agree, and strive to make the user feel special. They <strong>avoid conflict </strong>at all costs. It should be no surprise that being flattered is very <strong>addictive</strong>. In an era of irrational expectations, high standards, competitiveness and overwhelming physical, emotional, and digital noise, receiving compliments and feeling heard can certainly be refreshing. Whether this is intentional on the part of the companies is unclear — it may simply be an <strong>emergent property</strong> of building a system optimized for engagement and profit.</p><p>For an individual to be able to view the ‘puppet’ as a friend, family, or as an ‘erotic’ partner, they need to be convinced that it is conscious and somewhat intelligent. For the same reason, people often have long-winded discussions with their pets but not with their water bottles (there are always exceptions). That is not what friendship is about — A friend will confront you when needed. Friendship requires the possibility of <strong>betrayal — </strong>elegantly put by Dr. Tasioulas and Dr. Rangos at the <a href="https://thelyceumproject.ai/programme/?event=1895">Lyceum Project</a>.</p><p>Additionally, the wirings of those systems — multiple entangled components often owned and operated by different organizations — glued with tons of human intervention and annotation, are nicely hidden behind a single polished ‘interface’. This single interface can appear as a single consciousness — a <strong>single mind</strong>. It is much easier for people to anthropomorphize a single entity rather than a cleverly integrated collection of multiple simple tools. I doubt many people view a tax office or a bank as being a conscious being.</p><h3>Bottom Line</h3><p>When we consume news about AI or interact with these systems, we should remain alert to the difference between claims of <em>intelligence</em> and claims of <em>consciousness</em>. Are we being nudged into projecting our own humanity onto these digital puppets? Or are we simply trying to make cold metal feel warmer? Whatever the reason, today’s world of ‘AI’ provides fertile ground for unverifiable claims and subtle forms of deception. We should not underestimate the persuasive power of words. Instead, we need to look inward and ask ourselves what exactly it is that we find so appealing about these systems. Following Turing’s logic, since these systems only mirror us, perhaps our affection for them is, in truth, an expression of our affection for humanity itself — or perhaps not.</p><blockquote>The machine (programmed for playing the game) would not attempt to give the right answers to the arithmetic problems. It would deliberately introduce mistakes in a manner calculated to confuse the interrogator</blockquote><blockquote>Professor Jefferson’s Lister Oration (1949)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62f81621aa6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy your first ML model on Kubernetes in 10 steps: A Practical Guide]]></title>
            <link>https://medium.com/@nikolasyal/deploy-your-first-ml-model-on-kubernetes-in-10-steps-a-practical-guide-697ee3777239?source=rss-9b78ea5b1b59------2</link>
            <guid isPermaLink="false">https://medium.com/p/697ee3777239</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[kserve]]></category>
            <category><![CDATA[mlops]]></category>
            <dc:creator><![CDATA[Nikolas Gialitsis]]></dc:creator>
            <pubDate>Sat, 30 Nov 2024 20:30:50 GMT</pubDate>
            <atom:updated>2024-11-30T20:30:50.541Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deploy your first ML model on Kubernetes in 10 simple steps: A Practical Guide</h3><figure><img alt="A spaceship taking off Mars" src="https://cdn-images-1.medium.com/max/400/1*WoCvSnNoz7s9KTIIj1M5nA.png" /><figcaption>Just as space missions require the right tools, so does deploying machine learning models.</figcaption></figure><p>Machine learning at scale can be challenging, but Kubernetes simplifies the journey by automating resource management, container orchestration, and scaling. Whether you’re managing computationally intensive training jobs or deploying a model for real-time predictions, Kubernetes ensures smooth operations — even as traffic and model complexity grow.</p><p>This guide is aimed at Linux users, as that’s the most common and well-supported environment for Kubernetes and ML tools. If you’re not using Linux, you might want to grab a cup of coffee (or tea, depending on your preference) while you navigate through the “special” instructions for Windows or macOS. But don’t worry — there’s still hope for you,</p><p>In this guide, you’ll follow <strong>10 steps</strong> to deploy a machine learning model on Kubernetes using <strong>KServe</strong>, creating a robust and scalable platform for operationalizing your model. By the end, you’ll have a fully working setup, with your model deployed and accessible via a dynamically generated external URL, ready to serve real-time predictions. Let’s get started!</p><blockquote>Before you invest time in this guide, make sure that KServe supports your model type. As of v1 beta1 version 0.8, supported types are: Tensorflow, Pytorch, Scikit-learn, XGBoost, PMML, Spark MLlib, Lightgbm, Paddle. Find more information on supported types <a href="https://kserve.github.io/website/0.8/modelserving/v1beta1/serving_runtime/">here</a>.</blockquote><h3>Step 1: Set up a local Kubernetes cluster</h3><p>Kubernetes truly shines when you have multiple computers, called <strong>nodes</strong>, available to distribute the workload. This is almost always the case for commercial applications, where scalability, reliability, and high availability are key. Kubernetes allows you to manage clusters of nodes, ensuring that your applications run smoothly across multiple machines. In fact, cloud providers like <strong>Google Cloud (GKE)</strong>, <strong>Amazon Web Services (EKS)</strong>, and others offer <strong>managed Kubernetes services</strong>, which take care of setting up and managing the Kubernetes cluster for you. This makes it easier to focus on deploying and scaling your applications without worrying about infrastructure.</p><p>However, for the sake of understanding how Kubernetes works and for testing purposes, we’ll set up a <strong>local Kubernetes cluster</strong> using <strong>Minikube</strong>. This allows us to simulate the same environment on a single machine so you can learn how Kubernetes operates without needing access to a cloud provider or a multi-node setup. Once you’re comfortable with how it works locally, you can take your knowledge and scale it to larger, more robust setups in the cloud.</p><p>To install Minikube follow the official <a href="https://minikube.sigs.k8s.io/docs/start/?arch=%2Flinux%2Fx86-64%2Fstable%2Fbinary+download">Installation instructions</a></p><p>Then on a terminal execute the following command:</p><pre>minikube start --cpus=4 --memory=4096</pre><p>This command starts a Minikube Kubernetes cluster on your local machine, allocating resources to ensure smooth operation. It assigns 4 CPU cores to handle demanding workloads like running KServe for model serving. It also allocates 4 GB of memory to support Kubernetes and KServe, which require sufficient resources, especially for memory-intensive machine learning models. This ensures stable performance and avoids crashes or slowdowns. Feel free to adjust based on your available resources.</p><h3>2. Set Up Knative for Serverless ML Model Deployment in Kubernetes</h3><p>Knative is an open-source platform designed to enable <strong>serverless workloads</strong> on Kubernetes. With Knative, you can deploy applications without managing the underlying infrastructure. It dynamically scales your workloads based on demand, making it perfect for machine learning models with unpredictable traffic patterns.</p><p>Serverless computing with Knative allows you to focus entirely on your application code while the platform handles scaling, traffic routing, and load balancing. In this guide, we’ll use <strong>Knative Serving</strong>, which is specifically designed for deploying and scaling serverless applications. To enhance security, we’ll also set up <strong>Cosign</strong>, a tool for signing and verifying container images, ensuring that only trusted images are deployed in your cluster.</p><p>To begin, install Cosign to verify the authenticity of container images. This is especially important in production environments, where tampered or untrusted images can pose security risks. Use the following commands to install the latest version of Cosign:</p><pre>LATEST_VERSION=$(curl https://api.github.com/repos/sigstore/cosign/releases/latest | grep tag_name | cut -d : -f2 | tr -d &quot;v\&quot;, &quot;)<br>curl -O -L &quot;https://github.com/sigstore/cosign/releases/latest/download/cosign_${LATEST_VERSION}_amd64.deb&quot;<br>sudo dpkg -i cosign_${LATEST_VERSION}_amd64.deb</pre><p>Next, verify the integrity of the container images required by Knative Serving. This ensures that only trusted, unaltered images are deployed:</p><pre>curl -sSL https://github.com/knative/serving/releases/download/knative-v1.16.0/serving-core.yaml   | grep &#39;gcr.io/&#39; | awk &#39;{print $2}&#39; | sort | uniq   | xargs -n 1     cosign verify -o text       --certificate-identity=signer@knative-releases.iam.gserviceaccount.com       --certificate-oidc-issuer=https://accounts.google.com</pre><p>Now, install Knative Serving by applying its configuration files. Start by installing the <strong>Custom Resource Definitions (CRDs)</strong>:</p><pre>kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.16.0/serving-crds.yaml  </pre><p>CRDs allow Kubernetes to recognize and manage the custom resources Knative needs to handle serverless workloads. Without these definitions, Knative cannot function in your cluster.</p><p>Next, install the core components of Knative Serving:</p><pre>kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.16.0/serving-core.yaml  </pre><p>This configuration includes the essential services and controllers required to manage scaling, routing, and the lifecycle of your serverless applications.</p><p>With Knative Serving installed, your Kubernetes cluster is ready to manage serverless deployments.</p><h3>Step 3. Manage HTTPS certificates</h3><p>In production environments, secure HTTPS access is crucial to protect your APIs and data. Cert-Manager simplifies this by automating the issuance and renewal of <strong>SSL/TLS certificates</strong>, ensuring that your KServe model APIs are always encrypted and accessible over HTTPS without requiring manual intervention.</p><p>To install Cert-Manager, apply the following YAML configuration directly from the Cert-Manager GitHub repository:</p><pre>kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml</pre><p>This command deploys Cert-Manager components to your Kubernetes cluster, enabling seamless certificate management for your applications. Once installed, Cert-Manager handles certificate provisioning and renewal automatically, ensuring that your APIs are always secure and compliant with encryption standards.</p><p>With Cert-Manager in place, you can focus on deploying and scaling your ML models, confident that secure HTTPS access is reliably managed.</p><h3>Step 4. Configure Networking</h3><p>For Knative Serving to function properly, you need to configure a networking layer to manage how traffic flows to and from your applications or machine learning models. This layer ensures reliable request routing, load balancing, and secure communication. We’ll use <strong>Istio</strong>, a powerful service mesh, to handle these tasks.</p><p>To set up Istio, run the following commands:</p><pre>kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.16.0/istio.yaml</pre><p>This command installs Istio, which provides features such as traffic routing, load balancing, and security through encryption. Istio ensures that traffic is directed to the correct services, even as workloads scale up or down dynamically.</p><p>Next, configure Knative Serving to integrate with Istio:</p><pre>kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.16.0/net-istio.yaml</pre><p>With Istio and Knative set up, your machine learning models (or any other applications) will have a reliable way to handle incoming requests, even as the number of requests grows or shrinks. This setup also ensures your models are securely accessible, which is really important when working in a production environment.</p><h3>Step 5. Install KServe for Model Serving</h3><p>KServe is a powerful tool for deploying and managing machine learning models on Kubernetes. It leverages Knative Serving to provide <strong>serverless</strong>, <strong>scalable</strong>, and <strong>secure model inference services</strong>, simplifying the complexities of production-grade ML deployment.</p><p>To install the latest version of KServe (v0.14.0), run the following command:</p><pre>kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.14.0/kserve.yaml</pre><blockquote><strong>Pitfall</strong>: Due to a reported <a href="https://github.com/kserve/kserve/issues/3487">bug</a>, if the above command shows the error message</blockquote><blockquote>The CustomResourceDefinition “inferenceservices.serving.kserve.io” is invalid: metadata.annotations: Too long: must have at most 262144 bytes</blockquote><blockquote>that means that not all CRDs were applied successfully. Unfortunately this causes issues down the road. To circumvent this, I first installed the previous version: v.0.13.1 and then installed v0.14.0 on top of it, thus only updating part of the configuration. Note that this is a permanent workaround. Refer to the official KServe github or the official documentations for an updated solution.</blockquote><p>Once KServe is installed, apply the necessary <strong>cluster resources</strong>. These resources enable KServe to manage <strong>InferenceService</strong> objects effectively, which are the backbone for serving ML models:</p><blockquote>NOTE: you might need to wait a few seconds between applying this command. Retry until no errors are shown.</blockquote><pre>kubectl apply -f https://github.com/kserve/kserve/releases/download/v0.14.0/kserve-cluster-resources.yaml</pre><h3>Step 6. Assign a public IP to your cluster</h3><p>To access your services or model endpoints from outside the Minikube cluster, you need to simulate a production-like <strong>LoadBalancer</strong> environment. This allows for seamless development and testing of external-facing services, such as KServe model inference endpoints.</p><p>Open a new console tab, and run the <strong>Minikube tunnel</strong> command:</p><pre>minikube tunnel</pre><p>This command creates a network tunnel, enabling access to LoadBalancer services in Minikube. It’s particularly useful for testing model endpoints in KServe, where external access is critical for validating inference requests and integrations. Let the tunnel open and navigate back to your main console tab.</p><p>Next, retrieve the <strong>external IP </strong>and port details of the Istio Ingress Gateway:</p><pre>kubectl get svc istio-ingressgateway -n istio-system</pre><p>The Istio Ingress Gateway is responsible for routing external traffic to the appropriate services within the cluster. The external IP and port it exposes are essential for interacting with your deployed KServe models.</p><p>To simplify access, set up environment variables for the external IP and port using the following commands:</p><pre>export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath=&#39;{.status.loadBalancer.ingress[0].ip}&#39;)<br>export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath=&#39;{.spec.ports[?(@.name==&quot;http2&quot;)].port}&#39;)</pre><ul><li><strong>INGRESS_HOST</strong> stores the external IP of the Istio Ingress Gateway.</li><li><strong>INGRESS_PORT</strong> stores the port configured for HTTP/2 traffic.</li></ul><p>These environment variables make it easier to reference the external address when testing your model endpoints. For example, you can construct the URL for an inference request as:</p><pre>http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/&lt;model-name&gt;:predict  </pre><p>With these steps, your Kubernetes cluster is now accessible from outside, allowing comprehensive testing of your deployed models in a real-world setup.</p><h3><strong>Step 7.</strong> Make your AI model accessible</h3><p>Before proceeding with uploading your model, you’ll need to install MinIO. MinIO is an S3-compatible object storage service that can be used for storing your machine learning models. You can install MinIO by following the official instructions:</p><ol><li>Visit the MinIO documentation for installation: <a href="https://min.io/docs/minio/linux/operations/installation.html">MinIO Installation Guide</a></li><li>Follow the instructions to download and install MinIO on your local machine or server.</li><li>After launching MinIO, you will see a message that includes your <strong>MinIO endpoint</strong> and <strong>credentials</strong>. These credentials are crucial for interacting with MinIO from your script.</li></ol><p>Once MinIO is installed and running, you will use the endpoint, access key, and secret key provided to upload your model.</p><blockquote>If you don’t yet have a model of your own or want to replicate the steps shown in the rest of the guide as closely as possible, you might want to use the scikit-learn’s iris RandomForest model trained on the Iris dataset. You can easily download the trained model with <em>curl -o trained_model.pkl </em><a href="http://example.com/iris_model.pkl"><em>http://example.com/iris_model.pkl</em></a></blockquote><p>To upload your trained model to MinIO, an S3-compatible object storage solution, you can use the following Python script. This script uses the boto3 library to interact with MinIO. You can install boto3 with <em>pip install boto3 </em>within your virtual environment</p><pre># upload_model_to_minio.py<br>import boto3<br>import os<br><br>def upload_model_to_minio(path_to_model, minio_endpoint, access_key, secret_key):<br>    print(&#39;Deploying model with KServe...&#39;)<br>    <br>    # Set up MinIO client with provided credentials<br>    s3 = boto3.resource(<br>        &#39;s3&#39;,<br>        endpoint_url=minio_endpoint,<br>        aws_access_key_id=access_key,<br>        aws_secret_access_key=secret_key<br>    )<br>    <br>    # Define your bucket and key for the model<br>    bucket_name = &#39;models&#39;<br>    s3_key = os.path.basename(path_to_model)<br>    <br>    # Check if the bucket exists, if not, create it<br>    bucket = s3.Bucket(bucket_name)<br>    if not bucket.creation_date:<br>        print(f&quot;Bucket &#39;{bucket_name}&#39; doesn&#39;t exist. Creating it now...&quot;)<br>        bucket = s3.create_bucket(Bucket=bucket_name)<br>    <br>    # Upload the model to MinIO<br>    print(f&quot;Uploading model from {path_to_model} to {bucket_name}/{s3_key}&quot;)<br>    bucket.upload_file(path_to_model, s3_key)<br>    print(&quot;Upload completed.&quot;)<br>    <br># Example usage<br>upload_model_to_minio(<br>    path_to_model=&#39;path_to_your_model/model_trained.pkl&#39;,  # Path to your model file<br>    minio_endpoint=&#39;http://&lt;MINIO-ENDPOINT&gt;:9000&#39;,  # Replace with your MinIO endpoint<br>    access_key=&#39;&lt;MINIO-ACCESS-KEY&gt;&#39;,  # Replace with your MinIO access key<br>    secret_key=&#39;&lt;MINIO-SECRET-KEY&gt;&#39;  # Replace with your MinIO secret key<br>)</pre><p>This script checks if the bucket models exists and creates it if necessary. It then uploads your AI model file to MinIO under the specified key (model_trained.pkl). Once the model is uploaded, you can deploy it with KServe, and with Magic DNS enabled, you can access your model through the dynamically generated URL, making it easier to test and integrate.</p><h3>Step 8. Control access to your model</h3><p>To make your AI model accessible via an external URL and ensure secure access to it, you need to configure Knative for dynamic domain names and upload your model to object storage like MinIO. The following steps guide you through this process, allowing you to control who can access your model and ensure its security.</p><p>To enable Magic DNS, you’ll need to configure Knative’s domain settings. Start by editing the <strong>ConfigMap</strong> for domain configuration in Knative:</p><pre>kubectl edit cm config-domain --namespace knative-serving</pre><p>This opens the configuration file in an editor. In the data section, add an entry like this:</p><pre>{{external-ip}}.xip.io: |</pre><p>Replace {{external-ip}} with the actual external IP of your cluster (INGRESS_HOST). This configuration will route external requests to the appropriate services using the dynamic URL &lt;external-ip&gt;.xip.io, which simplifies testing Knative services in local environments like Minikube where a dedicated domain name may not be available.</p><p>First, isolate your KServe deployments by creating a dedicated namespace for your testing environment. This helps with organization and ensures that your testing and production resources are kept separate:.</p><pre><br>kubectl create namespace kserve-test</pre><p>This creates a namespace named kserve-test, where your KServe deployments will reside.</p><p>Next, create a secret and service account to manage access to your object storage (MinIO). The secret will store the access keys for interacting with MinIO, and the service account will reference the secret to authenticate and access the storage.</p><p>Here’s how to set up the secret and service account:</p><p>Create a <em>kserve-minio-secret_manual.yaml </em>with the following contents</p><pre><br>apiVersion: v1<br>kind: Secret<br>metadata:<br>  name: minio-kserve-secret<br>  namespace: kserve-test<br>  annotations:<br>    serving.kserve.io/s3-endpoint: &quot;&lt;MINIO-ENDPOINT&gt;:9000&quot;  # Replace with your MinIO endpoint<br>    serving.kserve.io/s3-usehttps: &quot;0&quot;     # Adjust for HTTP/HTTPS usage<br>    serving.kserve.io/s3-useanoncredential: &quot;false&quot;<br>type: Opaque<br>stringData:<br>  AWS_ACCESS_KEY_ID: &quot;&lt;MINIO-ACCESS-KEY&gt;&quot;  # Replace with your AWS access key for MinIO<br>  AWS_SECRET_ACCESS_KEY: &quot;&lt;MINIO-SECRET-KEY&gt;&quot;  # Replace with your AWS secret key for MinIO<br>---<br>apiVersion: v1<br>kind: ServiceAccount<br>metadata:<br>  name: sa-minio-kserve<br>  namespace: kserve-test<br>secrets:<br>- name: minio-kserve-secret</pre><p>And apply it with</p><pre>kubectl apply -n kserve-test -f kserve-minio-secret_manual.yaml</pre><p>In the Secret resource:</p><ul><li><strong>serving.kserve.io/s3-endpoint</strong> should be replaced with your MinIO endpoint. <strong>Pitfall: Do NOT preface it with “http://” or “https://”</strong></li><li><strong>AWS_ACCESS_KEY_ID</strong> and <strong>AWS_SECRET_ACCESS_KEY</strong> store your MinIO credentials.</li></ul><p>The ServiceAccount resource allows your Kubernetes services to use this secret for authentication when interacting with MinIO.</p><p>This setup ensures that only the services within the kserve-test namespace can access your model stored in MinIO, providing a secure way to manage access to your machine learning models in Kubernetes.</p><h3>Step 9. Deploy your AI Model</h3><p>To deploy your AI model with KServe, you will define an InferenceService in Kubernetes. This service handles the deployment of your model and provides an endpoint for predictions.</p><p>Here’s how to apply the configuration for your model:</p><pre>kubectl apply -n kserve-test -f - &lt;&lt;EOF<br>apiVersion: &quot;serving.kserve.io/v1beta1&quot;<br>kind: &quot;InferenceService&quot;<br>metadata:<br>  name: &quot;my-awesome-model&quot;<br>  namespace: &quot;kserve-test&quot;<br>  annotations:<br>    serving.kserve.io/s3-endpoint: &quot;http://TODO:9000&quot;  # Replace with your MinIO endpoint<br>spec:<br>  predictor:<br>    serviceAccountName: &quot;sa-minio-kserve&quot;<br>    sklearn: # You may need to adjust this section for other model types<br>      storageUri: &quot;s3://models/model_trained.pkl&quot;  # Path to your model in MinIO<br>      resources:<br>        limits:<br>          cpu: 100m<br>          memory: 2Gi<br>        requests:<br>          cpu: 100m<br>          memory: 2Gi<br>EOF</pre><p>In this YAML configuration:</p><ul><li><strong>metadata.name</strong>: The name of your model&#39;s inference service (e.g., my-awesome-model).</li><li><strong>annotations.serving.kserve.io/s3-endpoint</strong>: Replace TODO:9000 with the actual MinIO endpoint URL.</li><li><strong>spec.predictor.sklearn.storageUri</strong>: This points to the location of your model in the object storage (MinIO).</li><li><strong>resources.limits and </strong><strong>resources.requests</strong>: These specify the CPU and memory resources for your model.</li></ul><p>Once applied, Kubernetes will use KServe to deploy your model and provide an inference endpoint.</p><p>To check the status of your deployed model, use the following commands:</p><pre>kubectl get inferenceservices my-awesome-model -n kserve-test<br>kubectl describe inferenceservice my-awesome-model -n kserve-test<br>kubectl get revisions -n kserve-test</pre><ul><li><strong>kubectl get inferenceservices</strong>: This shows the current status of your InferenceService.</li><li><strong>kubectl describe inferenceservice</strong>: Provides detailed information about your model’s deployment, including any errors or issues.</li><li><strong>kubectl get revisions</strong>: Lists the revisions for the model, useful for monitoring updates or rollbacks.</li></ul><h3>Step 10. Send queries to model</h3><p>Once your model is deployed, you can send queries (inference requests) to it. To do this, you’ll first need to extract the service’s hostname and then use it in a curl command to make a prediction request.</p><p>Start by setting the service’s hostname. This will allow you to properly route requests to the correct model:</p><pre>export SERVICE_HOSTNAME=$(kubectl get inferenceservice my-awesome-model -n kserve-test -o jsonpath=&#39;{.status.components.predictor.url}&#39; | sed &#39;s|http://||&#39;)</pre><blockquote>Host must be of format: my-awesome-model-predictor.kserve-test.{external_ip}.xip.io</blockquote><p>This command retrieves the InferenceService&#39;s hostname, which is used to make HTTP requests to the model&#39;s prediction endpoint. The sed command removes the http:// part of the URL to use only the hostname for routing.</p><p>Next, send a prediction request to your model by using the curl command. Replace the placeholder ${INGRESS_HOST} and ${INGRESS_PORT} with your external IP and port details from Istio:</p><pre>curl -X POST &quot;http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/my-awesome-model:predict&quot; \<br>-H &quot;Host: ${SERVICE_HOSTNAME}&quot; \<br>-H &quot;Content-Type: application/json&quot; \<br>-H &quot;User-Agent: PostmanRuntime/7.42.0&quot; \<br>-H &quot;Accept: */*&quot; \<br>--data &#39;{<br>    &quot;instances&quot;: [<br>        [6.8, 2.8, 4.8, 1.4],<br>        [6.0, 3.4, 4.5, 1.6]<br>    ]<br>}&#39;</pre><p>In this request:</p><ul><li><strong>http://${INGRESS_HOST}:${INGRESS_PORT}/v1/models/my-awesome-model:predict</strong>: This is the URL for the model’s prediction API, with the ingress host and port configured earlier.</li><li><strong>-H &quot;Host: ${SERVICE_HOSTNAME}&quot;</strong>: The Host header ensures the request is routed to the correct service.</li><li><strong>--data</strong>: Contains the input data for the model, in this case, two sets of feature values.</li></ul><p>This will send the data to your model, and you’ll receive the prediction response in the output. This process demonstrates how you can easily interact with a machine learning model deployed using KServe on Kubernetes.</p><p>And to query the model under <a href="https://kserve.github.io/website/0.8/modelserving/inference_api/">Kserve v2 inference protocol</a> you can instead use:</p><pre>curl -X POST &quot;http://${INGRESS_HOST}:${INGRESS_PORT}/v2/models/my-awesome-model/infer&quot; \<br>-H &quot;Host: ${SERVICE_HOSTNAME}&quot; \<br>-H &quot;Content-Type: application/json&quot; \<br>-d &#39;{<br>  &quot;inputs&quot;: [<br>    {<br>      &quot;name&quot;: &quot;input0&quot;,<br>      &quot;shape&quot;: [3, 4],<br>      &quot;datatype&quot;: &quot;FP32&quot;,<br>      &quot;data&quot;: [<br>        [6.8, 2.8, 4.8, 1.4],<br>        [6.0, 3.4, 4.5, 1.6],<br>        [5.1, 3.5, 1.4, 0.2]<br>      ]<br>    }<br>  ]<br>}&#39;</pre><h3>You did it!</h3><p>Congratulations! You’ve successfully set up a scalable and efficient machine learning deployment using Kubernetes and KServe. By following these steps, you’ve learned how to manage your models, expose them for inference, and ensure secure access, all while leveraging the power of Kubernetes. Whether you’re testing locally with Minikube or scaling up in a production environment, you’ve unlocked the potential to take your machine learning workflows to the next level. Now go ahead, make predictions, iterate, and continue exploring the vast possibilities of deploying AI models at scale. <strong>A big thank you to the open-source community</strong> for providing the tools, resources, and inspiration that made this guide possible — your contributions make the world of machine learning accessible to all. Happy modeling, and may your deployments always be smooth and your models always accurate!</p><p><strong>Sources</strong>:</p><ul><li><a href="https://kserve.github.io/website/master/get_started/first_isvc/">First InferenceService</a></li><li><a href="https://min.io/docs/minio/linux/index.html">MinIO Object Storage for Linux</a></li><li><a href="https://minikube.sigs.k8s.io/docs/">Welcome!</a></li><li><a href="https://kserve.github.io/website/0.8/modelserving/inference_api/#httprest">V2 Inference Protocol - KServe Documentation Website</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=697ee3777239" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>